using a pi zero to automate my antenna switch — anyone done this?
- Replies 1
- Views 108
- Created
- Last Reply
Top Posters In This Topic
-
Contest Fan 1 post
-
Emily Zhang 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 a raspberry pi zero w for the past few weeks trying to get it to handle antenna switching based on what band im on. the idea is it reads the band data output from my ic-7300 (the one on the back, acc port i think) and then fires the appropriate relay to route the coax to whichever antenna makes sense. right now i have 4 antennas and im sick of manually swapping things around especially during contests when im moving bands fast.
i got the basic python script talking to the serial port fine and i can read the CI-V data no problem, wrote a little loop that polls it every half second or so. the part im stuck on is the relay board. i picked up one of those 8 channel 5v relay modules off amazon and when i try to drive it from the pi gpio the relays kind of half-trigger sometimes, like i can hear them click but they dont always latch properly. wondering if its a power issue or if i need to add transistors or something between the gpio and the relay coils. the module has a VCC and a JD-VCC jumper and im honestly not 100% sure i have that set up right.
anyone gone down this road before? im comfortable with basic electronics but i dont have a ton of experience with driving inductive loads from gpio pins
Link to comment
https://www.hamradiobase.com/forums/topic/1494-using-a-pi-zero-to-automate-my-antenna-switch-anyone-done-this/Share on other sites