panstamp: a developer introduction

35
Presenting: Dr. Paolo Di Prodi Daniel Berenguer Robomotic: www.robomotic.com Panstamp: www.panstamp.com

Upload: paolo-diprox

Post on 05-Jul-2015

1.225 views

Category:

Technology


2 download

DESCRIPTION

The Good (Zigbee) The Bad (ZWave) and The Ugly (SWAP): an open platform for smart homes called Panstamp. Abstract: There has been recently a lot of buzz about the Internet of Things (IoT) but actually the concept and most of the technology was developed since 1975 with X10, followed by Modbus (1979), most recently Zigbee and ZWave (2005) and lately the 6LowPan (2012). The availability of low cost devices in combination with cloud services for data storage, sharing and visualization are giving powerful tools in the hand of the developer community. The euphoria generated by the increasing community of smart home developers is counterbalanced by evil business practices. As a solution we developed an RF protocol and a hardware platform which is open source and based on the Arduino project for ease of use. The platform comes with a full application stack that allows event based processing, rule based operations and support cloud platform for data sharing.

TRANSCRIPT

Page 1: Panstamp: a developer introduction

Presenting: Dr. Paolo Di Prodi Daniel Berenguer Robomotic: www.robomotic.com Panstamp: www.panstamp.com

Page 2: Panstamp: a developer introduction

• X10 1975

• Modbus 1979

•Bluetooth 2000

• Zigbee

• Zwave 2003

• 6LowPan 2012

Page 3: Panstamp: a developer introduction

Ingredients: Hardware

Protocol

Software

Applications

Chief: Architecture

Standard

Language

Budget

Page 4: Panstamp: a developer introduction
Page 5: Panstamp: a developer introduction

What is the most popular ? Bluetooth

2.5 Billions in 2013 correlates with phones!

Zigbee ZigBee-RF4CE: 1 billions estimated in 2015 Zwave: not known Panstamp: approx 120 kits shipped every month

Page 6: Panstamp: a developer introduction

Panstamp is a solution platform for IoT

Features: Open Hardware Open Software Open Protocol Internet based Rule and AI based Low Cost Easy to Learn

Page 7: Panstamp: a developer introduction

Panstamp software platform (1)

Page 8: Panstamp: a developer introduction

Panstamp software platform (2)

Page 9: Panstamp: a developer introduction

Panstamp hardware Wearable sensors:

ezChronos watch

Environmental sensors:

Temperature Humidity Pressure

Floor Vibration and Light

PIR motion

Actuators:

Relay board for on/off and PWM

RGB LED strip controller

Page 10: Panstamp: a developer introduction

How do we talk?

SWAP: Simple: runs on AVR MCU 8 bit + 2 KB stack Wireless: CC11XX radio over ISM (433-868-915 Mhz) Abstract: register based Protocol: status, query and command packets

Why not Zigbee or Zwave? Stack is NOT open source!

Zwave has only 1 chip vendor Zigbee has only 3 chip vendors

Do you really need mesh networks?!?!!? High development cost: hardware, license and engineering

Page 11: Panstamp: a developer introduction

Zigbee vs SWAP Example

Zigbee memory footprint: TI Z-Stack CC2430 - Coordinator/Router - 116 kB Flash, 7 kB RAM

TI Z-Stack CC2430 - End Device - 99kB Flash, 3.8kB RAM

Ember - EM250 - ~100 kB - Coordinator/Router

Panstamp Node: Code: ~ 3 kB

RAM: 350 bytes

Page 12: Panstamp: a developer introduction

But is it safe?

Features: Security options: smart encryption (AES 256 bit) and security nonce can be enabled

Network topology: Star network AND peer to peer

Repeaters to extend range

No dynamic routing (yet!)

Baud rate: 115200

Page 13: Panstamp: a developer introduction

Sensors from Robomotic

PIR

Temperature

Humidity

Light

Vibrations

Vibrations

Light

Page 14: Panstamp: a developer introduction

Panstamp sensors

Page 15: Panstamp: a developer introduction

Device Registry structure

Page 16: Panstamp: a developer introduction

Device Registry structure

Page 17: Panstamp: a developer introduction

SWAP commands

Page 18: Panstamp: a developer introduction

Arduino library for Panstamp

Page 19: Panstamp: a developer introduction

Base Station

Raspberry PI running Raspbian + SWAP modem Connectivity: Wifi USB, GSM USB, Bluetooth USB

Page 20: Panstamp: a developer introduction

Hardware for developers

Battery board with generic IO and footprints for extra sensors Power: any AA battery rechargeable or not Plastic case clip on, antenna exit and screw on for wall mounting

Page 21: Panstamp: a developer introduction

Hardware for developers

Panstamp module is Arduino compatible Panstamp modem is based on FTDI USB

Page 22: Panstamp: a developer introduction

Hardware for developers

The EMMA software includes a full SWAP implementation !

12:15 pm

Page 23: Panstamp: a developer introduction

Application case: fall

The EMMA watch monitors impact

Page 24: Panstamp: a developer introduction

Open Remote Build cool UI for Android and iOs with open remote!

Page 25: Panstamp: a developer introduction

Open Remote Open Remote supports the lagarto protocol

Page 26: Panstamp: a developer introduction

Support for cloud and gateways

Cloud Web: COSM ex Pachube

ThingSpeak

Twitter

Open.sen.se

SMS Gateways: Intellisoftware

Clickatell

USB GSM 3G etc: Gammu/Wammu

Page 27: Panstamp: a developer introduction

Support for cloud

Page 28: Panstamp: a developer introduction

Support for cloud

Page 29: Panstamp: a developer introduction

Rule based example

Page 30: Panstamp: a developer introduction

Rule grammar construction

IF EVENT

CONDITIONS

ACTIONS

• Time

• SWAP Input Register Events

• Time and Date

• SWAP Input Register Conditions

• SWAP Output Register

• Cloud Service

• SMS Service Actions

Page 31: Panstamp: a developer introduction

DataLogging How?

User decides which registers requires logging

When? Use decides logging interval

Where? Local SD card with Round Robin tables

Page 32: Panstamp: a developer introduction

Table setup example

Page 33: Panstamp: a developer introduction

Conclusion Business

Licence free

Agile Product Development

Developers: Easy to learn

Low cost

Fast configuration and deploy

Users: Plenty of space for extra application layers

Page 34: Panstamp: a developer introduction

Learning curve

120

10 4 2

124

6 1 0 0 0

21

33

Monkey Undergrad. Junior Senior

Chart Title

Hours Support Money

Page 35: Panstamp: a developer introduction

Questions

Twitter: @robomotic @panstamp

Hashtag: #panstamp

Web: www.robomotic.com

Web: www.panstamp.com

Forum: www.panstamp.org/forum

Email: [email protected]