/StopWatch-

Primary LanguageMakefile

StopWatch Project

A stopwatch is a timepiece designed to measure the amount of time that elapses between its activation and deactivation.

Table of contents

Structure


  • ATmega32 Microcontroller with frequency 1Mhz
  • Timer1 in ATmega32 with CTC mode to count the Stop Watch time.
  • six Common Anode 7-segments.
  • one 7447 decoder for all 7-segments and control the enable/disable for each 7-segement using a NPN BJT transistor connect to one of the MCU pins
  • 3 push Buttons


  • Features

    • Reset your stop watch

    Configure External Interrupt INT0 with falling edge. Connect a push button with the internal pull-up resistor. If a falling edge detected the Stop Watch time should be reset.

    • Pause your stop watch

    Configure External Interrupt INT1 with raising edge. Connect a push button with the external pull-down resistor. If a raising edge detected the Stop Watch time should be paused.

    • Resume your stop watch

    Configure External Interrupt INT2 with falling edge. Connect a push button with the internal pull-up resistor. If a falling edge detected the Stop Watch time should be resumed.

    Development

    Clone the repository and install all the necessary dependencies (eclipse is highly recommended)

     git clone https://github.com/Esraa-alii/StopWatch-
     

    UpComing

    • 🛠 Upcoming Features count down for your input time using keypad.