51
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? 05/12/2022 1 www.robomotic.com

Domotic dojo!

Embed Size (px)

DESCRIPTION

A very funny presentation I did for the hacklab in Edinburgh on 17 July 2011.

Citation preview

Page 1: Domotic dojo!

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

Page 2: Domotic dojo!

An overview

Domotic

Home Automation

Robotic

Artificial Intelligence

Mechatronic

Page 3: Domotic dojo!

Robots are taking over

Yes they are taking overRoomba sold 940,000 vacuum in 2008, not too bad for a young market

Page 4: Domotic dojo!

But wait!

Rodney Brooks lost his way?

Left in 2009 the role of CTO to found

Heartland robotics For human-robot

interaction manufacturing

Page 5: Domotic dojo!

And now we got this?

A camera with wheels?

Page 6: Domotic dojo!

Other domestic

Page 7: Domotic dojo!

Robotic companies

iRobot: Roomba Samsung Spykee Wowwee: Rovio

Page 8: Domotic dojo!

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.

Page 9: Domotic dojo!

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

Page 10: Domotic dojo!

Domotic Architecture

RF wired orWireless network

StuffApp Layer: SimplicityRF layer: Zigbee etc.

Gateway Internet

PachubeInternet of Things

FHEMHouseAgent

HomeNet

Page 11: Domotic dojo!

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?

Page 12: Domotic dojo!

RF principles

Page 13: Domotic dojo!

Attenuation table

I love japan!

Page 14: Domotic dojo!
Page 15: Domotic dojo!

Data Rate and Range

Page 16: Domotic dojo!

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.

Page 17: Domotic dojo!

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

Page 18: Domotic dojo!

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!

Page 19: Domotic dojo!

Wifi and Zigbee

Page 20: Domotic dojo!

Home automation

Conrad FS20 ELV FHZ Marmitek X10

Page 21: Domotic dojo!

Domotic

HomeMatic: Web interface iPhone, iPad interface

HomeEasy: Web interface SMS interface

Page 22: Domotic dojo!

Domotic

Alert Me: Web interface iPhone interface

Page 23: Domotic dojo!

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

Page 24: Domotic dojo!

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!

Page 25: Domotic dojo!

Zwave an example

How closed and open source coexists

Zwave is proprietary BUT some vendors opened and now there’s Open ZWave

Page 26: Domotic dojo!

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

Page 27: Domotic dojo!

Sensor networks

Jeenodes from Jee labs Norduino from Robomotic Panstamps (not yet)

Page 28: Domotic dojo!

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

Page 29: Domotic dojo!

Frontend examples

Page 30: Domotic dojo!

Frontend examples

Page 31: Domotic dojo!

House Agent

Page 32: Domotic dojo!

Home.NET

Page 33: Domotic dojo!

Founded in 2007 Millions data points per day 2153 radiation probes in Japan

Page 34: Domotic dojo!

ThingSpeak

Page 35: Domotic dojo!

What’s the future?

Integration and convergence! Integration of:

Domotic, automation, robotic, medical care and smart meters

Page 36: Domotic dojo!

Domotic Architecture

Any RF open standard

NorduinoPanstamp X

AnyGateway

Any Internet

PachubeInternet of Things

HouseAgentHomeNet

Page 37: Domotic dojo!

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

Page 38: Domotic dojo!

Heterogeneous hardware

But also can be a different RF module like the RFM12B in Sub Ghz band

Same MCU

Sensor type IO

RF module

Page 39: Domotic dojo!

Application protocol: Panstamp

Lightweight and simple eXtensible & portable Support for automation and medical devices Decision: Panstamp X

Page 40: Domotic dojo!

Panstamp is registry based

Set of standard registers Set of custom registers

Encapsulated in standard packet

Light Humidity

HeartRate

Page 41: Domotic dojo!

Gateway level

SoftwareHardware

OpenPicus Chumby

Arduino Plug Computer

Gateway

Protocol XML

Decoders

USB serial or HID

Page 42: Domotic dojo!

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

Page 43: Domotic dojo!

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

Page 44: Domotic dojo!

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!

Page 45: Domotic dojo!

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

Page 46: Domotic dojo!

Interface Energy Egg to Pachube

Page 47: Domotic dojo!

JSON protocol translator

Page 48: Domotic dojo!

Robot WifiA house robot can also collect sensor data

Page 49: Domotic dojo!

Android IOIO interfaces

Using either the Anrdoid IOIO or ADK to interface RF devices directly to Android!

Page 50: Domotic dojo!

Want to support us?

BugLogic2 : £ 25 BugLogic3: £ 28 MiniDspNode: £ 9.50 Norduino assembled: £ 22 Norduino assembled SMA: £23 Norduino Kit: £ 13

Page 51: Domotic dojo!

....

NRF24L01: £ 3 NRF24L01 SMA: £ 4.50 NRF24L01: £ 4.00 NRF24L01+ SMA: £ 6.00 Duino: £ 6.03 Norduino Blue: £ 13.00