Digital Speedometer cum Odometer  


Project is bulit using AT89S52 microcontrroller which is basically an 8052 derivative by ATMEL, The concept behind the project is that we can count the number of revolution of wheel by putting a megnetic sensor like reed switch or hall sensor on rotating wheel. First i generate an approximate delay of one second using simple for loop technique with a crystal value of 11.0592 MHz. I turn on the timer1 of AT89S52 for one second as counter and turned it off by pulling TR1=0 after one second. in this way i got the number of pulses coming in a second , which directly refelects the speed in Km/sec or Mt/sec. This let you know the speed of your vehicle.

Click here to see complete C source code for this project compiled using Keil uVision3 compiler


devesh@electroons.com
Best viewed at Firefox 1024x768 resolution