Skip to content
View in the app

A better way to browse. Learn more.

Ham Radio Base -Powered By Ham CQ DX

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Solar
SFI 147
SN 141
A 10
K 2 Quiet
X-Ray C1.0
Wind 479.8 km/s
Aurora 2
Updated 22:30 UTC HamQSL · N0NBH
Day 80/40m Fair 30/20m Good 17/15m Good 12/10m Fair
Night 80/40m Good 30/20m Good 17/15m Good 12/10m Poor

Callsign Lookup
_
Vanity Call Signs Available
Enter filters above and click Search.
ⓘ Callsign lookups are in real time via the FCC database. Vanity callsign availability is refreshed daily at 6:00 AM CST. The vanity search may be unavailable for a few minutes during this update.
Live DX spots
Live DX Spots — 70cm via PSKReporter · scroll or pinch to zoom
Band
Mode
Time
Loading map data…
MHz DX Spotter Info
Recent spots
Select a band above to load spots
Ready — select a band to fetch live spots

using arduino to automate my rig switching — anyone done this?

 Loading...

so ive been messing around with an arduino mega for the past few weeks trying to get it to handle antenna switching and also trigger PTT on my IC-7300 when i key up on one of my other radios through a digi mode interface. the problem im running into is the timing is just slightly off, like maybe 20-30ms delay before PTT actually fires and on FT8 that window is tight enough that im dropping the first part of my transmission.

ive got a relay board connected to pin 7 and im using a simple digitalWrite with a small capacitor on the relay coil to reduce the back EMF but i dont know if thats actually helping or making things worse honestly. the code is pretty basic, just watching for a voltage change on an analog pin and then triggering the relay. thought about switching to hardware interrupts instead of polling but havent gone down that rabbit hole yet.

anyone done something similar? also thinking about swapping in a raspberry pi 4 so i could run js8call and handle all the switching logic in python but not sure if thats overkill for what im trying to do

  • Replies 1
  • Views 13
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah the polling loop is almost certainly your problem. if your loop has any delays in it at all, even a delay(1) somewhere, that adds up fast. switch to hardware interrupts on one of the dedicated interrupt pins, 2 or 3 on the mega, and you'll get your response time down to microseconds instead of whenever the loop decides to check. i did something similar for a remote antenna tuner controller and the difference was night and day.

the cap on the relay coil is fine by the way, thats standard flyback protection, wont cause timing issues. you probably also want a snubber diode across the coil if you havent already, 1N4007 works fine. as for the pi vs arduino question — i run both actually, arduino handles all the real-time stuff like PTT and switching, pi handles the higher level stuff like running wsjt-x and logging. they talk over USB serial. that way you get the best of both, the arduino doesnt care if linux hiccups for half a second

i tried doing everything on a pi 3 once and the latency was killing me too, linux just isnt real time unless you run a RT kernel patch and thats its own whole headache. ended up keeping the pi for the interface and shoved an arduino nano in between for anything timing critical. works pretty well now most of the time. also fwiw the 7300 has CI-V so depending on what youre trying to do you might be able to just send commands directly and not need hardware PTT at all, might be worth looking into

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.