domotic dojo!
DESCRIPTION
A very funny presentation I did for the hacklab in Edinburgh on 17 July 2011.TRANSCRIPT
04/12/2023
Domotic Dojo!Why me?What is domotic?What is home automation?What are the current platform?What are the current trends?How does Robomotic see the future?
1www.robomotic.com
An overview
Domotic
Home Automation
Robotic
Artificial Intelligence
Mechatronic
Robots are taking over
Yes they are taking overRoomba sold 940,000 vacuum in 2008, not too bad for a young market
But wait!
Rodney Brooks lost his way?
Left in 2009 the role of CTO to found
Heartland robotics For human-robot
interaction manufacturing
And now we got this?
A camera with wheels?
Other domestic
Robotic companies
iRobot: Roomba Samsung Spykee Wowwee: Rovio
Home automation
It is the use of computerized systems or components to control devices and/or processes, in a hose or building, so that the user of the compound can satisfy their needs in a more simple, quick and effective way, than without automation.
Domotic
Introduced in 1984 by Bruno De Latour Several meanings:
Domus + Informatics Domestic robotics
It is ubiquitous home automation with built in intelligence
A typical architecture follows
Domotic Architecture
RF wired orWireless network
StuffApp Layer: SimplicityRF layer: Zigbee etc.
Gateway Internet
PachubeInternet of Things
FHEMHouseAgent
HomeNet
RF layer
RF layer: carrier frequency and modulation Example: 433 Mhz, ASK modulation IEEE standard allocates RF bands for home
and recreational use: Sub Ghz band:300-348 MHz, 387-464 MHz and
779-928 MHz 2.4 Ghz band: Zigbee
What is better in the indoor environment?
RF principles
Attenuation table
I love japan!
Data Rate and Range
Security
Private and public encryption could be implemented virtually on every RF layer but..
Lower frequency= lower data rate Most cheap producers don’t bother Common RF protocols are vulnerable to reply
attacks. High end RF modules provides dedicated
hardware like AES block etc.
Security examples
TI CC2520: 128 bit AES Xbee: 129 bit AES hardware and
asymmetric encryption PanStamp implements NONCE with the
CC1101 Jeenode uses a simple MD5 symmetric
ZigBee ISO standard 2003: IEEE 802.15.4 ISO manufacturers:
Ember: certified original firmware stack Amber wireless: Zigbee. Sub Ghz, Bluetooth Texas Instruments: Zigbee. Sub Ghz, Bluetooth DigiMark from Zigbee Standard Freaklabs: open source firmware stack!
Wifi and Zigbee
Home automation
Conrad FS20 ELV FHZ Marmitek X10
Domotic
HomeMatic: Web interface iPhone, iPad interface
HomeEasy: Web interface SMS interface
Domotic
Alert Me: Web interface iPhone interface
And now the bad news...
Although we kind of managed to choose a common RF protocol
A proliferation of application protocols: FS20, FHT, HMS, OneWire, X10, S300, EM,
HomeMatic, KNX
A first attempt: KNX
KNX is the only global standard for home and building control with A single, manufacturer independent design and
commissioning tool (ETS). A complete set of supported
communication media (TP, PL, RF and IP). A complete set of supported
configuration modes (system and easy mode).
Why is not widely adopted? Don’t ask me!
Zwave an example
How closed and open source coexists
Zwave is proprietary BUT some vendors opened and now there’s Open ZWave
What about the open community?
Open hardware: Sensor network like Jeenode, Panstamp, Norduino Plug computers: Chumby Hacker Board, Open Picus,
TuxGraphics Board
Open software: Gateways: HomeNet, HouseAgent, FHEM Utils ... Protocols: PANSTAMP Cloud computing: Pachube, ThingSpeak
Sensor networks
Jeenodes from Jee labs Norduino from Robomotic Panstamps (not yet)
Anatomy of a gateway
FHEM: GPL'd perl server for house automation Supports many protocols except OpenZWave RF interface: CUL busware
Control LogicPerl
Protocol Decoder
Web Front End
Client: command line,telnet,
TCP/IP
Hardware RF
Frontend examples
Frontend examples
House Agent
Home.NET
Founded in 2007 Millions data points per day 2153 radiation probes in Japan
ThingSpeak
What’s the future?
Integration and convergence! Integration of:
Domotic, automation, robotic, medical care and smart meters
Domotic Architecture
Any RF open standard
NorduinoPanstamp X
AnyGateway
Any Internet
PachubeInternet of Things
HouseAgentHomeNet
Heterogeneous hardware
Different MCU, different IO BUT all based on the same radio interface: NORDIC NRF24L01+ or NRF24L01
A simple but effective 2 Mbps transceiver in the 2.4 Ghz band
MCU
Sensor type IO
RF module
Heterogeneous hardware
But also can be a different RF module like the RFM12B in Sub Ghz band
Same MCU
Sensor type IO
RF module
Application protocol: Panstamp
Lightweight and simple eXtensible & portable Support for automation and medical devices Decision: Panstamp X
Panstamp is registry based
Set of standard registers Set of custom registers
Encapsulated in standard packet
Light Humidity
HeartRate
Gateway level
SoftwareHardware
OpenPicus Chumby
Arduino Plug Computer
Gateway
Protocol XML
Decoders
USB serial or HID
Integration
USB serial or Driver
RF receiver: Nordic, Jeenode, Bluetooth
Protocol Decoder
PanStamp Jeenode Medical Simplicity
Plugin
House Agent Home Net
Cloud: Pahcube
Home Net
Local: Web
Open PicusIdeal as a light weigh Wifi gateway:•Web AJAX and TCP,UDP, SMTP,SNTP•PCB or uFL antenna•15 bit PIC24FJ, 16 K RAm,•10 Digital IO •4 Analog in•1 UART, 1 SPI, 1 I2C•Remappable: 4 UART ports or 22 Digital I/Os
Based on wiznet 5100TCP and UDP stack implementationMicro SD memory cardCode available Lots of libraries
Arduino Ethernet
Stackable:Put as many layers until you use every single IOIn this example: Xbee, 433 Mhz receiver, 1 Jeenode receiver and 1 Norduino receiver!
Freescale iMX.233 processor running at 454 MHZ64 MB onboard RAMComes with 512MB uSD card with 100 MB Linux installation all ready to goThree USB ports!MMA7455 3-axis +-2G to +-8G accelerometer on-board3.3V TTL serial port for easy shell accessFull GCC toolchain is ready for you to download and get crackin'!
Chumby hacker board
Interface Energy Egg to Pachube
JSON protocol translator
Robot WifiA house robot can also collect sensor data
Android IOIO interfaces
Using either the Anrdoid IOIO or ADK to interface RF devices directly to Android!
Want to support us?
BugLogic2 : £ 25 BugLogic3: £ 28 MiniDspNode: £ 9.50 Norduino assembled: £ 22 Norduino assembled SMA: £23 Norduino Kit: £ 13
....
NRF24L01: £ 3 NRF24L01 SMA: £ 4.50 NRF24L01: £ 4.00 NRF24L01+ SMA: £ 6.00 Duino: £ 6.03 Norduino Blue: £ 13.00