Panstamp: a developer introduction
-
Upload
paolo-diprox -
Category
Technology
-
view
1.226 -
download
2
description
Transcript of Panstamp: a developer introduction
![Page 1: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/1.jpg)
Presenting: Dr. Paolo Di Prodi Daniel Berenguer Robomotic: www.robomotic.com Panstamp: www.panstamp.com
![Page 2: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/2.jpg)
• X10 1975
• Modbus 1979
•Bluetooth 2000
• Zigbee
• Zwave 2003
• 6LowPan 2012
![Page 3: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/3.jpg)
Ingredients: Hardware
Protocol
Software
Applications
Chief: Architecture
Standard
Language
Budget
![Page 4: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/4.jpg)
![Page 5: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/7.jpg)
Panstamp software platform (1)
![Page 8: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/8.jpg)
Panstamp software platform (2)
![Page 9: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/13.jpg)
Sensors from Robomotic
PIR
Temperature
Humidity
Light
Vibrations
Vibrations
Light
![Page 14: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/14.jpg)
Panstamp sensors
![Page 15: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/15.jpg)
Device Registry structure
![Page 16: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/16.jpg)
Device Registry structure
![Page 17: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/17.jpg)
SWAP commands
![Page 18: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/18.jpg)
Arduino library for Panstamp
![Page 19: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/19.jpg)
Base Station
Raspberry PI running Raspbian + SWAP modem Connectivity: Wifi USB, GSM USB, Bluetooth USB
![Page 20: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/20.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/21.jpg)
Hardware for developers
Panstamp module is Arduino compatible Panstamp modem is based on FTDI USB
![Page 22: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/22.jpg)
Hardware for developers
The EMMA software includes a full SWAP implementation !
12:15 pm
![Page 23: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/23.jpg)
Application case: fall
The EMMA watch monitors impact
![Page 24: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/24.jpg)
Open Remote Build cool UI for Android and iOs with open remote!
![Page 25: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/25.jpg)
Open Remote Open Remote supports the lagarto protocol
![Page 26: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/26.jpg)
Support for cloud and gateways
Cloud Web: COSM ex Pachube
ThingSpeak
Open.sen.se
SMS Gateways: Intellisoftware
Clickatell
USB GSM 3G etc: Gammu/Wammu
![Page 27: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/27.jpg)
Support for cloud
![Page 28: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/28.jpg)
Support for cloud
![Page 29: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/29.jpg)
Rule based example
![Page 30: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/30.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/31.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/32.jpg)
Table setup example
![Page 33: Panstamp: a developer introduction](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/33.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/34.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042614/55986fae1a28abb26a8b4734/html5/thumbnails/35.jpg)
Questions
Twitter: @robomotic @panstamp
Hashtag: #panstamp
Web: www.robomotic.com
Web: www.panstamp.com
Forum: www.panstamp.org/forum
Email: [email protected]