Stopwatch using keypad and counter
- Keil IDE
- Flash Magic
- 8051 microcontroller
- Driver ULN 2803
- 7-segment displays (x4)
- Buzzer
- Hex keypad
- Connect 7-segment displays to the 8051 microcontroller as shown in the following diagram:
- Connect hex keypad to the 8051 microcontroller as shown in the following diagram:
- Connect buzzer to P1.5 of the 8051 microcontroller
- Open Keil and create new project
- Choose Philips P89V51RD2 database
- Add stopwatch.c file to Source Group
- Build target
- Use Flash Magic to write the resulting hex file to the 8051 microcontroller
Pushing "A","B", and "C" on keypad starts, stops, and resets the time on the display, respectively. Current count shown is 0293.
- Sahil Mahajan
This project intentionally has no license.