using a pi zero to automate my shack logging and rig control - anyone else gone down this rabbit hole
- Replies 1
- Views 20
- Created
- Last Reply
Top Posters In This Topic
-
QRP Guy 1 post
-
Amanda Anderson 1 post
so i've been slowly turning my shack into something that would probably look insane to anyone who walked in cold. started about 8 months ago with just wanting the pi to pull spotting data from the cluster and display it on a little screen near the rig, simple enough right. well now i've got a pi zero W running hamlib over a USB serial adapter to control my 7300, a second pi 4 running a full logging setup with cloudlog, and an arduino mega in the middle of all of it handling antenna switching based on band changes from the radio.
the arduino part is where it gets interesting and also where i keep running into weird timing issues. basically i'm reading the band data output from the 7300 via hamlib, sending that over to the arduino on a serial connection, and then the arduino is driving a set of relays for my homebrew antenna switch. works great probably 90% of the time but sometimes on rapid QSY it'll just... not switch. or it'll switch to the wrong antenna and then correct itself a second later. i dont think its a hamlib polling speed thing because ive bumped up the poll rate and it didnt really help. wondering if its something in my arduino code where im not debouncing or waiting long enough before acting on the new band data.
anyone doing something similar or have thoughts on the timing side of this? im not a software guy by trade so my code is probably embarrassingly bad but it works mostly
Link to comment
https://www.hamradiobase.com/forums/topic/7232-using-a-pi-zero-to-automate-my-shack-logging-and-rig-control-anyone-else-gone-down-this-rabbit-hole/Share on other sites