using a pi zero to automate my station logging and antenna switching - anyone else gone down this rabbit hole?
- Replies 1
- Views 25
- Created
- Last Reply
Top Posters In This Topic
-
QRP Guy 1 post
-
Priya Patel 1 post
so ive been messing around with a raspberry pi zero w for the past few months trying to get it to handle some of the repetitive stuff in my shack - mainly automatic antenna switching based on band and logging contacts to a sqlite database without having to touch the keyboard every time i change bands. got it mostly working but i keep running into weird timing issues where the relay board doesnt always respond on the first command and i have to send it twice.
the relay board is one of those cheap 8-channel SainSmart things off amazon, running off 5v, and im controlling it through GPIO with a little python script. the zero is also pulling band data from my IC-7300 over USB using rigctld so maybe thats causing some kind of resource contention thing? idk. the zero only has that one USB port so everything is going through a hub.
anyway the actual antenna switching part works great when it works, i have a 4-square for 40m and a yagi for 20 and 15, so being able to just tell the pi what band im on and have it key the right relay is honestly kind of magical once it all clicks. just frustrated by the flaky relay response. wondering if anyone else has built something like this and whether i should just swap to an arduino mega for the actual relay control and keep the pi for the higher level logic stuff.
Link to comment
https://www.hamradiobase.com/forums/topic/7210-using-a-pi-zero-to-automate-my-station-logging-and-antenna-switching-anyone-else-gone-down-this-rabbit-hole/Share on other sites