Experimental method was used to determine the detection distance and angle of the final prototype shown in Figure 6. The components in prototype are the following: interface IC chip is BD9251FV [8], MCU is MC97FI104 [9], PIR sensor is RE431B [10], Fresnel lens is PF08-10W [11], and a solenoid shutter. The resistor and capacitor value used are the same RC network of the data sheet of BD9251FV. The supply voltage is DC 5V. The firmware was developed using OCD2 emulator, a debugger, and standard 8051 compiler [9].
Figure 8 shows the measurement environment for performance testing. The measured object for thermal of infrared was participated by a graduate student. The sensing module and measuring object are located above the fluorescent light, and it turns off and on, respectively. While the distance and angle detection were measured by following the movements of the student.