วันอาทิตย์ที่ 3 สิงหาคม พ.ศ. 2557

Arduino Smart Home Automation






Arduino Smart Home Automation

Open Source Arduino Smart Home Automation


System Diagram



Hardware Feature
  •         8 Digital Output Control
  •         4 Analog Input Sensor
  •         Control via TCP/IP or Internet
  •         Control with Web Browser or Android App


Software Feature
  •          Arduino Web Server TCP/IP ( LAN )
  •          Set your device name and sensor name
  •          Sensor Control Output Automatically.
  •          Set your IP Address and port
  •         Real time status
Hardware Device
  1.         Arduino MEGA Board or compatible board.
  2.     Ethernet (WIZnet 5100) Shield
  3.     Relay Board
  4.     Light Sensor or Motion Sensor or other

Wiring Diagram


Device1  Arduino Output PIN 2
Device2  Arduino Output PIN 3
Device3  Arduino Output PIN 4
Device4  Arduino Output PIN 5
Device5  Arduino Output PIN 6
Device6  Arduino Output PIN 7
Device7  Arduino Output PIN 8
Device8  Arduino Output PIN 9

Analog Input Sensor1   -  Arduino PIN A0  to Control Output 5
Analog Input Sensor2   -  Arduino PIN A1  to Control Output 6
Analog Input Sensor3   -  Arduino PIN A2  to Control Output 7
Analog Input Sensor4   -  Arduino PIN A3  to Control Output 8



Control With Web Browser
If you don’t want use android app. You can control with Web Browser also.


or Web Browser on Mobile Device.




Arduino WebServer Source Code



Mirror Site : http://android-arduinocontrol.blogspot.com/2014/08/android-arduino-smart-home-automation.html



Install and Testing in Home





Some Problem about IP Address
I use TP-Link Wireless Router so it give gateway  to 192.168.0.1 

Then I use IP Address for Arduino Code to 192.168.0.199 


IF YOUR GATEWAY NOT THE SAME MY GATEWAY.

YOU NEED CHANGE YOUR ARDUINO CODE For IP ADDRESS.

see below...


#include <SPI.h>
#include <Ethernet.h>

// Define measurement variables
float amplitude_current;
float effective_value;
float effective_voltage = 230; // Set voltage to 230V (Europe) or 110V (US)
float effective_power;
float zero_sensor;

// Variables to be exposed to the API
int power;

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x2D };

byte gateway[] = { 192, 168, 0, 1 };              //   Your Gateway          
byte subnet[] = { 255, 255, 255, 0 }; //             
IPAddress  ip(192,168,0,199);                       // Your IP Address 




My Website
http://softpowergroup.net/
email : info@softpowergroup.net   Tel .081-6452400
Google+  https://plus.google.com/+SoftpowergroupNetThailand/

My Blog







Raspberry Pi Project

30 ความคิดเห็น:

  1. The term “smart home” is used to describe a house, apartment or room, which contains a communication network that connects different devices and allows them to be controlled, monitored and accessed remotely through smartphones, voice aids, and others. Smart devices connect to the Internet, which allows them to be controlled remotely via Wi-Fi.

    Click here to know more information smart home

    ตอบลบ
  2. สอบถามครับ สามารถใช้งานร่วมกับ Blynk ได้มั้ยครับ?

    ตอบลบ
  3. Thanks for sharing great information with us!
    No matter whether you talk about a house, apartment, organization or a moving bus, wireless routers are installed everywhere. The best smart wireless routers can allow you to connect your phone, computer or other gadgets and device easily to a broadband internet service. In other words, the best smart wireless routers exist to help you share data and stream media smoothly and flawlessly.

    ตอบลบ
  4. I personally love the new age gadgets of home applications. And this home automation looks so inviting because my sister has one of those in their home. Thanks for detailed information sharing of the topic, you really have deep-knowledge about it.

    ตอบลบ
  5. ความคิดเห็นนี้ถูกผู้เขียนลบ

    ตอบลบ
  6. Awesome post. This post is very helpful for me. It has Lots of information in Arduino Smart Home Automation. Thanks for sharing. Best Folding Exercise Bike For Short Person

    ตอบลบ
  7. Hello, I like your project, I want to use it, but what codes should be added in order to be password protected when entering the web page?

    ตอบลบ
  8. Plaisio
    overtakes its other competitor, Public, which through the discussions for the acquisition of Media Markt, is expected to enter the market of white devices.

    ตอบลบ
  9. Home Automation Ideas with Tutorials: from Simple to Amazing,Tips For Home Automation Ideas about Lifestyle , kids care ,your pets, Healthcare and all about you.

    ตอบลบ
  10. ไม่ระบุชื่อ12 มีนาคม 2564 เวลา 16:24

    We are provide home automation Service for home Visit Here : Home automation system

    ตอบลบ
  11. Learn about smart homes - sometimes referred to as home automation or domotics, in this thorough guide to home automation of different types of smart home technology.

    ตอบลบ
  12. Amazing and Helpful post. I really appreciated your work.Many thanks for your kind and efficient service for booking a plot in park view city and blue world city.I will definitely recommend Imarah real estate services to others in the future.
    https://imarahmarketing.com/
    https://imarahmarketing.com/blue-world-city/
    https://imarahmarketing.com/park-view-city-islamabad/

    ตอบลบ
  13. I just visit your website and I found it very informative. Please share more content just like that. I want to read more content so please upload more articles. Thanks in advanced.

    Packaging Host

    Die Cut Stickers

    Static Cling

    Cheap Latest Products

    Property Saga

    Lahore Smart City

    Nova City Islamabad

    Park View City Islamabad

    Al Noor Orchard Lahore

    ตอบลบ
  14. Thanks for this post...Creative Automation Provide the best Smart Home Sharjah, Ras Al-Khaimah, Fujairah. We provide best smart home automation technologies solutions. Smart Automation Sharjah, Ras Al-Khaimah, Fujairah provides البيت الذكي في الامارات ,سمارت هوم في الامارات you with the Design, Smart Home Automation allows for the flexibility of installing in any residence in Sharjah, Ras Al-Khaimah, Fujairah.
    WAGO Connector
    Sound System Dubai
    Waterproof Connector
    Smart Home Sharjah
    Home Automation Sharjah

    ตอบลบ
  15. This content is very use full and informative. if your are needs Locksmith Services in Bedford and allorver the UK then contact us right now.

    Locksmith in Bedford
    Locksmith Services
    Smart Home Security
    24 Hours Locksmiths

    ตอบลบ
  16. Really very informative and creative content. This concept is a good way to enhance knowledge. Thanks for sharing. please keep it up. Another good investment is Park View City because Islamabad Park View City NOC is approved . Lahore Park View Payment Plan is also easy.

    ตอบลบ
  17. Thanks for taking time to share this, I would like to learn more on this topic. It's extremely helpful for me.
    For getting authentic service for booking of Park View City Islamabad plot for sale , and Prime Valley Islamabad Plots that is closest to nature, feel free to contact us. Regency Marketing is providing real estate services.

    ตอบลบ
  18. Such a nice blog and I appreciate your all efforts about your thoughts. It’s really good work. well done.
    Boiler rental

    ตอบลบ
  19. Nice article, the information you have shared here is really helpful, keep sharing them.
    Packaged boilers

    ตอบลบ