As any respectable alarm system, the Pinguino alarm must have attached a motion detector. In this case I have chosen a DSC LC100PCI sensor.
Even if it's a very popular model, with a respectable brand name on it there must be other things that catch out interest.
First of all, when choosing a PIR sensor you have to take a close look to your specific application.
- it's an interior survey ?
- exterior ?
- 24 / 7 ?
- only day time, only night time ?
- wide or small area ?
- there are animal pathways in the surveillance area ?
- other false alarm triggers ?
In my case, the alarm system must watch over a 6 sq meter room, with 2,5 meters hight, no animals and other false alarm triggers.
After setting up this definitions we take the sensor that is more apropriate to our application and open it, and here begins the fun part.
This is how the LC100PCI looks disassembled.
On the PCB you can notice the PIR sensor (yellow indicator), and the SSR output relay (red indicator). I was expecting for a regular electromagnetic relay with NC / NO contacts but instead I found that it was equiped with a CPC1017N solid state relay with only NC capability.
There is absolutely no problem interfacing the sensor with the PIC 18F4550 since the digital inputs can be used either in positive logic, or in negative.
In the sensor manual you can find all the detalis you ever need for install, conect and setup.
And that's all for now. Untill next time have fun with PIR and Pinguino :) .
Even if it's a very popular model, with a respectable brand name on it there must be other things that catch out interest.
First of all, when choosing a PIR sensor you have to take a close look to your specific application.
- it's an interior survey ?
- exterior ?
- 24 / 7 ?
- only day time, only night time ?
- wide or small area ?
- there are animal pathways in the surveillance area ?
- other false alarm triggers ?
In my case, the alarm system must watch over a 6 sq meter room, with 2,5 meters hight, no animals and other false alarm triggers.
After setting up this definitions we take the sensor that is more apropriate to our application and open it, and here begins the fun part.
This is how the LC100PCI looks disassembled.
On the PCB you can notice the PIR sensor (yellow indicator), and the SSR output relay (red indicator). I was expecting for a regular electromagnetic relay with NC / NO contacts but instead I found that it was equiped with a CPC1017N solid state relay with only NC capability.
There is absolutely no problem interfacing the sensor with the PIC 18F4550 since the digital inputs can be used either in positive logic, or in negative.
In the sensor manual you can find all the detalis you ever need for install, conect and setup.
And that's all for now. Untill next time have fun with PIR and Pinguino :) .
Niciun comentariu:
Trimiteți un comentariu