Jump to content
Electronics-Lab.com Community

motion detector, N.C COM


Recommended Posts

i had bought a motion detector(Paradox DG55). It has 6 pins: N.C, COM, +i/p. -i/p, 2 pins for anti-tamper switch.

Some info from the data sheet:
Alarm output: Form A relay 100mA/28Vdc, N.C (optional form C relay 500mA/30Vdc, N.C/N.O)
Anti-tamper switch: 150mA/28Vdc, N.C
Voltage input:: +12Vdc

Normally motion detector is connected to alarm. But in my project, my idea is to connect the output of this motion detector to a ToothPIC microcontroller.
So when motion is detected, the motion detector will send an output voltage which is connected to input pin of ToothPIC. So the ToothPIC microncontroller is activated everytime when there is an motion detected by the sensor.

I'm not sure whether this idea is correct or not.
And i want to measure the output voltage of the motion detector(because the input voltage of ToothPIC is only 5-10Vdc).

My prob is i don't know how to connect those equipments together.
Can anyone teach me how to connect the motion detector with power supply and which pins to be tested with multimeter in order to get the sensor output voltage???

High appreciation to all of u guys reply and help.
Thanks very much.


i guess it don't have N.O because in the data sheet is stated "N.O optional": Form A relay 100mA/28Vdc, N.C (optional form C relay 500mA/30Vdc, N.C/N.O) , am i right???

Link to comment
Share on other sites


from the power supply, i connect the +12Vdc to +i/p, then ground should go to -i/p or COM?

since the sensor only have N.C and COM, i/m wondering does it mean when motion is detected, the N.C relay switch will open and no output voltage will trigger the PIC. Is my concept correct?

pls advise. thanks very much.

Link to comment
Share on other sites

Won't 12V applied to the input of a ToothPIC blow it up?

Connect the detector's COM to the ToothPIC's ground.
Connect the relay's contact and a 10k pullup resistor (from the ToothPIC's supply) to the input of the ToothPIC.
The normally-closed relay contact will apply a logic low to the ToothPIC when there is no motion. When motion is detected then the relay contact opens and the pullup resistor applies a logic high to the ToothPIC.
The normally-closed contact detects tampering. When the wires are cut then you get an alarm. A smart thief would just short the relay contacts then you need another method to detect him.

Link to comment
Share on other sites


thx very much for audioguru reply.
But the N.C and pullup resistor connected to ToothPIC input are as series or parallel?




i mean is it place the pullup resistor between the ToothPIC input and the N.C contact?
or
place the pullup resistor between the ToothPIC input and a +Vcc?? if so, the +Vcc should be +12Vdc (same source wit detector +12V i/p) or another pwr source +5Vdc (ToothPIC i/p requirement)??
Link to comment
Share on other sites

The Vdd of a ToothPIC is +5V. Input voltages must not exceed +5.5V. You can power its built-in 5V voltage regulator with +12V if you want.

1) Connect the COM of the detector to the ToothPic's Vss (ground).
2) On the ToothPIC, connect a 10k pull-up resistor from Vdd (5V) to the input to provide a +5V logic high.
3) Connect the NC relay contact also to the the input of the ToothPIC to provide a logic low.

When there is no motion the input is low. When motion is detected the input is high.
12V operates the detector and no voltage is on its relay contact until you connect it to the ToothPIC's input with the pull-up resistor.

Link to comment
Share on other sites

ya, i followed your way and the sensor can work already.

But when motion is detected, the output of the sensor is very small(<1V), unstable, discontinous and only trigger for around 3 seconds. It's not as the expected +5V. After 3 seconds, it wil back to ready state(0V) again.
This is not enough to trigger the ToothPIC to work properly.

I plan to have a OP-AMP to boost the voltage. But how about the problem of discontinous output?

Any idea or better solution for that?
thank q very much for your advise.

Link to comment
Share on other sites


But when motion is detected, the output of the sensor is very small(<1V)

You said that the output of the detector is a normally-closed relay contact. The relay will open its contact when it detects motion. The 10k pull-up resistor to +5V allows the input to the ToothPIC to go to +5V, not less than 1V.

unstable, discontinous and only trigger for around 3 seconds.
After 3 seconds, it wil back to ready state(0V) again.

Maybe that is the normal operation of the motion detector.
Link to comment
Share on other sites

yaya..sorry..you are right, i made a mistake.
i got the "unexpected output" is because i connect wrongly some wiring.

ya, the output is +5V when moton is detected. But it only last for 3 seconds, then the  sensor will go back to ready state (0V).

How to make the output voltage last longer so that the ToothPIC can have enough  time to perform its task? (last 10seconds will be good enough).

Appreciation and Thanks for helping. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...