/PWM-slotcar-controller

Project to create a basic PWM slotcar (Scalextric) controller using an ESP-32 dev board

Primary LanguageC++GNU General Public License v3.0GPL-3.0

PWM-slotcar-controller

Project to create a basic PWM slotcar (Scalextric) controller using an ESP-32 dev board.

Pre-requisites

Wiring

image

ESP32 power

There will need to be an additional circuit using a simple voltage regulator that will take 10+V from the track and convert to 5V to power the board. For testing the board can be powered from the USB cable.

Controller Trigger

The trigger could be a rotary potentiometer, a resistor board or a modified barrel resistor. If using an old resistor controller then it will need the base band connecting to the rest of the resistor. For example the image below shows a typical Parma style resistor, and the modification to make the variable resistor into a simple potentiometer.

image

Webserver configuration

The Webserver will show up at 192.168.1.1 on the WiFi network slingshot-controller. All values are saved and will be loaded on power on.