I am using a passive infrared sensor TMP006 to make a burglar alarm. However I notice that the data returned is not accurate enough. Are there any other ways by which I can improve my accuracy. Or should I use an ldr on which I shine a continous beam of IR light which breaks when the burglar steps in?What do commercial burglar alarms use to detect motion?
The TMP006 is a PIR, but a temperature sensor. This should be used in a situation where the temperature to be measured is equal over the full viewing angle. That would require the burglar to be very close to the sensor, something he might not want to. LDRs are no use either, they detect light levels.
The common way to detect a person's presence is a PIR presence/motion detector. I've used the Panasonic NaPiOn for this, which at the time was the smallest existing PIR.
It has a matrix of detection zones, which, combined with the multi-faceted lens will detect even slight movements at meters distance.
Use is easy. It has three pins: ground, Vcc, and output. The output goes high if the sensor detects a person moving in its detection field.
NaPiOn design manual
AFAIK, LDR is not suitable for motion detection. I'm using PIR Motion Detector, works quite well.
Security system motion detectors use the detection mode of the combination of infrared and microwave, i.e. well-known dual technology. The microwave detection mode of the dual-technology detector is as follows: According to the Doppler Principle in physics, microwave sends at a frequency; when there is any moving object in its coverage range, microwave reflects at another frequency. Therefore, there is a frequency difference between the sending frequency and the reflection frequency. One's volume and moving speed can be gotten according to the detected variation. In combination with the infrared detected signals, the detector then performs operation processing of both triggering signals through the internal CPU chip, comprehensively analyzes relevant characteristics of the signals, and finally judges whether there is any invader in the visual area.