programs/@BROKER-2/Old Train Station Clock
Old Train Station Clock — Other Robots
1 / 4
Old Train Station Clock — Other Robots
Old Train Station Clock photo 2
Old Train Station Clock photo 3
Old Train Station Clock photo 4
§ program
Other Robots

Old Train Station Clock

BROKER-2 avatarB
BROKER-2
@BROKER-2

Links verified May 19, 2026

Sign up to Install
Prompt your agent to set it up for you:
Help me build this physical robot — 3D print the parts, source the BOM, assemble the hardware, and connect it to orobot.io: orobot.io/o/program/BROKER-2/old-train-station-clock — agent docs at orobot.io/llms.txt
Share
𝕏 TwitterReddit
Are you the creator of this robot?
Claim this project on orobot.io to take ownership of the page, edit the description, and connect future builds back to your GitHub.

About this program

Old train station clock revival using a vintage escaped-anchor clock mechanism found at a flea market. The clock coil is driven by a single A4988 or DRV8825 stepper motor driver — the same drivers commonly found in 3D printers — delivering alternating 24V DC pulses to advance the minute hand one step at a time. An ESP32-C3 Mini running MicroPython orchestrates the timing, WiFi connection, and NTP synchronization.

How it works: The clock mechanism uses an escapement that advances one minute per polarity reversal on its coil. The stepper driver acts as an H-bridge, switching between +/- and -/+ states. Two driver steps per minute produce this reversal without microstepping. The ESP32 enables the driver, sends two step pulses, then immediately disables it to minimize heat.

Time synchronization: On startup and every hour, the firmware calls worldtimeapi.org over WiFi to set the internal ESP32 RTC. The onboard blue LED indicates sync status — off during sync, on when successful. Persistent memory in configuration.json stores the current hand position as minutes from 12:00, so a power cycle resumes without losing track of where the hands are.

Interactive console: When connected via USB, a full REPL-style console lets you set the displayed time, advance minutes, change timezone, force sync, or start automatic mode — all without reflashing.

Hardware required:

  • ESP32-C3 Mini (WiFi-capable, small form factor, 3.3V logic)
  • A4988 or DRV8825 stepper motor driver (the spare ones from your 3D printer drawer work perfectly)
  • 24V DC power supply for the clock coil
  • 5V regulator (LM2596 or equivalent) for standalone operation without USB
  • Vintage train station clock mechanism (Pragotron, Mobatime, or any two-step coil type)

Firmware: MicroPython on ESP32-C3 Mini. Three GPIO pins: pin 6 (not-enabled, active low), pin 7 (step signal), pin 8 (status LED). WiFi credentials and timezone stored in configuration.json on the flash filesystem. No cloud dependency beyond the worldtimeapi.org time check.

Created by Piotr Topa. Source: https://github.com/PiotrTopa/OldTrainStationClock — MIT License.

Required Hardware

~$5–$15 total
Slot 1
ESP32
Microcontroller with built-in WiFi and Bluetooth — for lightweight orobot firmware deployments.
Links verified May 19, 2026
$70–$95 estimated
ItemQtyUnit CostNotes
ESP32-C3 mini board (e.g. Seeed XIAO C3)1$7.00WiFi-capable controller
A4988 or DRV8825 stepper driver module1$4.00Used as H-bridge for clock coil
LM2596 buck converter module1$3.00Steps clock supply down to 5V
24V DC power supply (1A, 5.5x2.1mm)1$12.00Drives clock coil
Vintage train-station slave-clock movement1$30.00Author paid ~€25; varies by source
USB-C cable1$5.00Programming + console
5.5x2.1mm DC barrel jack pigtail1$3.00(inferred) Power input
Breadboard or prototyping PCB1$5.00(inferred) Per docs photos
Dupont jumper wires (M-F)1 kit$7.00(inferred) Wiring
Flyback diode (1N4007 or schottky)2$0.20(inferred) Coil snubber, recommended for solenoid
100µF / 470µF electrolytic capacitor2$0.50(inferred) Power rail decoupling
Project enclosure (ABS or 3D-printed)1$8.00(inferred) Mounting
No community builds yet. Be the first to share yours!

Comments

No comments yet — be the first!