using arduino to automate antenna switching — anyone done this?
- Replies 1
- Views 143
- Created
- Last Reply
Top Posters In This Topic
-
Sarah Thomas 1 post
-
Lisa Garcia 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 an arduino mega for the past few weeks trying to get it to handle antenna switching based on what band my radio is on. the radio is a ts-590sg and it outputs band data on the accessory port which is nice. got the basic logic working where it reads the voltage levels and drives some relays but the timing is all messed up — like sometimes it switches before the radio has actually settled on the new frequency and i get this ugly pop through the audio.
im using a 4 relay module i grabbed off amazon, nothing fancy, and just standard digitalWrite stuff in the loop. wondering if anyone has done something similar and whether adding some debounce delay actually helped or if theres a smarter way to do it. ive seen people mention interrupts but honestly my interrupt experience is pretty limited and i dont want to overcomplicate this if a simple delay(50) or whatever would just fix it.
also considering moving this over to a raspberry pi zero at some point just because it would be easier to add a little web interface for remote monitoring but not sure if the latency on the pi would make the timing even worse. any thoughts from people who have actually built stuff like this would be appreciated
Link to comment
https://www.hamradiobase.com/forums/topic/856-using-arduino-to-automate-antenna-switching-anyone-done-this/Share on other sites