Skip to content

This is a C code for making a StopWatch timer using Atmega32 MicroController and circuit was implemented using Proteus tool

Notifications You must be signed in to change notification settings

OmarRamzy45/StopWatch_Timer_C_language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

StopWatch

The image below shows the circuit of the stopwatch. It consists of a 7-segment connected to Atmega32 using multiplexed technique. A 7447 Decoder was used to control the numbers displayed on the 6 digits of the 7-segment. and three push buttons were connected to generate interrupts to pause, resume and reset the stopwatch!

Screenshot_2

Circuit Specifications:

  • ATmega32 Microcontroller with frequency 1Mhz.
  • Timer1 in ATmega32 set to CTC mode.
  • six Common Anode 7-segments.
  • 7447 decoder 4-pins connected to the first 4-pins in PORTC.
  • First 6-pins in PORTA as the enable/disable pins for the six 7-segments.
  • To stop the watch External Interrupt INT0 with falling edge is generated by push button with the internal pull-up resistor.
  • To pause the watch External Interrupt INT1 with raising edge is generated by a push button with the external pull-down resistor.
  • To reser the watch External Interrupt INT2 with falling edge is generated by a push button with the internal pull-up resistor.

That's All. Hope you found this useful. Thank you for reading :)

About

This is a C code for making a StopWatch timer using Atmega32 MicroController and circuit was implemented using Proteus tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages