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 128
SN 73
A 6
K 1 Quiet
X-Ray B9.3
Wind 401.6 km/s
Aurora 2
Updated 00:00 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 antenna rotator — anyone done this?

so ive been sitting on this idea for a while now and finally started messing around with it last weekend. basically i want to use an arduino mega to replace the control box on my old CDE Ham-IV rotator. the stock controller works fine but its analog and i want to be able to drive it from my PC for satellite work, maybe tie it into gpredict eventually.

i found a few projects online that use an H-bridge to drive the rotator motor and read the azimuth pot with one of the analog pins, which seems straightforward enough. my concern is the pot in the Ham-IV puts out something like 0-500 ohms across the full rotation and im not sure how to scale that properly to get accurate readings — do i need a voltage divider or can i just wire it straight into the analog input? i know the arduino ADC wants 0-5v so im guessing i need to condition the signal somehow.

also thinking about adding a Raspberry Pi 4 to run a web interface so i can control everything from my phone when im out in the garage. has anyone stacked a pi and arduino together for something like this? seems like the pi handles the high level stuff and the arduino does the real-time motor control, which makes sense to me but maybe im overcomplicating it.

  • Replies 1
  • Views 100
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done almost exactly this with a T2X rotator a couple years back. the pot thing — you definitely need a voltage divider, dont wire it straight in. what i did was put a 1k resistor in series with the pot and then tap the wiper through another resistor to ground to form a proper divider that keeps everything under 5v. you'll want to map() the ADC readings in your sketch to get degrees out, takes a bit of calibration but once its done its solid.

the pi + arduino combo works great for this kind of thing. i run hamlib on the pi side and have a small flask app that exposes an endpoint, arduino just listens on serial for azimuth commands and sends back position. latency is completely fine for satellite tracking, gpredict talks to hamlib and the whole chain works. only gotcha is make sure your serial baud rate is high enough and you flush the buffer properly or you get stale position readings which will drive you nuts trying to debug.

the Pi and Arduino combo is probably more than you need honestly but it does make the web interface part way easier so i get why you'd go that route. one thing i'd throw out there — if the Ham-IV motor is the original one those things can pull a fair bit of current when starting up so make sure whatever H-bridge you're using is rated for it. i fried a L298N module the first time i tried something similar, those little blue modules off amazon are not as robust as the datasheet implies. went to a Pololu high-current driver after that and no more problems.

Guest
Reply to this topic...

Affiliate Disclosure: As an Amazon Associate, Ham Radio Base earns from qualifying purchases. Some links throughout this website may be affiliate links. If you purchase a product through one of these links, we may earn a commission at no additional cost to you. Your support helps us continue creating free articles, tutorials, reviews, and resources for the amateur radio community. N0TLB © Ham Radio Base - Powered by the Ham CQ DX Community. All rights reserved.

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.