using a pi zero to automate my antenna switching — anyone done this?
- Replies 1
- Views 52
- Created
- Last Reply
Top Posters In This Topic
-
Karen Johnson 1 post
-
Emily White 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 a few weeks now trying to get it to handle my antenna switching automatically based on band selection from my radio. the idea is pretty straightforward — the radio sends band data out over a serial port (its a kenwood so it uses the AI command to broadcast frequency) and i want the pi to read that, figure out what band im on, and then trigger the right relay to switch between my yagi and my wire antennas.
i got the serial reading part working fine, python script runs on boot no problem. the issue im running into is the relay board. i have one of those 8 channel relay modules from amazon and i cant figure out why two of the channels seem to be triggering inverted — like they energize when i send a LOW instead of HIGH to the gpio pin. the other 6 work exactly how i expected. already checked my code like three times and the wiring looks right to me but im probably missing something dumb.
also wondering if anyone has done something similar and whether the pi zero is fast enough for this or if i should have just used an arduino. latency probably doesnt matter much here but curious what others think.
Link to comment
https://www.hamradiobase.com/forums/topic/5630-using-a-pi-zero-to-automate-my-antenna-switching-anyone-done-this/Share on other sites