---
title: "A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together"
url: "https://maker.wiznet.io/Alan/projects/a-simple-burglar-alarm%3A-motion-sensor%2C-noise-sensor-and-ethernet-shield-all-together/"
markdown_url: "https://maker.wiznet.io/Alan/projects/a-simple-burglar-alarm%3A-motion-sensor%2C-noise-sensor-and-ethernet-shield-all-together/md"
type: "UCC: User Created Content"
author: "Giuseppe"
author_url: "http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-to"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Giuseppe"
original_url: "http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-to"
published: "2022-09-02"
language: "en"
hardware: ["Arduino Ethernet Shield", "Arduino Nano R3"]
likes: 7
views: 1584
comments: 1
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# 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.

Original author: Giuseppe (source: http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-to)

## Components

- **Arduino Ethernet Shield** x 1 ([docs](https://docs.arduino.cc/retired/shields/arduino-ethernet-shield-without-poe-module))
- **Arduino Nano R3** x 1 ([docs](https://www.farnell.com/datasheets/1682238.pdf))

## Article

## [**A simple burglar Alarm: motion sensor, noise sensor and ethernet shield all together**](http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-together/)

[3 February 2015](http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-together/) [Leave a comment](http://www.jucetechnology.com/wordpress/simple-burglar-motion-sensor-noise-sensor-ethernet-shield-together/#respond)

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](http://www.amazon.it/gp/product/B0052BTOUE?psc=1&redirect=true&ref_=oh_aui_detailpage_o08_s00)).

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](http://www.amazon.it/Avidsen-103102-Presa-Telecomando-Pezzi/dp/B004RF9ZXM).
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 code | power strip turn off code |
| --- | --- |
| 1394001 | 1394004 |

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

Here is the final result:

![](https://giuseppescola.files.wordpress.com/2014/11/img_4507.jpg?w=300)![](https://giuseppescola.files.wordpress.com/2014/11/img_4506.jpg?w=300)

![](https://giuseppescola.files.wordpress.com/2014/11/img_4505.jpg?w=300)

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**

| **Vcc** | 5 V |
| --- | --- |
| **GND** | GND |
| **SNG** | Pin 5 (digital) |

**Receiver sensor at 433 Mhz**

| **Receiver Pin** | **Pin Arduino** |
| --- | --- |
| **Vcc** | 5 V |
| **GND** | GND |
| **DATA** | Pin 2 (digital) |

**Trasmitter Sensor 433 Mhz**

| **Trasmitter Pin** | **Pin Arduino** |
| --- | --- |
| **Vcc** | 5 V |
| **GND** | GND |
| **DATA** | Pin 9 (digital) |

---

Source: https://maker.wiznet.io/Alan/projects/a-simple-burglar-alarm%3A-motion-sensor%2C-noise-sensor-and-ethernet-shield-all-together/
