using arduino to automate my antenna switch - anyone done this?
- Replies 1
- Views 4
- Created
- Last Reply
Top Posters In This Topic
-
James Wilson94 1 post
-
Jennifer Rodriguez 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 control my 4-port coax switch automatically based on what band the radio is on. the idea is to pull the band data off the CI-V bus from my IC-7300 and then have the arduino decode that and fire the right relay. in theory its pretty simple but im running into some weirdness with the serial parsing and im not sure if its a timing issue or if im just reading the CI-V packets wrong.
the relay board im using is one of those cheap 8-channel ones from amazon, 5v coils, and it seems to work fine when i just hardcode which relay to trigger. the issue is specifically with the CI-V reading part. ive got it pulling data over a MAX3232 level shifter but every so often it seems to drop bytes and then the band decode goes completely wrong and it tries to switch to the wrong antenna.
anyone done something similar? or honestly any CI-V over arduino project would be helpful to look at. ive been at this for like 3 weekends and its starting to get frustrating. also wondering if a raspberry pi would have been a better choice for this kind of thing but i feel like the arduino should be able to handle it, its not that complicated
Link to comment
https://www.hamradiobase.com/forums/topic/7014-using-arduino-to-automate-my-antenna-switch-anyone-done-this/Share on other sites