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 B7.8
Wind 387.9 km/s
Aurora 3
Updated 01: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 messing around with an old prop pitch motor setup for a while now and the controller i built is functional but its basically just a manual pot and some relays, nothing fancy. started thinking it would be pretty cool to tie an arduino into it so i could just type in a heading and have it go there automatically instead of watching a needle and guessing.

i found a few projects online doing something similar but most of them are using the yaesu GS-232 protocol which is fine i guess but i dont really need all that, im not doing any EME or anything where i need sub-degree accuracy. just want to point a yagi roughly at something and have it stop there without me babysitting it.

anyone done something like this? im decent with arduino, built a few things with it already, have a nano and a couple unos sitting around. main thing im trying to figure out is the feedback side - right now i have a pot on the rotator shaft but im not sure how linear it actually is across the full 360 and whether that matters much if im only aiming for like plus or minus 5 degrees accuracy.

also considering swapping the arduino out for a pi zero at some point so i could run a little web interface from it but thats probably overcomplicating things for now

  • Replies 1
  • Views 95
  • Created
  • Last Reply

Top Posters In This Topic

Featured Replies

yeah done almost exactly this about two years ago, its totally doable and honestly not that complicated once you wrap your head around the feedback loop. the pot linearity thing is real but in practice if you calibrate at like 4 or 5 known headings and do a simple interpolation in the code its more than good enough for anything except serious weak signal work. i used a 10-turn pot geared down to match the rotation range and it was pretty stable.

one thing that bit me early on was the motor coasting past the target when i just cut power, so i added a braking relay that shorts the motor leads momentarily when it gets close to the target heading. works way better than just switching off. took me an afternoon of head scratching to figure out why it kept overshooting by like 15 degrees every time.

the GS-232 stuff is actually worth implementing even if you dont need the precision because then you can use it with logging software and things like that down the road. its not that much extra code and you can just add it on top of whatever you build. but yeah for manual use a small OLED and a rotary encoder input is all you really need honestly.

pi zero for a web interface isnt really overcomplicating it tbh, thats basically what mine does and it took maybe a weekend to get something usable running. flask is pretty lightweight and you can have a simple bearing input form going in like 50 lines of python. the pi talks to an arduino over serial which actually handles all the real time motor control stuff because i didnt want to deal with latency issues from linux on the control loop side.

that two board approach sounds redundant but it works really cleanly, pi handles the UI and logging, arduino handles the hardware. worth thinking about if you go that route

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.