12V DC Model Train Arduino Controller Simulating Momentum

Become a Member Become a Member
  • Topics
    • Arduino
    • Circuits & Circuit Design
    • Edge Impulse
    • Embedded & AI
    • Espressif
    • IoT & Sensors
    • Power & Energy
    • Prototyping & Production
    • Raspberry Pi
    • Test & Measurement
    • Wireless & Communication
  • Magazine
    • Current Issue
    • Archive
    • Memberships
    • Annual DVDs
  • Articles
    • Reviews
    • Technical Articles
    • Opinion Articles
    • White Papers
    • Ethics in Electronics
  • News
    • All News
    • Partner Content
    • Newsrooms
    • Business Editions
  • Video
    • Academy
    • Elektor TV
    • Engineering Insights
    • Lab Talk
    • Webinars
  • Projects
    • Electronics Projects
    • About Community Projects
    • User manual
    • PCB Service
  • Newsletter
  • Submit
  • Store
  • My Account
    • My details
    • My Address Details
    • My Membership
    • My Academy Pro
    • My Projects
    • My tag alert preferences
    • My Newsletter preferences
    • My Loyalty Coupons
Check out our discount offers ElektorLabs
  1. Home
  2. Elektor Community Projects
12V DC Model Train Arduino controller simulating momentum
386

Having kids now I thought its time to dust off the old model train set - nothing fancy just plain old 12V DC model.

Having kids now I thought its time to dust off the old model train set - nothing fancy just plain old 12V DC model.

When I was about 16 I etched and build an analogue controller to replace the stock transformer and I was amazed at the result - no longer did I have to go push start a Locomotive on the other end of the room! With this unit I had a momentum, brake and emergency brake in addition to the throttle.

One day I still plan to reverse engineer (the wrong word here) since it will be more like PCB archeology in this case.

So back to today and being the wrong side of 40... So I got a free breadboard, Arduino, LM298 and display and got busy. I have a basic prototype but not ready for the tracks...

Aims

Hoping to make it easy to use - perhaps switching off momentum etc. else the kids will loose interest, and mum will cut subsequent funding for this project.

Safe so that if they flip the direction, the train should at least slow down first before speeding up in the other direction... even limiting top speed.

Simultate momentum, not true to scale but perhaps adustable depending user.

Brakes, Emergency brake, Direction and throttle.

Questions:

  1. I have searched for similar projects on the web / Elektor but no success. Is there something I missed? Since that might just put a brake on this proposal...
  2. Simulating momentum. Since I completed school before momentum was discovered I currently simulate this with a weighted average of a PWM output over a 5-second period. I found some research papers about real world train controller maths, but the maths would be too much for the Arduino I guess ;-)
  3. I have not yet hooked up an Oscilloscope but I have seen other clever clogs complaining the the H-Bridge LM298 output might not be the best for a 12V DC motor. This I need to investigate further. Any jump starters?

Updates from the author

Discussion (1 comment)

Add a comment Add a comment

Embed Code

Project Essentials

January 28, 2014 By jordaaaa Page 1/1 4 Join the conversation Last update: June 28, 2020 5 Followers 11072 Views

Project Followers

Follow project

Related Items

Frequency Counter 2Hz ... >60MHz Using The ATtiny424's "EVENT" System

Frequency Counter 2Hz ... >60MHz Using The ATtiny424's "EVENT" System

Allerneuste Version der „entbrummten“ Stromversorgung für Audio Endstufen.

Allerneuste Version der „entbrummten“ Stromversorgung für Audio Endstufen.

Low Power Timer Clock

Low Power Timer Clock

Preiswerter Kühlkörper für DC-Load

Preiswerter Kühlkörper für DC-Load

Newsletter

Latest Comments

Precision Picoammeter description above:"The complete description can be found in t... 8 hours ago Precision Picoammeter Schematic, PCBHello, where can I please find schematic and PCB f... 12 hours ago Self-powered and low-noise dynamic microphone amplifier  I deliberately opted for a transformerless design for three main reasons: - High I deliberately opted for a transformerless design... 12 hours ago Self-powered and low-noise dynamic microphone amplifier  My digital audio recorder is an older portable model with an unbalanced stereo input on a My digital audio recorder is an older portable mo... 13 hours ago Low-Noise Lab Power Supply - JumpStarter Page For absolute clarityIncreasing the range of P2 is easy to do by decrea... 15 hours ago

Trending

New Espressif Microcontrollers Debut at CES 2026

New Espressif Microcontrollers Debut at CES 2026

Arduino Open-Source Ecosystem Gets a Fresh GitHub Push

Arduino Open-Source Ecosystem Gets a Fresh GitHub Push

Security in Embedded and (I)IoT Systems: From Classical Protection to the Post-Quantum Era

Security in Embedded and (I)IoT Systems: From Classical Protection to the Post-Quantum Era

Circuit: Differential Oscilloscope Current Probe

Circuit: Differential Oscilloscope Current Probe

USB 2.0 Isolator: Electrically Isolated Connections for USB Devices

USB 2.0 Isolator: Electrically Isolated Connections for USB Devices

Login

No account yet? Register for free!

Email Password Remember me

Login Forgot password?

Forgot password?

Please enter your email address. Instructions for resetting the password will be emailed to you now.

Email

Request password

Register

Already have an Elektor ID account? Click here to log in.

First Name * Last Name * Nickname Email * Password * Confirm password * Register account

Thank you for your vote!

Leave further comments in the fields below.

Cancel Post comment

Thank you for your vote!

If you wish to leave a comment with your rating, please first use the login below. If not, just close this window.

No account yet? Register for free!

Email Password Remember me

Cancel Login Forgot password?

Tag » Arduino Dcc Train Controller