Skip to content

A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together

read motion sensors data
read sensor noise data
connected the ethernet shield and sent an email

At this point we can put all together.

Alan

Published September 02, 2022

Original author: GiuseppeOriginal source (new tab)

A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together

Components

Hardware components

Project description

A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together

I’m back … forced home by the Seveso  flood (a river here in Milan) I take this opportunity to update the blog.

In previous post we have :

  • read motion sensors data
  • read sensor noise data
  • connected the ethernet shield and sent an email

At this point we can put all together.

But i want also to use the webcam I have at home (model D-Link DCS-930L).

I don’t want to let on the webcam the whole day, I want to turn on only if a movement/noise is detected and I want to be able to turn on or off  from intenet.

I decided to buy a wireless power strip like this.
I can connect webcam to power strip and turn or/off the power strip (and then the webcam) with Arduino.
I have only to know the power strip sensor code as done in the previous post with the movement sensor.

Using the power strip remote I read this codes:

power strip turn on codepower strip turn off code
13940011394004

Now I have all the codes I need. Now I have to connect wireless trasmitter to Arduino.

Here is the final result:

A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all togetherA simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together

A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together

I had to modify the connections made in the previous posts because ethernet shield use exclusively pin 10,11,12 and 13 .

Here we are the new connections between arduino and trasmitter and receiver modules.

 

Noise sensor

Vcc5 V
GNDGND
SNGPin 5 (digital)

 

Receiver sensor at  433 Mhz

Receiver  PinPin Arduino
Vcc5 V
GNDGND
DATAPin 2 (digital)

 

Trasmitter Sensor 433 Mhz

Trasmitter PinPin Arduino
Vcc5 V
GNDGND
DATAPin 9 (digital)

Comments

Comments