User manual
52
7. Function of reset button.
A reset button on SK40C can be reset only if the system is unreliable. There are a
few possibilities such as the counter did not detect a person when they go in but
when they went out, there are one person left inside the room, so the counter will
be negative count. This is where reset button used to reset the total data of
occupant.
Distance sensor had been used in this project. Based on this sensor, analog to
digital must be used to convert the output from sensor to digital as the input for PIC.
And this ADC programming had been embedded to the PIC in the coding part.
Furthermore, this project had been improved with a few function which the sensor
will detect the height of the person pass through the entrance. This calculation of
height is made to suit the height of the door in the laboratory at FKE. As the distance
sensor had been use, the maximum expediency of the sensor give some benefit
through this counter.
4.2.2 Problem of the overall system
However, there are a few problems due to the programming that reduce the
flexibility of this system. Some of the time that the sensor is unreliable due to some
error, the microcontroller failed to read the output from sensor and consequences to
this counter will ignore the counting. Therefore, occupant entering the laboratory will
not equal to the occupant that leaves the room.