User manual
xiii
3.16
Call function to display the welcome and greeting
38
3.17
PIC 18F452 type
39
3.18
SK40C board
39
3.19
Distance sensor block diagram
40
3.20
a) Output distance sensor characteristic
b) Distance sensor (IR proximity sensor)
41
3.21
Relay schematic diagram
42
3.22
Relay circuit used in project
43
3.23
a) LCD 16x2
b) LCD shows occupant in
43
4.1
Programming successfully compiled
45
4.2
a) System in off condition
b) RB6 LED turn on when count greater than 0
c) LCD display “Full Count” for count equal to five
46
4.3
a) RB7 LED turn on shows error when RB1 pressed
more than 0.5 second
b) RB7 LED turn on shows error when RB0 and RB1
pressed more than 0.5 second
47
4.4
RB6 turn off when counter equal zero
47
4.5
a) Fluorescent lamp turn on
b) Total occupant is greater than zero
48