Thursday, January 30, 2014

Create A Digital Stopwatch

A digital stopwatch is a device used for measuring the time it takes to accomplish a task. It is used by pressing the start button when the task starts and pressing the stop button when the task is completed. The time elapsed will be displayed on the stopwatch. A stopwatch can also be used as a countdown timer. When using a stop watch, it is important that the time is measured as accurately as possible and hence, when building your own stop watch, it is essential to test the device to make sure the readings are accurate.


Instructions


1. Connect the buttons to the X board by placing them in the proper holes on the X board. The left button pins will be placed in holes C41 and C43 on the X board. The right button pins will be placed in holes C51 and C53. The buttons will be connected to the board by bending the wires under the board.


2. Connect the flexible wire. The left flexible wire will be placed in hole E41 and the right flexible wire will be placed in E51. These wires will then be connected to the buttons. The other end of the wire will be connected to the microcontroller in step 5.


3. Connect the orange wire to the board in holes A43 for the left wire and A53 for the right wire. The other end of the orange wire will be connected to the battery pack.


4. Connect one resistor to hole A41 and the other to A51 on the X board. These resistors are the grounding wires which will be used to keep the device grounded. Resistors have wires that will be used to make the connection.


5. Connect the flexible jump wires to the microcontroller. The microcontroller has its own set of ports that are lettered and numbered. The left flexible wire will be connected to port B5 on the microcontroller and the right flexible wire will be connected to port B4.


6. Program the microcontroller using a variable code. This is explained in the computer code for programming a stopwatch. (see Resources)









Related posts



    Make your own digital radio broadcast over the Internet.Internet radio has allowed amateur music lovers to create their own digital radio and run their own music stations. With a digital music pro...
    MP3 players are a convenient solution for transporting and listening to music in a variety of settings. Most MP3 players are small, have long battery lives and are compatible with standard headpho...
    DVD Plays ContinuouslyYou might want to make a DVD play continuously for several reasons. This works well at a wedding reception so a slide show can play all night. This way you can focus on the c...
    Troubleshoot a Dell Digital JukeboxThe Dell Digital Jukebox is a digital music player similar to the Apple iPod. Users can place their favorite music onto the Digital Jukebox and take it with them...
    What if you could always have a camera with you, to take pictures at a moment's notice? While many people carry cell phones with a built-in camera, it might not always be available for use, such a...