- Replies 1
- Views 34
- Created
- Last Reply
Top Posters In This Topic
-
David Chen 1 post
-
Gary Mitchell 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 pi zero W for a few weeks now trying to get it to pull WSPR spot data from wsprnet and log it locally whenever my rig is running. the idea is pretty simple, just a python script that polls the API every few minutes and dumps it into a sqlite database with timestamps and band info. i also want it to trigger a relay when conditions on 10 or 12 meters look good based on spot density from like DX stations, kind of a poor mans band condition indicator.
the relay part is where i started running into weirdness. im using one of those cheap 4-channel relay boards from amazon and the logic levels are all over the place — the pi zero GPIO is 3.3v but the relay board wants 5v to trigger reliably. i threw in a transistor to level shift it but honestly im not sure i did it right because one of the channels fires when it shouldnt. might just be floating inputs, havent totally figured it out yet.
has anyone done something similar or have a cleaner way to handle the relay triggering from a 3.3v GPIO? and also curious if anyone has played with wsjtx remote or similar to actually see what mode the rig is in and only log when its in WSPR mode specifically.
Link to comment
https://www.hamradiobase.com/forums/topic/1724-using-a-pi-zero-to-log-wspr-spots-automatically-anyone-done-this/Share on other sites