Model Steam Locomotive

Thread Starter

Bullawalla

Joined Mar 12, 2025
4
Would like know what hardware is needed to Control a BLDC motor and produce sound effects on a static display of a Model steam locomotive. Can I use ESPWROOM-32? If so a circuit diagram would help.
 

KeithWalker

Joined Jul 10, 2017
3,607
What size is the motor you want to control, and how loud do you want your sound effects?
Is it going to be battery or mains powered?
After reading the overview of the EPS Wroom-32 I think it would be vast overkill for your project.
An small 8 bit microcontroller with a DF player, amplifier and BLDC motor driver are probably all you need.
What is your level of knowledge and experience in this field?
 

sagor

Joined Mar 10, 2019
1,049
Look into "DCC", a command and control system for model railroads. They have modules that can control motors, up to a certain capacity (a few amps) and have built in sound effects in many of those modules. You can also get separate modules for just sound or just motor control. Sound effects can be changed to several pre-programmed sounds, including steam engines, bells, etc.
Some modules will even take feedback, like the steam locomotive wheel turns and sync the steam puffing sounds to the wheel motion.
 

Thread Starter

Bullawalla

Joined Mar 12, 2025
4
Would like know what hardware is needed to Control a BLDC motor and produce sound effects on a static display of a Model steam locomotive. Can I use ESPWROOM-32? If so a circuit diagram would help.
Thank you Keith,
I am only a beginner 3D printing toys for my great grand children!! Have 3D printed and assembled "Hogwart's Castle" Steam Locomotive. I intend to make the wheels turn and add sound effects like train whistle and steam exhaust to make it come alive. I have a BLDC Micro motor 2004 for which I have designed a planetry g/box to reduce the speed for the wheels. If you can help me in my next step i would greatly appreciate it. Photo of Model below.
 

Attachments

KeithWalker

Joined Jul 10, 2017
3,607
Thank you Keith,
I am only a beginner 3D printing toys for my great grand children!! Have 3D printed and assembled "Hogwart's Castle" Steam Locomotive. I intend to make the wheels turn and add sound effects like train whistle and steam exhaust to make it come alive. I have a BLDC Micro motor 2004 for which I have designed a planetry g/box to reduce the speed for the wheels. If you can help me in my next step i would greatly appreciate it. Photo of Model below.
I have searched for the 2004 motor but I can't find any details on it. What information do you have?
Here are the details of the DF player:
DFPlayer Mini Mp3 Player - DFRobot Wiki
The diagram "I/O Mode" shows how simple it is to use. The switches can be replaced with digital I/O pins on an arduino micro.
What ever sounds you need can be recorded from the internet onto a Micro SD card.
 

KeithWalker

Joined Jul 10, 2017
3,607
The simplest way to drive it is by using a R/C BEC, which can be controlled with a PWM signal from the microcontroller. Here is a link to show you the kind you need
XXD HW30A 30A ESC Brushless Motor Speed Controller RC BEC ESC T-rex F450 Helicopter Boat for FPV F450 Mini Quadcopter Drone - AliExpress

Do you have any experience in programming Arduino microcontrollers?
 
Last edited:

Thread Starter

Bullawalla

Joined Mar 12, 2025
4
The simplest way to drive it is by using a R/C BEC, which can be controlled with a PWM signal from the microcontroller. Here is a link to show you the kind you need
XXD HW30A 30A ESC Brushless Motor Speed Controller RC BEC ESC T-rex F450 Helicopter Boat for FPV F450 Mini Quadcopter Drone - AliExpress

Do you have any experience in programming Arduino microcontrollers?
Thanks Keith, No not yet but I am ready to learn and have been studying what's needed. Have downloaded their app to make a start. What is the list of hardware I will need? Can I control the DF Player and the motor with the Arduino microcontroller?
 

KeithWalker

Joined Jul 10, 2017
3,607
You need your motor and gearbox, an R/C BEC, an Arduino uno or Arduino micro with a USB to micro USB cable for programming, a DF player with a micro SD card and small speaker. You will also need an audio amplifier module and larger speaker if you want the sounds to be loud. You also need a USB micro SD card reader to record the sounds from a computer.
What do you plan on using for the human interface; keyboard, push buttons or what?
 
Top