Passive InfraRed [PIR] hacking using a PIC12F683

Passive infrared or commonly known as PIR sensors are used differently from one module to another – which basically depends on the inteded application and the encoding integrated circuit used to generate and interpret the transmitted waves and feed backs from echos. This teardown began when Deepak got hold of a quorum RR-150 PIR sensor – he wants to be able to build a receiver for the sensor. the sensor module has a PT-2262 encoder and a DIP switch array that is used to generate signal variations – what are they for? well if you have multiple units of this running simultaneously you could end up jamming your own signal thus you need different patterns to differentiate one channel from the other.

Deepak used a RCR-433-AS receiver module and hooked it into a DisCo USB oscilloscope to be able to see and capture screen shoots of the transmitted waveforms and analyze them individually. Now for the main gaol of the project he utilized a PIC12F683 in an 8-pin DIP package. Using the PIC’s T1G port along with a timer and the receiver. The PIC’s counter starts counting when signal goes high and the result in the timer would be used to determine if it was a short pulse or a long pulse – the pattern of long and short pulses would correspond to a specific binary pattern. When in learning mode a push button is held then data  is stored in an EEPROM.

[..Source link..]

About Philip

San Francisco, Agusan del Sur CARAGA Region, Philippines
Bookmark the permalink.

Comments are closed.