Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Connecting a PIR sensor to IP cam

  • 17-01-2015 6:53pm
    #1
    Registered Users, Registered Users 2 Posts: 2,279 ✭✭✭


    Hi all,

    I've been spending the evening in vain trying to set up my wansview NC541W IP camera to trigger its alarm from a PIR sensor.

    I currently have my security setup with a raspberry pi running motion and it works okish, but I find that it often doesn't capture pictures quickly enough and is often triggered by light etc.

    I decided to try and hook up a PIR sensor instead and then trigger an FTP upload from the camera itself. This hopefully should be a lot more accurate.

    In the web cam manual it states that Pins 1 and 2 are for alarm input:
    335457.jpg

    I got myself a PIR sensor and hooked it up to the camera.. however when I armed the alarm input, it just triggered alarm every every 30 seconds, regardless of the PIR sensor being connected or not. It seems like the camera completely ignores the attached sensor. The alarm trigger level is set to high on the camera, i.e when voltage is supplied.


    I tried with both the VCC output and ground in pins 1 and 2 with no luck.

    Here is my PIR sensor:
    335462.png

    and here is my input into the camera:
    335461.png

    I am powering the PIR off of a usb cable (the black wire in the usb cable):
    335460.jpg

    Has anyone got any ideas? Is it just that its a cheap camera and this just wont work how I want it to?


Comments

  • Registered Users, Registered Users 2 Posts: 368 ✭✭backboiler


    Do you have the USB supply ground connected to the camera's power supply ground? This is required to ensure the PIR module and camera agree on the I/O pin's voltage level.

    Another possibility is that the output level of the PIR module is the inverse of the camera's I/O pin's expectation. That is, camera may expect active low input but PIR has active high output. A logic inverter would fix this, if applicable.

    As well, there are a lot of clones of the original IP camera design going around and this may be one. They look the same but have different software running on the processor, so may not use the I/O ports in the same way, or may not even even use them at all.


Advertisement