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

Android Arduino Smart Home Automation





Android 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







Arduino WebServer Source Code

http://www.softpowergroup.net/files/Arduino/WebServerControl.rar

Original Code

http://arduino.cc/en/Tutorial/WebServer




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 






If you want Android Source Code in this App. it cost 50 - 100 USD.
contact info@softpowergroup.net


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




Install and Testing in Home ( Thai Language )



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

  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 products

    ตอบลบ