Uploaded by akilaxorin.1718

stopwatch

advertisement

ANIL NEERUKONDA INSTITUTE OF TECHNOLOGY AND SCIENCES

(Approved by AICTE, Affiliated to Andhra University & Accredited by NBA, NAAC with Grade’A’)

Sangivalasa-531162, Bheemunipatnam Mandal, Visakhapatnam Dt.

Phone: 08933- 225084,226395

Website: www.anits.edu.in

e-mail: Principal@anits.edu.in

DEPARTMENT OF ELECTRONICS AND COMMUNICATION

ENGINEERING

Microcontrollers and Embedded Systems-Assignment-I

04 th January, 2019

Stopwatch using a Microcontroller

Project Members :

1.

2.

3.

B.S.L. Akhil 316126512016

P.Avinash 316126512044

P.Akhil 316126512045

Project Description:

The basic concept behind the project is to design and implement a microcontroller based stopwatch using PROTEUS software.

The stopwatch is used to measure the time required for an event. This differs from ordinary clocks in many ways, one of which is the accuracy of time. The stopwatch requires much more precision than a normal clock. Here

the 8051 microcontroller is used to control the stopwatch through which accuracy can be guaranteed.

The input and output circuitry includes switches and a 16x2 Liquid Crystal

Display (LCD) respectively. The functioning of the circuit is described below.The crystal oscillator is connected between pins 18 and 19 for having clock signal. The ports 1 and 2 are used for interfacing the 16X2 LCD. When the SPST switch is pressed after executing the code then the count increments by one and goes on till the switch is pressed again. Now the count will be stopped and the total time will be displayed on LCD screen. In order to have make the value stand on the screen for a long time the delay function is used.

Circuit Diagram (Obtained from Proteus software)

Overall circuit of the project.

Components used:

Enlist the components used in your circuit here(along with specifications- if necessary)

Program:

Program in Embedded C or Assembly language must be placed here. Comments must be included.

Program Description:

Explain logic of your program here.

Conclusion / Result :

Download