MELBOURNE HACKERSPACE (CCHS)
                       INTERNET OF THINGS
                      SMART ENERGY GROUPS


                     ATA Melbourne Branch Meeting
                       Wednesday, 20th June 2012

                       Andy Gelme - @geekscape
                          andyg@geekscape.org
                        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
     WAN Backend server                      Backend server


      LAN             Router     Server          Router

      PAN
       Device Device Device               Device Device Device

          Device Device Device            Device Device Device

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
     WAN Backend server                      Backend server


      LAN             Router     Server          Router

      PAN
       Device Device Device               Device Device Device

          Device Device Device            Device Device Device

Sunday, 24 June 12
ROUTER NETWORKING

                                               3G

                              Wi-Fi            Ethernet
                                      Router              Server
                     ZigBee       Serial                           Others ?
                     Device Device Device Device Device

                              Desired networking options
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
     WAN Backend server                      Backend server


      LAN             Router     Server          Router

      PAN
       Device Device Device               Device Device Device

          Device Device Device            Device Device Device

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
SMART
                     ENERGY
                     GROUPS

      WEB BASED
    USER 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 INVITATION
               Interested in building or installing your own Smart Meter ?

                       Gauging interest for running a workshop.

                                Come along and join us

                                  andyg@geekscape.org
                                http://hackmelbourne.org
                       https://sites.google.com/site/aikoplatform

                             http://smartenergygroups.com
                                  http://freetronics.com


Sunday, 24 June 12

Internet Of Things, Smart Energy Groups

  • 1.
    MELBOURNE HACKERSPACE (CCHS) INTERNET OF THINGS SMART ENERGY GROUPS ATA Melbourne Branch Meeting Wednesday, 20th June 2012 Andy Gelme - @geekscape andyg@geekscape.org http://hackmelbourne.org Sunday, 24 June 12
  • 2.
    INTERACTING WITH THEREAL WORLD Sunday, 24 June 12
  • 3.
    INTERACTING WITH THEREAL 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
  • 4.
    NETWORK OF THINGS WAN Backend server Backend server LAN Router Server Router PAN Device Device Device Device Device Device Device Device Device Device Device Device Sunday, 24 June 12
  • 5.
  • 6.
    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
  • 7.
  • 8.
  • 9.
    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
  • 10.
    NETWORK OF THINGS WAN Backend server Backend server LAN Router Server Router PAN Device Device Device Device Device Device Device Device Device Device Device Device Sunday, 24 June 12
  • 11.
    ROUTER NETWORKING 3G Wi-Fi Ethernet Router Server ZigBee Serial Others ? Device Device Device Device Device Desired networking options Sunday, 24 June 12
  • 12.
  • 13.
    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
  • 14.
  • 15.
    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
  • 16.
    NETWORK OF THINGS WAN Backend server Backend server LAN Router Server Router PAN Device Device Device Device Device Device Device Device Device Device Device Device Sunday, 24 June 12
  • 17.
  • 18.
    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
  • 19.
    SMART ENERGY GROUPS WEB BASED USER INTERFACE Sunday, 24 June 12
  • 20.
  • 21.
  • 22.
    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
  • 23.
  • 24.
  • 25.
    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
  • 26.
  • 27.
  • 28.
    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
  • 29.
  • 30.
    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
  • 31.
    AN INVITATION Interested in building or installing your own Smart Meter ? Gauging interest for running a workshop. Come along and join us andyg@geekscape.org http://hackmelbourne.org https://sites.google.com/site/aikoplatform http://smartenergygroups.com http://freetronics.com Sunday, 24 June 12