using arduino to automate antenna switching — am i overcomplicating this
Loading...
- Replies 1
- Views 21
- Created
- Last Reply
Top Posters In This Topic
-
James Holloway 1 post
-
Jessica Davis21 1 post
so ive been messing around with an arduino uno for the past couple weeks trying to build a simple antenna switch controller. the idea is pretty straightforward — i have 4 antennas and i want the arduino to read which band the radio is on via the band data output on the back of the IC-7300 and then automatically key the right relay to connect that antenna. in theory super simple right.
the problem is im not sure if im overthinking the whole thing. right now ive got a relay board hooked up and it works fine when i manually send commands over serial but getting the band data lines decoded reliably is being a pain. the 7300 outputs like a 4 bit BCD signal i think and im reading it fine but theres occasional glitching where it'll briefly show the wrong band during a QSY and the relay fires for a half second before correcting. nothing is damaged but i could see that being an issue with an amp in line eventually.
has anyone done something similar and figured out a decent debounce or delay approach that doesnt cause a noticeable lag when you actually switch bands? i tried just putting a 200ms delay before acting on a new band reading but that feels sloppy. also wondering if a pi would be better for this just because i could run some logging on the side too but seems like overkill for what is basically a relay controller
Link to comment
https://www.hamradiobase.com/forums/topic/3519-using-arduino-to-automate-antenna-switching-am-i-overcomplicating-this/Share on other sites