Summary of Control Your Model Train Layout With Your TV REMOTE!
This article guides users in building an IR remote control system for a model train using an Arduino Mega. The project enables controlling a locomotive from a couch via infrared signals. It covers gathering components, assembling electronics, uploading software, and testing the setup on a simple track layout with a specific N-scale locomotive.
Parts used in the IR Remote Control System for Model Train:
- Arduino Mega
- AF motor driver shield
- SM0038 IR receiver
- 12 volt DC power supply
- 47 uF capacitor
- Jumper wires
- Tomix EF210 N-scale electric locomotive

In this instructable, I will show you how to make an IR remote control system for a model train. You will then be able to control your trains while relaxing on your couch. So, let’s get started!
Step 1: Collect All the Stuff!

Here is the parts list for electronic components:
An Arduino Mega
An AF motor driver shield
An SM0038 IR receiver
A 12 volt DC power supply
A 47 uF capacitor
Some jumper wires
Step 2: Assemble the Electronics

Check the Arduino code for more info on the wiring connections, download it from the next step.
Step 3: The Software

Upload this code to your Arduino board:
Step 4: Make a Test Layout

Mame a simple loop of track to test your setup.
Step 5: Get Your Locomotive

This is a Tomix EF210 N-scale electric locomotive which I bought from Japan. It comes as a set with two container wagons, check it out here.
Step 6: Add It to Your Test Layout

Source: Control Your Model Train Layout With Your TV REMOTE!
- How can I control my trains while relaxing on my couch?
You can build an IR remote control system for your model train as described in this instructable. - What electronic components are required for this project?
The required parts include an Arduino Mega, AF motor driver shield, SM0038 IR receiver, 12 volt DC power supply, 47 uF capacitor, and jumper wires. - Where can I find the wiring connections information?
Check the Arduino code provided in Step 3 of the article for more info on the wiring connections. - Can I use any locomotive for this test setup?
The author uses a Tomix EF210 N-scale electric locomotive, but you can add your own locomotive to the test layout. - What is the first step after collecting all the stuff?
The next step is to assemble the electronics by following the instructions and checking the Arduino code. - Do I need a complex track layout to start testing?
No, you only need to make a simple loop of track to test your setup. - Is it possible to use a TV remote for this system?
Yes, the source title suggests you can control your model train layout with your TV remote. - Where did the author purchase the specific locomotive used?
The author bought the Tomix EF210 N-scale electric locomotive from Japan.
