stluna
Posts: 2
Joined: Wed Oct 23, 2013 1:19 am

Help needed by a beginner

Wed Oct 23, 2013 1:28 am

Hello guys,

I am thinking of doing a project that detects motion. I have the whole idea but the problem is how to implement it. I want to use 3 PIR sensors, a Rasberry pi and a camera. The sensor is to detect motion and it triggers the camera which takes a picture of the intruder. I plan on using 3 sensors so as to have a larger coverage and I want to implement some security measures on the sensor, maybe Zigbee. Please anyone out here who can help me in figuring how to implement this idea.

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Help needed by a beginner

Wed Oct 23, 2013 8:02 am

Are you planning to use the Pi's own camera module? It may make a difference.

There is a package called motion which (very simply stated) continually monitors a camera and can save a video when it detects motion. If the camera covers the field of interest you could do without the external motion sensors. If the camera doesn't cover the field of view you'll have to find a way of orienting the camera at the target and will need the external sensors.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Help needed by a beginner

Wed Oct 23, 2013 8:04 am

stluna wrote:I am thinking of doing a project that detects motion. I have the whole idea but the problem is how to implement it. I want to use 3 PIR sensors, a Rasberry pi and a camera. The sensor is to detect motion and it triggers the camera which takes a picture of the intruder. I plan on using 3 sensors so as to have a larger coverage and I want to implement some security measures on the sensor, maybe Zigbee. Please anyone out here who can help me in figuring how to implement this idea.
That sounds 'doable'. If you can't implement it, break it into smaller components that you can tackle.

For example. Connect a camera and work out how to get it to take and store an image 'on demand'. The sensors are essentially just switches. So connect a switch and work out how to detect when the switch has been closed. Both those simple sub-projects are very likely to have existing online documentation or tutorials that a Forum search or Google search will find for you. After that you just have to fit the pieces together.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

stluna
Posts: 2
Joined: Wed Oct 23, 2013 1:19 am

Re: Help needed by a beginner

Thu Oct 31, 2013 8:47 pm

joan wrote:Are you planning to use the Pi's own camera module? It may make a difference.

There is a package called motion which (very simply stated) continually monitors a camera and can save a video when it detects motion. If the camera covers the field of interest you could do without the external motion sensors. If the camera doesn't cover the field of view you'll have to find a way of orienting the camera at the target and will need the external sensors.


yes i plan to use the PI's camera module and i want to use it to only take pictures

ChadRpi
Posts: 51
Joined: Sat Nov 02, 2013 3:29 pm

Re: Help needed by a beginner

Sat Nov 02, 2013 4:28 pm

I just did a very quick trial with 'Motion'.

I came across a problem and a temporary work around.

Once it was all set up I went to the IP address i.e. 192.168.x.xxx:8081.

This web page only displayed in SAFARI ! it would not show up in internet explorer and neither in chrome.

I do not know why this is so if anyone finds out why and how to fix it it would be most appreciated.

HeroS_NL
Posts: 17
Joined: Mon Nov 04, 2013 10:07 pm

Re: Help needed by a beginner

Mon Nov 04, 2013 10:21 pm

It is probably a browser related problem.. I saw somewhere that chrome (older versions) cannot view such motion jpeg's. I suggest updating your browsers, or either stick to safari!

ddoshi_smartenit
Posts: 11
Joined: Tue Oct 16, 2012 4:58 pm

Re: Help needed by a beginner

Tue Nov 12, 2013 7:17 pm

You could try using the HomAidPi solution. Install the software, buy a Zigbee Motion Sensor and you are ready to go.

Return to “Beginners”