Вы находитесь на странице: 1из 2

COLLEGE OF ENGINEERING

Microprocessor Systems (EEEB373)

Project Proposal

By: Vahid Nahani: EP084662

Instructor: Ayuniza Bte Ahmad

Design and Program a Stopwatch by Using PIC Microcontroller

Introduction
A stopwatch is a handheld timepiece designed to measure the amount of time elapsed from a
particular time when activated to when the piece is deactivated. This stopwatch timer can be
designed and programmed by a high level programming or low level programming language
and using PIC Microcontroller to burn in to the assembled program which will process the
whole system of Stopwatch.

System Description
In this project I am going to design a Stopwatch by using PIC18F458 Microcontroller and
program it by using the low level language (assembly language). The software that needed to
write the assembly language is MPLAB Integrated Development Environment (IDE),
provided by Microchip. And also design the schematic diagram and showing the process in
flow chart.

The Stopwatch in this project is controlled by three buttons. Pressing the first button start the
timer running, the second button is stop the timer running and the third is reset the timer
running. And using a LED based on 7-segment display to show the work done by pic
microcontroller. The LED will indicate the timer running in two ranges: second: millisecond
(00:0). The software that is programmed will check or detect whether the start button is
pressed or not. If the switch is on the stopwatch ignition will start counting up with the delay
0.1 seconds which was programmed. Then the software will detect whether the stop button is
pressed or not. If the stop button is pressed the software is programmed to stop the counting.
This software is also programmed to detect reset button which the software will go to initial
program where it is initialized the input and output port and also the LED

Components used
Hardware:

1. PIC18F458 Microcontroller
2. LED-based 7-segment display
3. Switches (stop, reset and restart)
4. Resistors

Software:

1. MPLAB IDE to write low level language (assembly language) for the Stopwatch
progtram

Вам также может понравиться