element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino for my Father's Model Railroad Layout
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 420 subscribers
  • Views 1410 views
  • Users 0 members are here
Related

Arduino for my Father's Model Railroad Layout

e14 Contributor
e14 Contributor over 13 years ago

Hi there, I'm looking to do a little brainstorming for an idea I had involving the Model Railroad my Dad built in his basement.

 

There's 2 things I want to do.

 

1. add sound to the scenery - He has a DCC layout which gives sound to the trains themselves... but I want to add sound to the scenery.

i.e the waterfall in the corner... or the some birds in the forest... even the sound of mechanics hammering away in the maintanence yard/engine house.

 

2. Arduino controlled signal lights for sections of track based on trains in the area...

i.e Say there are 4 blocks of consecutive track - A B C D. if a train enters track block D the signal for following trains into block D should be red. the signal for block C should be amber and the signals for B should be green. It also get a little more complicated when adding track switch positions into the mix...

 

For Goal number 1 the idea would be that sounds don't play until you're standing infront of the scene. I'm not sure whether to use IR Sharp Distance sensor or a cheap Ultrasonic sensor as the triggering device. And then I don't know what to use to play the sounds.. It would need to be small speakers that can be hidden in the scenery.. I'm thinking no bigger than the size of a quarter. And then what stores and plays the sounds?

 

Goal number 2 has LED's embedded throughout the layout... some signals would be flag type signals requiring servos to move the position of the flag... My biggest problem is how do you detect the train's position on the track?

 

I want to figure out the hardware situation first, then I can start worrying about writting the programs...

I'm thinking the 2 operatons would require their own processors (2 arduino control boards) Unless it is possible to have one board control everything. But I don't know.

 

Any ideas would be great.

 

Thanks,

Guido

  • Sign in to reply
  • Cancel

Top Replies

  • billabott
    billabott over 13 years ago +1
    Okay. Great. Borrow some ideas from this guy: http://70.66.73.1/arduino.html
Parents
  • billabott
    billabott over 13 years ago

    Okay.  Great.  Borrow some ideas from this guy: http://70.66.73.1/arduino.html

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • billabott
    billabott over 13 years ago

    Okay.  Great.  Borrow some ideas from this guy: http://70.66.73.1/arduino.html

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to billabott

    Sweet! that's what I need for the second part! But he's not showing full circuits and code... but I might be able to figure it out.

     

    For the scenery sounds I was thinking that maybe RFID might also be a viable option for triggering a sound.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 13 years ago in reply to billabott

    William

    beaten while typing.

     

    good link though

     

    mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • freddie43
    freddie43 over 9 years ago in reply to billabott

    billabott

    Thanks for the link, but I am afraid from UK (and 3 years later) the connection times out

    Do you recall the title of the piece, the author, or the full url?

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube