RPM
Digital RPM indicator

I made a circuit for RPM measurement based on an Atmel ATtiny24 to drive a Hitachi 44780 parallel interface character LCD. It uses an external interrupt request and INT0 to calculate the elapsed time between high/low transitions on the INT0 pin. The elapsed time is then converted to RPM and sent to the LCD. The code will work from RPM values up to 999, and a variable timeout is used for a low cutoff to display 0RPM. The RPM range could be extended to 9,999 or higher by modifying the decimal to BCD routine at the end of the program.

Here is the source code, it compiles with AVR Studio and AVR-GCC. › Continue reading
What I do
Recent Posts
- Pressure mapping with DIY foam load cells
- SMS remote control
- Flatbed scanner panoramic camera
- DIY Router table
- Build a 9-digit Pulse Counter for under $20
- Trailer turn signal update
- PCB layouts and schematics for my CNC
- Build a spot welder from a battery charger
- MAX4173 Current sense amplifier
- LED backlit desk sign
Archives
- August 2010 (1)
- July 2010 (3)
- April 2010 (2)
- March 2010 (2)
- January 2010 (2)
- December 2009 (2)
- October 2009 (2)
- September 2009 (1)
- August 2009 (15)