MikusWorks

← All projects

Boat autopilot

A heading-hold autopilot for the boat that runs the dashboard. An orientation sensor gives the heading, and two relays drive the 24-volt steering.

Relays are only on or off, so the controller can't steer gently. It watches the heading error and how fast it's changing instead, predicts an overshoot, and lets the boat's momentum carry it the rest of the way rather than hunting back and forth. Steering profiles are tuned on the water and saved on the spot.

Where each build has been
BuildTested
BreadboardBench A bench build to test the essentials. Never on the water.
Lunchbox, Arduino MegaOn the water The boat alone. The first firmware oscillated and went round in loops; the second, with overshoot prediction, held its heading within 5–10° for a while. Observed, not logged. SD logging and manual-steering detection came later and work on the bench, not yet on the water. It can't read the thruster's direction: that needs the junction box and the ESP32 build.
ESP32 and a custom boardPlanned Adds the thruster's real position. First logged water test.
Block diagram of the planned autopilot board: junction-box feeds and voltage dividers into an ADS1115, optocouplers for manual steering, power distribution, and an ESP32 driving the loads.
The planned board. A plan, not a build.