Panstamp: a developer introduction
-
Upload
paolo-diprox -
Category
Technology
-
view
1.225 -
download
2
description
Transcript of Panstamp: a developer introduction
Presenting: Dr. Paolo Di Prodi Daniel Berenguer Robomotic: www.robomotic.com Panstamp: www.panstamp.com
• X10 1975
• Modbus 1979
•Bluetooth 2000
• Zigbee
• Zwave 2003
• 6LowPan 2012
Ingredients: Hardware
Protocol
Software
Applications
Chief: Architecture
Standard
Language
Budget
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
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
Panstamp software platform (1)
Panstamp software platform (2)
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
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
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
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
Sensors from Robomotic
PIR
Temperature
Humidity
Light
Vibrations
Vibrations
Light
Panstamp sensors
Device Registry structure
Device Registry structure
SWAP commands
Arduino library for Panstamp
Base Station
Raspberry PI running Raspbian + SWAP modem Connectivity: Wifi USB, GSM USB, Bluetooth USB
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
Hardware for developers
Panstamp module is Arduino compatible Panstamp modem is based on FTDI USB
Hardware for developers
The EMMA software includes a full SWAP implementation !
12:15 pm
Application case: fall
The EMMA watch monitors impact
Open Remote Build cool UI for Android and iOs with open remote!
Open Remote Open Remote supports the lagarto protocol
Support for cloud and gateways
Cloud Web: COSM ex Pachube
ThingSpeak
Open.sen.se
SMS Gateways: Intellisoftware
Clickatell
USB GSM 3G etc: Gammu/Wammu
Support for cloud
Support for cloud
Rule based example
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
DataLogging How?
User decides which registers requires logging
When? Use decides logging interval
Where? Local SD card with Round Robin tables
Table setup example
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
Learning curve
120
10 4 2
124
6 1 0 0 0
21
33
Monkey Undergrad. Junior Senior
Chart Title
Hours Support Money
Questions
Twitter: @robomotic @panstamp
Hashtag: #panstamp
Web: www.robomotic.com
Web: www.panstamp.com
Forum: www.panstamp.org/forum
Email: [email protected]