Deprecated: Assigning the return value of new by reference is deprecated in /home/freehos1/public_html/blinki/wp-settings.php on line 520

Deprecated: Assigning the return value of new by reference is deprecated in /home/freehos1/public_html/blinki/wp-settings.php on line 535

Deprecated: Assigning the return value of new by reference is deprecated in /home/freehos1/public_html/blinki/wp-settings.php on line 542

Deprecated: Assigning the return value of new by reference is deprecated in /home/freehos1/public_html/blinki/wp-settings.php on line 578

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/freehos1/public_html/blinki/wp-settings.php on line 18

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1244

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/classes.php on line 1442

Strict Standards: Redefining already defined constructor for class wpdb in /home/freehos1/public_html/blinki/wp-includes/wp-db.php on line 306

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/freehos1/public_html/blinki/wp-includes/cache.php on line 431

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/freehos1/public_html/blinki/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/freehos1/public_html/blinki/wp-includes/comment-template.php on line 0

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /home/freehos1/public_html/blinki/wp-includes/class.wp-dependencies.php on line 31

Strict Standards: Redefining already defined constructor for class WP_Http in /home/freehos1/public_html/blinki/wp-includes/http.php on line 61

Strict Standards: Redefining already defined constructor for class SimpleGoogleSitemap in /home/freehos1/public_html/blinki/wp-content/plugins/simple-google-sitemap/simple-google-sitemap.php on line 46
A stop watch design with 89c51 microcontroller:made easy | Blinki Blog - 2 GB FREE
Home > Electronics project idea, News > A stop watch design with 89c51 microcontroller:made easy

A stop watch design with 89c51 microcontroller:made easy

January 29th, 2011 Remo Leave a comment Go to comments

First of all what is a stop watch  and the idea how we can build that with the help of low cost microcontroller named atmel 89c51 .
Here only the ideas are given. And also what are the things required as well as the concepts are given here. There are plenty of materials on the internet to get the circuit etc but they won’t explain the circuit and general concept ,that’s why this note is required to get some idea about the concept on what you are going to build rather copying only the circuit and soldering etc.

Stop watch is just a watch which we start and timing starts and when stopped it shows the time elapsed. This is type of watch is very good for sports etc events as well as whenever you want to measure some “how much time elapsed in an event “.

You need to write microcontroller codes to show the time on a LCD display.
So what are the things you need to write as code (89c51 code)

We know that 8051 can be used to generate pulses with a particular duration.
So just be writing some code we can generate a pulse having proper width. Say we want to generate some delay with the microcontroller 8051(note:I am mentioning  8051 as 89c51 is the part number by atmel and actually there is 8051 core inside).
So once we can generate a delay ,so it is also possible to create a delay of  x seconds ,and also possible to generate delay of  60 seconds and so 1 min and so on. We just need to update and display the things on the LCD, The main things involved in the embedded program is that the delay generation part as well as the LCD part.
Before you start the clock just reset switch(a pin of 89c51) when reset switch pressed then all the digits made zero and then started from ? 00:00:00.
The display routine will do that I mean when reset pressed then make all the digits 0 in LCD module.

Display:
We need to write a display routine for the LCD  module.
How ? How we  can write display module routine. The answer is just see the LCD display functions and details of pin etc and interface that with the 89c51 microcontroller  and write your interface routine  by 89c51 codes.
Then just  have to display properly display update the digits.
Say after 60 seconds update the minute part in LCD (i.e increase by one ) after 60 minute update the hour part in the display so on.

When you stop the watch just  stop the delay  generating part as well as LCD updating part. So the watch will show the time elapsed.
If you want to implement this project please write your query as comment, I will try to answer that .

Categories: Electronics project idea, News Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.