BARN-DOOR STAR TRACKER / ESP32 APPLICATION
StarHinge
DYI astrophotography barn-door tracker (ESP32 + NEMA17)

About this project
About this project
A barn-door star tracker cut from wood and ball bearings, turning a camera at sidereal rate to cancel Earth's rotation. Two boards meet at a hinge aimed at the celestial pole; an ESP32-S3-DevKitC-1 steps a NEMA17 motor through a TMC2209 at 1/8 microstepping, pushing an M8 threaded rod of 1.25 mm pitch. A constant rod speed builds up tangent error, so the firmware instead solves the exact rod length for the target hinge angle and converts it to steps, timed by the microcontroller's microsecond hardware timer. Power comes from a 2S Li-ion pack through a step-down converter, and the rod turns in 20mm pillow block bearings. Code is C++ on the Arduino framework built with PlatformIO. Wi-Fi control, automatic rewind and printed parts are still planned.
From the README
From the README
- Motor
- NEMA17, TMC2209 (1/8 microstepping)
- Drive
- M8 threaded rod, 1.25 mm pitch
- Power
- 2S Li-ion battery pack, step-down converter
- Bearings
- 20mm pillow block bearings for the threaded rod
- Planned
- Wi-Fi access point for speed and direction control via dedicated website
Hardware
Native board: Espressif ESP32-S3-DevKitC-1
Boards: ESP32
ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.
Media credit & rights
Upstream project media · rights remain with its owner · Credit: JaWald
Screenshots from the upstream README. Code and firmware were not executed. License notices are included.
View original source ↗ Copyright & removal · Reviewed
More projects on these boards
Audio Spectrum Visualizer CUSTOM OLED UI Clockwise ESP32 Custom Firmware Cmdr Ipstube Co2 Meter ESP32 Covid19info Clock
See what an ESP32 project looks like, and whether it runs on your board.
FILTERS
Browse by form factor. Check the exact board, chip and peripherals before installing.
Try a project
Newest listings
Give your project a little spotlight.
Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.