Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Arduino Scale Speedometer

4988 views
1 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    December 2016
  • 9 posts
Arduino Scale Speedometer
Posted by KK4HFJ on Wednesday, December 7, 2016 2:41 PM

I created a scale speedometer that uses two IR sensors between the rails, and when a train travels over the sensor. the IR light is reflected back to the integrated photosensor. This starts a timer. When the train crosses the second sensor, the timer is stopped, and the distance vs time multipied by the scale reads out the scale speed on a 7 segment display, conveiently monted through the side of a scal shipping container on the layout. It's a big hit with visitors, and helps us calibrate our dcc engines.

 scale speedometer

Tags: Arduino , DCC , speedometer

Steve Spence

KK4HFJ (Ham Radio)

http://arduinotronics.blogspot.com

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Wednesday, December 7, 2016 5:28 PM

 Nice! That another project I had in mind. Did a little bit of working on the timing calculation, but I didn;t have any suitable IR sensors - just ordered some. I do have an I2C 4 digit LED, although there are enoug pins to just multiplex one of the other ones I have that doesn't have the driver.

                         --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!