I'm a maritime pilot in Belgium. This is a small 3D-printed west cardinal buoy hanging on 8 lines. Each line winds onto a spool on a small stepper motor, and by pulling and paying out the 8 lines together the buoy rises, falls and tilts.
An ESP32-S3, programmed with the Arduino core, reads live wave data from public buoys (NOAA, CDIP, the Irish Marine Institute, Belgian and Dutch North Sea buoys) and turns it into motion.
The setup:
> - ESP32-S3 DevKitC-1, Arduino core 3.3, built with arduino-cli
> - 8 TMC2209 drivers, set up over UART with TMCStepper (current and silent StealthChop mode, no Vref pots to tune)
> - One hardware timer makes the step pulses for all 8 motors, so they stay in sync
> - 1.9" LCD with GFX Library for Arduino, a rotary knob to pick the buoy
> - WiFiManager for setup by QR code, and USB-C power from a charger via a HUSB238
Lessons learned:
No endstops: it homes by winding all 8 lines in at low current until every motor slips.
Don't put a button on GPIO0 if you ever want…