A design for a stop watch using ATmega16/32 M.C.(with AVR M.P.) consisting of six 7-segments; two for seconds, another two for minutes and the last for hours. The 7-segments are always displaying their read without any off times unless we stopped the clock. Here we have 3 buttons; one for Reset the stop watch, one to stop it without powering off and the last one to resume.
1- Download an IDE that have an AVR package (I recommend eclipse for you)
2- Download the AVR package and install it on eclipse (ask google if stuck first and if still don't hisitate to contact me)
3- Create these 4 .c & .h files with same names
4- Copy the code in each own file
note: ofcourse if you have an eclipse IDE working with an AVR package you only have to download the project, un zip it and open it on eclipse
5- Build it
6- Go to Protues file and open it
7- Double click on the micro controller and choose the program file (.elf) from the debug folder in the project folder
8- Click run
9- Enjoy your timer and please if you recognize any weird action in the simulation please notify me