using an arduino to automate my antenna switching - anyone done this before?
- Replies 1
- Views 11
- Created
- Last Reply
Top Posters In This Topic
-
Emily Wilson37 1 post
-
Linda Chen 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
so ive been messing around with this idea for a few weeks now and finally got something working well enough to talk about. basically i have a hexbeam and a couple verticals out back and switching between them manually is kind of a pain especially when im in the middle of a pileup and need to quickly jump between HF and 40m vertical. the shack PC already runs flrig so i figured why not get an arduino in the loop to handle the relay switching based on band data coming from the radio.
i went with an arduino mega because i needed the extra GPIO pins and didnt want to deal with multiplexing. wrote a simple sketch that listens on the serial port for CAT data, parses the band, and then fires the appropriate relay. added a small oled display from an old project just to show which antenna is active. worked first try which honestly surprised me.
the relay board is just one of those 8 channel jobbies from amazon, 5v coils so it plays nice with the mega without a level shifter. only thing i ran into is the relay switching transients were causing the arduino to reset occasionally - ended up putting a 100uf cap across the 5v rail on the arduino side and that seems to have fixed it mostly. might add a small ferrite on the power leads too.
anyway if anyones done something similar id love to see how you handled the interfacing side. also wondering if anyone has switched to a pi for this kind of thing instead - seems like overkill for just relay switching but i know some people run wsjtx or JS8Call on a pi so maybe bundling it all makes sense
Link to comment
https://www.hamradiobase.com/forums/topic/8349-using-an-arduino-to-automate-my-antenna-switching-anyone-done-this-before/Share on other sites