User manual

24
devices for a specific project. Within each device family, we usually find a selection
of family members, each with different combinations of options. In this project, a IC
PIC 18F452A chosen because it is suitable for multitasking programs and serial
communication [1].
As a starting, SK40C is a start-up kit used to test this project with variable
input and output. In this system, the input will come from the sensor that detect
visitor while the output is a LCD display and connected to a relay which interface
with the lighting system.
After considering all the possibilities and analyze the data, the flowchart of
the program is needed to understand and summarize the idea of this system. This
flowchart will be used to write the control program. Flowchart below shows the flow
on how generally microcontroller works and how it counting visitor using a specific
idea.