internet of things, smart energy groups
DESCRIPTION
Presentation at the ATA Melbourne Branch meeting on 2012-06-20 ... covering Internet Of Things, Arduino, OpenWRT routers and Smart Energy Groups electricity consumption measurement.TRANSCRIPT
MELBOURNE HACKERSPACE (CCHS)
INTERNET OF THINGSSMART ENERGY GROUPS
ATA Melbourne Branch MeetingWednesday, 20th June 2012
Andy Gelme - @[email protected]
http://hackmelbourne.org
Sunday, 24 June 12
INTERACTING WITH THE REAL WORLD
Sunday, 24 June 12
INTERACTING WITH THE REAL WORLD
• The Internet Of Things ...
• Billions of small, low-powered, network connected devices
• Sensors, e.g light, temperature, water flow, electrical current
• Actuators, e.g. turn on/off, open/close, adjust, move
• Becoming more prevalent ...
• Low cost, open source hardware and software design
• Ubiquitous networking: 3G, Wi-Fi, Bluetooth, ZigBee (mesh)
Sunday, 24 June 12
NETWORK OF THINGS
Backend server Backend server
RouterRouter Server
DeviceDevice Device
Device Device Device
WAN
LAN
DeviceDevice Device
Device Device Device
PAN
Sunday, 24 June 12
ARDUINO OVERVIEW
Sunday, 24 June 12
ARDUINO OVERVIEW
•Arduino controller ...
•Low cost
•Easy to use (program and operate)
•Flexible (different sizes and capabilities)
•Large and active community
•Open-source (everything visible and changeable)
•Vast range of affordable sensors and actuators available
•Hobbyist and commercial ecology (both important)
Sunday, 24 June 12
ARDUINO DESIGN
Sunday, 24 June 12
ARDUINO DETAILS
Sunday, 24 June 12
ARDUINO DETAILS
•What is an Arduino (some history)
•System on a chip ...
•Microprocessor and Memory (Flash, RAM, EEPROM)
•13 Digital Input or Output pins
•6 Analog Input pins
•Simulate Analog output using Pulse Width Modulation
•Standard board form factor (physical layout)
•Shields (daughter boards)
•Standard cross-platform programming environment
Sunday, 24 June 12
NETWORK OF THINGS
Backend server Backend server
RouterRouter Server
DeviceDevice Device
Device Device Device
WAN
LAN
DeviceDevice Device
Device Device Device
PAN
Sunday, 24 June 12
ROUTER NETWORKING
Router Server
DeviceDevice DeviceDevice Device
EthernetWi-Fi
ZigBee Serial
3G
Desired networking options
Others ?
Sunday, 24 June 12
ROUTER DETAILS
Sunday, 24 June 12
ROUTER DETAILS
• Common Off The Shelf (COTS)
• Cheap: Astonishing what you get for AUS$50
• Comms: 4 + 1 Ethernet ports, Wi-Fi, serial console
• USB ports: expansion ... disk, printer, 3G
• OpenWRT (Linux distribution): Many packages
• Highly hackable :)
Sunday, 24 June 12
PROTOCOLS
Sunday, 24 June 12
PROTOCOLS
• Low-power devices and networks need small messages
• MQTT (Message Queue Telemetry Transport)
• Connect, Publish, Subscribe, Ping, Disconnect
• Topics
• Asynchronous messages
• Last will and testament (in case of failure)
• Aiko platform: Software for the Internet of Things (M2M)
Sunday, 24 June 12
NETWORK OF THINGS
Backend server Backend server
RouterRouter Server
DeviceDevice Device
Device Device Device
WAN
LAN
DeviceDevice Device
Device Device Device
PAN
Sunday, 24 June 12
SMART ENERGY GROUPS
Sunday, 24 June 12
SMART ENERGY GROUPS
• “We can’t effectively change, what we don’t measure”
• Web site for monitoring and managing electric appliances
• Open hardware (Arduino) for measurement and control
• Puts you in control of your own data
• Local company, based in Melbourne, owned by Sam Sabey
• http://smartenergygroups.com
Sunday, 24 June 12
SMARTENERGYGROUPS
WEB BASEDUSER INTERFACE
Sunday, 24 June 12
SEGMETER V2.0
Sunday, 24 June 12
SEGMETER V2.0
Sunday, 24 June 12
SEGMETER V2.0
• Based on Arduino Uno with headers for Arduino shields
• 8 input channels (12-bit resolution) for current sensing
• 3 output channels for relays, etc
• Dragino (router) compatible header for serial I/O
• Micro-SD card for off-line storage
• 1-wire interface for temperature sensors, etc
Sunday, 24 June 12
SEGSHIELD V2.0
Sunday, 24 June 12
SEGSHIELD V2.0
Sunday, 24 June 12
SEGSHIELD V2.0
• Arduino shield that expands SEGmeter v2.0 or any Arduino
• Freetronics Etherten: Arduino with Ethernet on-board
• 8 input channels (12-bit resolution) for current sensing
• Zigbee (mesh) networking
• DC power input jack
Sunday, 24 June 12
SEG PROTOTYPING V2.0
Sunday, 24 June 12
SEG PROTOTYPING V2.0
Sunday, 24 June 12
SEG PROTOTYPING V2.0
• SEG I/O board ...
• Arduino shield, 3 relay output, 3 switch input
• SEG 8 channel expansion board ...
• Arduino shield with prototyping area
• 8 input channels (12-bit resolution) for current sensing
• SEG Dragino (router) board
• Zigbee (mesh) networking, Micro-SD card, Real-time clock
Sunday, 24 June 12
MELBOURNE HACKERSPACE
Sunday, 24 June 12
MELBOURNE HACKERSPACE
• Technical workshops
• Access to equipment and tools
• Access to skilled, experienced people
• Collaboration on long-term multi-discipline projects
Sunday, 24 June 12
AN INVITATIONInterested in building or installing your own Smart Meter ?
Gauging interest for running a workshop.
Come along and join us
[email protected]://hackmelbourne.org
https://sites.google.com/site/aikoplatform
http://smartenergygroups.comhttp://freetronics.com
Sunday, 24 June 12