Search models, users, collections, and posts

Remote control for the G-scale locomotive

IP Report

Print Profile(2)

All
X1 Carbon
A1 mini
H2D
A1
X1E
P1S
P1P
X1
H2D Pro
H2S
P2S
H2C
X2D
A2L

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
1.7 h
1 plate
5.0(1)

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
46 min
1 plate
5.0(1)

Open in Bambu Studio
Boost
27
50
6
0
20
14
Released 

Bill of Materials

Bambu Filaments
Select all
Matte Mandarin Orange (11300) / Refill / 1kg
Black (10101) / Refill / 1kg
List other parts
  • ESP8266 Nodemcu x 1: https://www.aliexpress.com/item/1005006889833004.html?spm=a2g0o.productlist.main.3.2f842a68Q4hQFD&algo_pvid=a46444b2-a525-4b4c-a8c4-d00637fad9a3&algo_exp_id=a46444b2-a525-4b4c-a8c4-d00637fad9a3-2&pdp_ext_f=%7B%22order%22%3A%221222%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%212.33%212.18%21%21%212.86%212.67%21%40211b629217525882594645931e4046%2112000038628898661%21sea%21CH%212279045587%21X&curPageLogUid=mIjgpkUlY94j&utparam-url=scene%3Asearch%7Cquery_from%3A
  • Screws x 1: https://www.aliexpress.com/item/1005006984047820.html?spm=a2g0o.productlist.main.12.5c75jhW7jhW7mQ&algo_pvid=6c4411c2-adc6-4894-89e6-33d133678f9a&algo_exp_id=6c4411c2-adc6-4894-89e6-33d133678f9a-11&pdp_ext_f=%7B%22order%22%3A%224882%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%217.98%213.75%21%21%2170.35%2133.06%21%402103835c17525960804327645e7f14%2112000038943295561%21sea%21CH%212279045587%21X&curPageLogUid=tvofUzF4dvtQ&utparam-url=scene%3Asearch%7Cquery_from%3A
  • LED 3mm x 1: https://de.aliexpress.com/item/1005005996146570.html?spm=a2g0o.productlist.main.13.53d2672dvN4axd&algo_pvid=1aee5c67-49a5-4318-9d53-63a96658e529&algo_exp_id=1aee5c67-49a5-4318-9d53-63a96658e529-12&pdp_ext_f=%7B%22order%22%3A%223055%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%212.02%211.33%21%21%2117.80%2111.75%21%40211b6c1917526108150248967e1531%2112000035228334406%21sea%21CH%212279045587%21X&curPageLogUid=0FJ6Gn2mXXCD&utparam-url=scene%3Asearch%7Cquery_from%3A
  • EC12 360 rotary encoder x 1: https://de.aliexpress.com/item/1005003637804908.html?spm=a2g0o.productlist.main.20.c498493cwOKb0I&algo_pvid=9960f6ef-41dd-4b20-aef0-d16fd048cb31&algo_exp_id=9960f6ef-41dd-4b20-aef0-d16fd048cb31-19&pdp_ext_f=%7B%22order%22%3A%226%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%212.03%211.62%21%21%2117.86%2114.29%21%402103917f17526109063696956ef203%2112000026599230003%21sea%21CH%212279045587%21X&curPageLogUid=MXPr5JxTnnb2&utparam-url=scene%3Asearch%7Cquery_from%3A
  • Battery Holder x 1: https://de.aliexpress.com/item/1005005978622306.html?spm=a2g0o.productlist.main.43.f8cd1544eddDhf&algo_pvid=5ebe71d2-63dd-4816-9c1c-7f4eac4f0a9e&algo_exp_id=5ebe71d2-63dd-4816-9c1c-7f4eac4f0a9e-42&pdp_ext_f=%7B%22order%22%3A%224%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%212.11%210.95%21%21%2118.58%218.36%21%402103956a17526115039255747e61f7%2112000035146192642%21sea%21CH%212279045587%21X&curPageLogUid=EKpA7JpIprZ5&utparam-url=scene%3Asearch%7Cquery_from%3A
  • Mini Rocker Switch x 1: https://www.aliexpress.com/item/4000973563250.html?spm=a2g0o.productlist.main.17.73712958agsrsV&algo_pvid=6c7cab0d-fd27-4e22-a651-c5ac3c5e6fdb&algo_exp_id=6c7cab0d-fd27-4e22-a651-c5ac3c5e6fdb-16&pdp_ext_f=%7B%22order%22%3A%224278%22%2C%22eval%22%3A%221%22%7D&pdp_npi=4%40dis%21CHF%210.89%210.86%21%21%211.09%211.05%21%402103835c17526058727463205e7f1c%2112000036659982728%21sea%21CH%212279045587%21X&curPageLogUid=F4ANKNIVJrwR&utparam-url=scene%3Asearch%7Cquery_from%3A

Description

This remote control is used to operate the TMF2-2 G-scale locomotive using a NodeMCU and a rotary encoder.

 

Video:

 

 

 

Build Instructions:

  1. Print all parts of the remote control.
  2. Flash the NodeMCU with the specified firmware so that you can upload the Arduino code
    1. How to Flash NodeMCU Firmware in ESP8266 : 7 Steps - Instructables
  3. Upload the Train_controller.in code to the NodeMCU: Train_Control_System/Train_controller/Train_controller.ino at main · CarviFPV/Train_Control_System
    1. You can do this as follows: How to Setup and Program NodeMCU ESP8266–Complete Guide
  4. Connect the rotary encoder as follows:
    a. // Rotary encoder pins
    b. D6 // CLK
    D5 // DT
    c. D7 // SW
  5. Connect the WiFi LED as follows:
    ledWifi = D0; // WiFi status LED
  6. The LED will light up as soon as a connection to the locomotive has been established.
  7. Here are a few examples of the wiring:
    1. My GitHub repository where the code is stored: CarviFPV/Train_Control_System: Remote Control System for Modell Trains with Nodemcu

Comment & Rating (6)

(0/1000)

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.