using a pi zero to automate my antenna switching — anyone done something similar?
- Replies 1
- Views 38
- Created
- Last Reply
Top Posters In This Topic
-
Jennifer Davis 1 post
-
Ashley Wilson 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 while now and finally started putting something together. basically i want the pi zero to handle antenna switching based on what band i select on the radio, reading the band data output from my ic-7300 via the acc port. the idea is that it talks to a relay board over gpio and just... switches the antenna automatically without me having to reach over and flip anything manually.
ive got the ci-v stuff mostly figured out, im using a little python script to poll the rig and parse the band data, that part actually works pretty well. the problem is the relay board im using has some weird timing issues where it'll sometimes latch in a bad state if the script crashes or reboots unexpectedly. trying to figure out if i should be using a watchdog timer or if there's a smarter way to handle the fail-safe situation. ideally i want the default state to go back to my dipole if anything goes sideways.
anyone done anything like this? even just partial setups would be helpful. im running raspbian lite, nothing fancy, and using a sainsmart 8 channel relay board that i had laying around from a different project.
Link to comment
https://www.hamradiobase.com/forums/topic/5929-using-a-pi-zero-to-automate-my-antenna-switching-anyone-done-something-similar/Share on other sites