A simple burglar alarm: all posts

A timer with the DS1307 RTC chip: idea and connections

Hello again everyone, thanks to my dad’s suggestion, I’d like to use Arduino to turn on and turn off a lamp or any 220 V device at certain times of the week. So for example: -on Monday I want my lamp lights at 8.15 till 9.40, in the afternoon from 17.10 at 17.45. -on Tuesday, […]

Posted in english, Senza categoria | Leave a comment

The HC-ultrasonic sensor SR04 – ARDUINO

One of the initial ideas that I had in mind in the implementation phase of my anti theft was using an ultrasonic sensor for detecting distance. Then I used the PIR. Now I decided to study distance sensor and to read some documentation and datasheets. Measuring with this sensor is made by measuring the time […]

Posted in Arduino, english | Tagged | 1 Comment

A simple Arduino burglar alarm: the whole code

Finally I can post the complete code with the changes to the memory management !   Explanation: line 19: I define how many sensors I want to manage , in this case 5 line 51: call to a new function ( isPresenteSensore ) . This function ( line 322 ) takes as input the code […]

Posted in Antifurto, english | Leave a comment

A simple burglar alarm: managing arduino memory

It has been so long since I connect … but I swear , I was trying to put together code and study Eagle. I must thank the Arduino forum for all the valuable aids ! The hardest part was the memory management : I’m used to program in Net and having access to a few […]

Posted in Arduino, english | Leave a comment

A simple arduino burglar alarm: save sensor codes via web interface

As mentioned last time I want to make sure that the codes sensors can be stored in the EEPROM , all from a web interface ! Here’s the code that does this thing : The resulting web interface is as follow : (avoid comments 🙂 ) You must write in the browser the IP address […]

Posted in Antifurto, Arduino, english | Tagged , , , , , , | Leave a comment

A simple burglar alarm: save sensor code in the EEPROM

Here I am again , with flue … good excuse for not going to the gym and have fun with Arduino. As I said in the previous article I’d like to make code improvements : in particular I don’t want that sensor code are written in the code but I want to give to the […]

Posted in Antifurto, Arduino, english | Tagged , , , | 2 Comments

A simple burglar: code explanation

As told last week I want to comment the code. For convenience I copy it again: The “new” code is to power on/off the webcam from a client/browser. This new feature allows you to manage calls coming from browser to Arduino, acting as a server. In our case Arduino will listen incoming request at 8081 port as specified […]

Posted in Antifurto, Arduino, english | Tagged , , , , | Leave a comment

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 […]

Posted in Antifurto, Arduino, english | Tagged , , , , , | 1 Comment

A simple burglar Alarm: Ethernet shield connection

Hello again. I received ad home the Ethernet shield and it’s time to study it a bit! What I want to understand is how to send an email to my email address . The connection to the Arduino UNO is simple , a picture can explain better! (from instructables.com) We can connect the RJ45 socket to […]

Posted in Antifurto, Arduino, english | Tagged , , , | 22 Comments

A simple burglar Alarm: the noise sensor

The noise sensor FC04 is really easy to use. It only has 3 pins: Vcc, GND e SNG, therefore the connections I have established are the followings: Pin Receiver Pin Arduino Vcc 5 V GND GND SNG Pin 2 (digital) The sensor has a noise threshold set by a screw: if a noise  over the threshold […]

Posted in Antifurto, Arduino, english | Tagged , , , | Leave a comment

Rispondi