Skip to content

sahily/stopwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stopwatch

Stopwatch using keypad and counter

Getting Started

Requirements

  • Keil IDE
  • Flash Magic
  • 8051 microcontroller
  • Driver ULN 2803
  • 7-segment displays (x4)
  • Buzzer
  • Hex keypad

Installing

  1. Connect 7-segment displays to the 8051 microcontroller as shown in the following diagram:
  2. Connect hex keypad to the 8051 microcontroller as shown in the following diagram:
  3. Connect buzzer to P1.5 of the 8051 microcontroller
  4. Open Keil and create new project
    • Choose Philips P89V51RD2 database
  5. Add stopwatch.c file to Source Group
  6. Build target
  7. Use Flash Magic to write the resulting hex file to the 8051 microcontroller

Example

Pushing "A","B", and "C" on keypad starts, stops, and resets the time on the display, respectively. Current count shown is 0293.

Authors

  • Sahil Mahajan

License

This project intentionally has no license.

Releases

No releases published

Packages

No packages published

Languages