13
Home Automation w/ Arduino and OpenHAB by Eric Tsai A Hackaday project that connects two open source projects (Arduino and OpenHAB) to create a system of connected IoT Smart Home. Arduino OpenHAB My Gateway

System Design

Embed Size (px)

DESCRIPTION

System Design

Citation preview

Page 1: System Design

Home Automation w/ Arduino and OpenHAB

by Eric Tsai

A Hackaday project that connects two open source projects (Arduino and OpenHAB) to

create a system of connected IoT Smart Home.

Arduino OpenHAB

My Gateway

Page 2: System Design

Arduino – cheap sensor node

$2 – ultrasonic distance $2 – digital temp / humidity $0.50 – light sensor

$2 – PIR presence $2 – sound sensor $6 – smoke, gas

Page 3: System Design

Home Automation Needs

Arduino Field Node:

Wireless transceiver: cheap, long range, low power

Arduino HW design: cheap, battery power option

Open Source

Home Automation Gateway (OpenHAB)

Open Source

Run on low power, RPi

Web interface and mobile app

Rules Engine (If This, Then That)

Actions: email, tweet,

Historize & chart data

Page 4: System Design

Wireless Transceiver ● RFM69HW: 915MHz, $4, over 700ft range!

Page 5: System Design

Battery Powered Design

● Battery efficient design – from LowPowerLab and JeeNode using

MCP1702 for 3.3V

● Sleep = 100uA

Page 6: System Design

Arduino Garage Node

OpenHAB

Arduino Gateway

MQTT Broker (Mosquitto)

RFM69 Wireless

Temp Sensor 79.5

RFM69 Wireless

Ethernet Shield

915MHz, encrypted

Wireless

Ethernet MQTT Publish

79.5

“Garage_Temp 79.5”

Ethernet MQTT Subscribe

“Garage_Temp 79.5”

UI

This is my design

Page 7: System Design

Diagram

Page 8: System Design

MQTT Topic Naming Scheme

Page 9: System Design

MQTT Topic Formation

Page 10: System Design

MQTT Topic Formation

Arduino sketches for RFM Gateway and Ethernet Gateway are on

Github, as well as sketches for all example sensor nodes and

OpenHAB configuration.

http://github.com/homeautomationyay

Page 11: System Design

Credits

● Arduino MQTT library from Nick O'leary

● Arduino RFM69 library from Felix Russo of LowPowerLab.com

● Arduino battery powered schematics from LowPowerLab.com

and JeeLabs.org

● OpenHAB Project and Eclipse Project for Mosquitto.

● Many many forum users on Arduino.cc and Openhab google

group for their help.

Page 12: System Design

Future Plans

Page 13: System Design

Future Plans