Dithering, polar alignment and mosaics
for your star tracker.
A small Raspberry Pi at the mount runs your camera, dithers between frames through the tracker's ST-4 port, plate-solves for polar alignment, and points you at each panel of a mosaic. You run it from your phone. No laptop in the field.
Free and open source (MIT). About £35 of parts with a Pi Zero 2 W. An early release: built from a working rig, and reports from other mounts and cameras are welcome.
How it connects: the phone talks to the Pi over WiFi, at home or on the Pi's own network in the field.
Why it's useful
Dithering on a tracker
A bounded random pattern through ST-4 guide pulses, between frames, never while the shutter is open. RA on any tracker; DEC too with an ST-4 DEC mount or a small motor. Check RA with the camera tests the RA lines on stars and sets their direction itself.
Plate-solved polar alignment
Two frames with a turn of RA between them, then live updates while you turn the altitude and azimuth bolts.
Mosaics with push-to
Plan in the Astro Target Planner and press Send; a page from the rig opens to save it. For each panel it solves where the camera points, tells you how far to turn, then shoots the panel's frames.
The camera from your phone
Bulb runs of any length, ISO, aperture and format, and auto focus with a Canon STM lens, with a star-size watch that warns or refocuses during a run. The first frame of each run is checked too, so a run that's out of focus stops at once.
Made for the field
Away from home WiFi the Pi makes its own network, and it takes its clock from your phone so plate solving works anywhere.
Works with the other tools
A cheap extra rig next to your ASIAIRs: plan its mosaics in the Target Planner, and Astro Rig Monitor watches its runs, warning about cloud and focus drift.
On your phone
The Pi serves its own page: open it in your phone's browser, at home or on the Pi's own WiFi in the field.

A run: frames and time left, with star size and dithers under More.

Polar alignment: how far off, and which way to turn each bolt.

A mosaic from the planner: how far to turn to reach each panel, then Shoot.
Screenshots from its simulator (a fake camera, mount and stars, so the camera battery reads "sim").
What it works with
| Mounts | Any tracker with an ST-4 guide port: Sky-Watcher Star Adventurer 2i and GTi, iOptron SkyGuider Pro and similar. |
| Cameras | Canon EOS bodies from about 2008 on, over USB: with the dial on B (60D, 70D, 80D, 90D, 7D, 6D, 5D Mark II and later, and the like), or on M for bodies without a B position (Rebel-line models such as the 600D, 700D and 800D, the 77D, the M series and R bodies without B), where Star Tracker Controller sets the Bulb shutter speed itself. Other makes (Nikon, Sony and more) can be added, because the camera library underneath already supports them: see the camera research notes. |
| Tested | EOS 60D, including focus with an STM lens. The M-dial way is new and not yet tested on a body without B: reports especially welcome. See the tested cameras list. Have another camera? A two-minute check on the bench tells you what works; please send in a camera report. |
| Lenses | For plate solving, about 24–85 mm on APS-C or 35–135 mm on full frame. |
| Computer | Raspberry Pi Zero 2 W, or a Pi 3, 4 or 5, on Raspberry Pi OS Lite. |
DEC dithering: three ways
| None (default) | For trackers that guide only RA (Star Adventurer 2i, SkyGuider Pro): RA dithers. |
| ST-4 port | For mounts that guide DEC too (Star Adventurer GTi): RA and DEC, with the soldered build's two extra optocouplers (see the hardware guide). |
| Stepper motor | For a manual DEC axis: a small motor and belt on its slow-motion gives RA and DEC. |
Build it
About £35 of parts with a Pi Zero 2 WH. Nothing to solder: a relay board plugs onto the Pi, three short wires go to an RJ12 socket, and a normal ST-4 lead goes from there to the tracker. The relays connect the guide lines the way the buttons on a hand controller do, and the Pi and the mount share nothing electrically. This build is being tested now. Click a drawing to see it large; the hardware guide has the parts list, and a soldered version for anyone who prefers it.
Getting started
Connect to the ST-4 port
Push the relay board onto the Pi, connect three wires to the RJ12 socket, and plug an ST-4 lead into the tracker. See Build it above.
Install it on the Pi
Put Raspberry Pi OS Lite (64-bit) on a card with your home WiFi and SSH, then run the one-line installer below.
Set it up from your phone
Open http://tracker.local (your Pi's name) and enter the focal length, the camera's pixel size and width, the guide rate, the ST-4 outputs, the DEC drive and your location.
First night
Camera dial on B (or M if it has no B), lens on MF. Polar align with the Polar alignment card, focus, then press Start, or load a mosaic.
curl -fsSL https://raw.githubusercontent.com/dgsgc/star-tracker-controller/main/install.sh | shBefore the first night, check your camera on the bench. On the Pi, run these three lines (the first pauses Star Tracker Controller, the last starts it again):
sudo systemctl stop star-tracker-controller
~/star-tracker-controller/venv/bin/python ~/star-tracker-controller/tools/camera_check.py
sudo systemctl start star-tracker-controller
It tells you what works, ready to paste into a camera report. On a camera that isn't a Canon, add --try-bulb to the middle line to try one real 2-second exposure.
Running the installer again updates it and keeps your settings. Want to try it first? It has a simulator with a fake camera, mount and stars: see Try it without hardware.