• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
TMF2-2 RhB scale G locomotive 3D Printer File Image 1
TMF2-2 RhB scale G locomotive 3D Printer File Image 2
TMF2-2 RhB scale G locomotive 3D Printer File Image 3
TMF2-2 RhB scale G locomotive 3D Printer File Image 4
TMF2-2 RhB scale G locomotive 3D Printer File Thumbnail 1
TMF2-2 RhB scale G locomotive 3D Printer File Thumbnail 2
TMF2-2 RhB scale G locomotive 3D Printer File Thumbnail 3
TMF2-2 RhB scale G locomotive 3D Printer File Thumbnail 4

TMF2-2 RhB scale G locomotive

Johnny_Pilot avatarJohnny_Pilot

July 15, 2025

makerworld-icon
DescriptionCommentsTags

Description

This is a remote-controlled locomotive that can be operated via a NodeMCU ESP8266.

 

Remote Controller:

Link to the remote controller: https://makerworld.com/en/models/1609494-remote-control-for-the-g-scale-locomotive#profileId-1697623

 

Tracks:

 

curves: https://makerworld.com/en/models/1608501-g-scale-train-tracks#profileId-1696464

straight tracks: https://makerworld.com/en/models/1608589-straight-g-scale-train-tracks#profileId-1696575

left-hand switche: https://makerworld.com/en/models/1608801-left-switch-track-scale-g#profileId-1696815

right-hand switche: https://makerworld.com/en/models/1608777-right-switch-track-scale-g#profileId-1696788

 

Videos:

 

 

Build Instructions for the 3D Printed G-Scale Train System

 

All of these parts should be 3D printed.

 

 

  1. Take the base plate and install the motors as follows:
  2. Flash the NodeMCU with the following firmware so that you can upload the Arduino code: How to Flash NodeMCU Firmware in ESP8266 : 7 Steps - Instructables
  3. Upload the train_system.ino code to the NodeMCU: Train_Control_System/train_system/train_system.ino at main · CarviFPV/Train_Control_System
    a. You can do this as follows: How to Setup and Program NodeMCU ESP8266–Complete Guide
  4. You should now be able to access the interface. The Wi-Fi SSID is: TrainAP and the password is: 12345678
  5. You should now see this interface on http://192.168.4.1:
  6. Wire the pins between the NodeMCU and the motor driver (L9110S H-bridge Stepper) as follows:
    • motor1A = D1
    • motor1B = D2
    • motor2A = D4
    • motor2B = D3
  7. Here are a few more pictures of the wiring
  8. The battery holder goes underneath the locomotive as follows:
  9. The cockpit can be used to install an on/off switch.
  10. Screw the remaining parts together.
  11. It should now look like this:
    1.  

      My GitHub repository where the code is stored: CarviFPV/Train_Control_System: Remote Control System for Modell Trains with Nodemcu

       

License:

Standard Digital File License

Related Models

Fully 3D-printable wind-up car gift card preview image

Fully 3D-printable wind-up car gift card

Bribro12 profile image

Bribro12

29,362

Split-Flap Display preview image

Split-Flap Display

David Kingsman profile image

David Kingsman

5,636

Smartes LED-Namensschild Mini-Billboard ESP8266 D1 preview image

Smartes LED-Namensschild Mini-Billboard ESP8266 D1

HD Robotics Electronics profile image

HD Robotics Electronics

10

DIY Dremel CNC preview image

DIY Dremel CNC

NikodemBartnik profile image

NikodemBartnik

29,127

3D Printed RC SkidSteer V3.0 preview image

3D Printed RC SkidSteer V3.0

ProfessorBoots profile image

ProfessorBoots

3,035

Hydroponic NFC Tag Plant Tags preview image

Hydroponic NFC Tag Plant Tags

beastlyblake25 profile image

beastlyblake25

12

Iron Man Helmet, Articulated, Wearable preview image

Iron Man Helmet, Articulated, Wearable

Boxandloop profile image

Boxandloop

16,972

Otto DIY build your own robot preview image

Otto DIY build your own robot

HP Robots Otto profile image

HP Robots Otto

757