This train was designed for the OS Railway tracks by Depronized. https:// www.thingiverse.com/thing:4408535
🛠️ Concept & Goal
This train was designed as a simple and comparatively inexpensive version for the OS Railway System. The goal: build a robust train using parts that are easy to obtain.
It runs with a low-cost geared motor and is controlled by an ESP32 microcontroller. To build it, you should have basic electronics knowledge, be able to solder, and know how to upload programs via Arduino IDE.
⚙️ Control & Programming
Use the ESP_32_ESPNOW_Sender program and configure it with your controller’s MAC address.
To get the MAC address, run the ESP_32_ESPNOW_Adresse program.
A detailed tutorial is available here: ESP-NOW with ESP32 and Arduino IDE.
👉 Tip: If you encounter issues with direction or function, try swapping OUT1/OUT2 or reversing +/-.
🎥 Assembly Video
You can find an assembly video on YouTube:
📦 Required Parts
2 × ESP32
1 × L298N Motor Controller
1 × Potentiometer
2 × Switches
2 × Push Buttons
2 × 9V Battery Cables
Wires
2 × M3 × 40 Threaded Rods
2 × M3 × 30 Cylinder Screws
4 × Bearings (3 × 6 × 2.5)
Nuts (M3, M5)
Rubber Bands
Most parts can be found at your local hardware store. For convenience, some are also available on Amazon .