Count Slot Car Lap Times with the Launchpad

VoJT4’s first foray into micro-controllers involved taking a Launchpad and hooking it up to count lap times for his slot car setup. The LCD is  based off a HD44780 controller. The current version displays laps and lap times with a push-button to control the timer. This is also his entry into the June 2011 Project of the Month contest.

Car is detected by magnetic Reed switch (extracted from old keyboard) placed under each lane. I needed to use capacitor in parallel to the switch, otherwise many false interrupts were generated (one car triggering both lanes,…). TimerA is used to track time with interrupt generated 100 times per second.

 

Update(6/17/2011):

Code and Schematics can be obtained in his Forum thread.

 

1 Comment

Trackbacks/Pingbacks

  1. Slot car lap timer/counter - Hack a Day - [...] [Thanks Opcode via 43oh] [...]
  2. Slot car lap timer/counter | You've been blogged! - [...] [Thanks Opcode via 43oh] [...]

Submit a Comment

Your email address will not be published. Required fields are marked *


seven − = 3

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Join the best MSP430 blog on the net and stay up-to-date with our latest news, projects and design resources. We will not share your info with anyone.