Escolar Documentos
Profissional Documentos
Cultura Documentos
Living
Outside
Play
Technology
Workshop
Table of Contents
Smart home with arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 1: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2: Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3: Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 7: Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Step 8: Port forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Step 9: NO IP (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Step 10: Test it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Step 11: EDIT: android app source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
http://www.instructables.com/id/Smart-home-with-arduino/
Author:Nikus
arduino poland
Hi. My name is Nikodem. I live in Poland, I'm 15 years old. I like to program and invent new things. In the future, I want to start a company that inventing new
things.
Step 1: Parts
All the parts cost me $90
-arduino
-ethernet module ENC28J60
-thermometer DS18B20 x2
-microphone module
-rain sensor
-PIR sensor
-reed switch
-relay
-resistor 4,7k ?
-twisted-pair cable
-ethernet cable
-tools (soldering, screwdriver)
http://www.instructables.com/id/Smart-home-with-arduino/
Image Notes
1. rain sensor
2. relay
3. ENC28J60
4. DS18B20 thermometer
5. resistor 4,7 k
6. microphone module
7. reed switch
8. PIR sensor
9. breadboard
10. Arduino
11. DS18B20 thermometer
Step 2: Connection
Above I added picture from fritzing with connection. If you have a problem with it leave a comment.
http://www.instructables.com/id/Smart-home-with-arduino/
Step 3: Program
First you need to do is download, extract and import this library to arduino IDE. You can upload this program to your arduino. In the comment is an explanation of the
code.
File Downloads
smart_home.ino (5 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'smart_home.ino']
Application is translated to english and polish. In browser you can turn on and off light but in app not because I can't do that, sorry.
http://www.instructables.com/id/Smart-home-with-arduino/
Image Notes
1. settings
http://www.instructables.com/id/Smart-home-with-arduino/
Image Notes
1. click file manager
http://www.instructables.com/id/Smart-home-with-arduino/
Image Notes
1. click smartHome.apk
Image Notes
1. click package installer
Image Notes
1. and click install
File Downloads
http://www.instructables.com/id/Smart-home-with-arduino/
http://www.instructables.com/id/Smart-home-with-arduino/
http://www.instructables.com/id/Smart-home-with-arduino/
http://www.instructables.com/id/Smart-home-with-arduino/
Step 7: Browser
Type in your browser your ip / all. There you can see all the data and turn on and off light.
You can use this instead of the application on android.
http://www.instructables.com/id/Smart-home-with-arduino/
Image Notes
1. click on port forwarding
2. click on advanced
3. and set this
4. click save
Step 9: NO IP (optional)
You can set up an account at no ip but this is not necessary. In the picture above you can see how to configure it.
Image Notes
1. enter your ip
2. Choose hostname
File Downloads
smartHome.rar (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'smartHome.rar']
http://www.instructables.com/id/Smart-home-with-arduino/
Related Instructables
Arduino Based
Send SMS from Automated
Arduino over
Lighting Control
the Internet
by rmagtibay
using ENC28J60
and Thingspeak
by lucasxavier11
Webserver for
home
appliances
control by Milen
How to use
Arduino to turn
on a lamp
remotely,
directly from
your
iPhone/Android
by jackbell16
Add Ethernet to
any Arduino
project for less
than 10$ by
hansc44
Advertisements
Comments
41 comments Add Comment
pshrn says:
for how much maximum distance from the mobile will this circuit work ?
Nikus says:
You can read data from all over the world (if you have internet)
VimalP says:
ahmedsaad.zizou says:
We are in the process done an excellent project and thank you and hope to stay in touch with us
Thank you thank you thank you thank you Nikus
pshrn says:
hey
can i use arduino uno instead of arduino leonardo?
Nikus says:
Yes, you can use uno but you need to download library enc28j60.zip from
http://www.instructables.com/id/Smart-home-with-arduino/
Max_valentine says:
iam_maker_leo says:
Sasando_Rote says:
mantap neh...
aymen.mhili says:
aymen.mhili says:
thanos.boutros says:
zx lee says:
DOA_Brain says:
to access the arduino from the Internet you need to enable port forwarding in you router. like the instructions mentions.
rbright says:
DOA_Brain says:
http://www.instructables.com/id/Smart-home-with-arduino/
Nikus says:
zx lee says:
Nikus says:
Hi!
First of all, thank you. DOA_Brain is right you need to open ports on your router.
uzziah0 says:
Nikus says:
geekOmat says:
Nikus says:
Build_it_Bob says:
Very nice Nikus , I enjoyed your Instructable very much. Very nice fritzing sketch too!
Build_it_Bob
Nikus says:
Thanks :)
andreyeurope says:
Hi. I would be really grateful if you will show us and explain the android code.
http://www.instructables.com/id/Smart-home-with-arduino/
Nikus says:
andreyeurope says:
Thanks. That helps me developing new applications and understanding better Android code.
infomaniac50 says:
gmbandeira says:
Nikus says:
gmbandeira says:
Thanks a lot! :D
markche says:
Nikus says:
koney says:
Ghild.Zero says:
Nikus says:
69fordf100 says:
Nikus says:
Relays control light. When you claps or click on button in browser light change.
seamster says:
Nikus says:
Thank you :-)
http://www.instructables.com/id/Smart-home-with-arduino/