Download presentation
Presentation is loading. Please wait.
Published byMaría Fidalgo Pérez Modified over 6 years ago
1
DOMOTICA May MONTH Sander Claassen John Heesterbeek Ad van Berlo
Marco van Nieuwenhoven MADspace community 1 1
2
Program * Avond 1 - 2 mei Domoticz @ RasbperryPi
* Avond mei Sensors & actuators * Avond mei Domotics bus-systems * Avond mei Blocky & node red * Avond mei Strut your stuff 2 2 2
3
Workshop 1. Introduction 2. Preparations 3. Bus-systems … 3 3 3
4
Connectivity Connectivity – 433Mhz/ 868Mhz/ 2,4Ghz
- Widely compatible (433.92Mhz) - Insecure - One-way communication: No feedback - Radio only (No ‘smart’ solution) - Affordable - No licensed radio band required 4 4 4
5
Connectivity Connectivity – X10 & X10 RF
- Open industry standard for communication between modules over mains & RF (since 1975). - X10 communicates via mains modulation - X10 RF uses open MHz (EU) (NEC IR protocol*) - Protocol is allowing up to 16*16 =256 devices - A bridge/ computer interface is required to link both mains and RF devices, or control according a schedule - Unreliable & insecure: Data-collisions will result in lost packages & data can be intercepted from outside ** *RF receiver protocol: ** because only 1 device can speak at a time, and remotes don’t receive a confirmation 5 5 5
6
Connectivity Connectivity – ZigBee – 868Mhz / 2,4Ghz - Open standard
- Industrial applications - Philips HUE, Ikea Tradfri - Security: AES-128 encryption - Mesh network architecture - Configuration & technology is rather complex - ZigBee Green power (enables battery-less devices) All Zigbee 3.0 routers are compatible with Zigbee Green power. Green power enables battery-less devices. The harvested enery comes from pushing a remote-button, vibration or solar power in case of a device without buttons etc. 6 6 6
7
Connectivity Connectivity – Z-Wave
- Proprietary protocol (Z-Wave Alliance)* Mhz (868.42MHz for EU) - Mesh network architecture - Protocol supports feedback by default - Secure: Z-wave S2-class security (uses AES-128)** - Expensive *Recently parts of the protocol became open source as of 2016: ** 7 7 7
8
Connectivity Connectivity – WiFI - ESP8266/ESP8285, start of IoT?
b/g/n Wi-Fi (2.4Ghz) - Security (WPA/WPA2) - High energy usage - Flexible (SDKs/firmware’s): Espressif Systems / ESP-Open-SDK NodeMCU (LUA based) / Arduino - ESPEasy - Let's Control It ESP8266 8 8 8
9
Connectivity Connectivity – Thread
- New protocol (2014), used by Nest (Google), Samsung, NXP... - Based on IEEE MAC/PHY, IPv6 & LoWPAN - Compatible with ZigBee - Low power mesh network architecture - Energy efficient - Standard adapted for IP-addressable/ cloud access - Security: AES 9 9 9
10
Connectivity Connectivity – LoRAWAN - Long Range Wide Area Network
- Long range (10+ km) and highly power efficient (button cell) - Great for outdoor only, unless you own your own gateway (so not really intended for in-building domotica solutions) - Secure: (public/ private keys) - The Things Network (NL initiative going global!) Intended for small sensor-data packages, and a limmited amount of packages per day only. Even for paid-plans. So, this will not replace your 2G/3G/4G. 10 10 10
11
Connectivity Connectivity – Bluetooth Low Energy (BLE) – 2.4 GHz
- Compatible with all modern phones (BLE 4.0) - Low energy usage: 0.01–0.50W (vs. 1W for normal Bt.) - Low data rate (125 kbit/s – 1 Mbit/s – 2 Mbit/s) - Distance: >100 meter (vs. <100 meter with Bt.) - Security (128-bit and application layer user defined)* - P2P, Star PAN, Mesh network BLE 4.0 is not secure, since it can be brute forced due to limited keys. BLE 4.2 adds security: Brute forcing tool: 11 11 11
12
Connectivity Connectivity – Enocean – 868 MHz
- Patented technology for home automation (certificate required) - Ultra low energy usage/ self powered energy harvesting - Distance: 30m indoor, 300m outdoor - Security (Rolling code and 128 AES)* - Enocean (as a company) now supports also ZigBee & BLE - Low data rate (125 kbit/s) 12 12 12
13
Connectivity Protocol benchmark *no feedback (by default) 13 Name
Range (m) Security Power Cost Data rate 433/ X10Rf 30 -- + ++ 256 kb/s * ZigBee/ Thread 100 250 kb/s Z-wave 100 kbit/s WiFi 600 Mbit/s LoRaWan 10000 kb/s (up to 160 msg / day) BLE 125 kbit/s - 2 Mbit/s EnOcean 125 kbit/s * 1-wire, KNX, OpenHab, Sigfox? *no feedback (by default) 13 13 13
14
serial connectivity Serial wired connections 14 14 14
1-wire, KNX, OpenHab, Sigfox? 14 14 14
15
Short distance serial connectivity
Serial Connectivity – Serial Peripheral Interface (SPI) - Communication intended between chip & sensor(s) - ‘Fast’ full duplex – 8bit up to 4kb - up to 100MHz 4-wire solution - Depending on the use-case different configurations are possible, while 1 SS per device is common to avoid library-adjustment: SCLK: Serial Clock (output from master) MOSI: Master Output Slave Input, or Master Out Slave In (data output from master) MISO: Master Input Slave Output, or Master In Slave Out (data output from slave) SS: Slave Select (often active low, output from master) * Other bus-names can be used, depending on the data- usage and the bus master-/ slave configuration. 15 15 15
16
Short distance serial connectivity
Serial Connectivity – I²C - I²C (Inter-Integrated Circuit), pronounced I-squared-C- - Communication intended between chip & sensor(s) - ‘Slow’ half duplex – 10kbit/s up to 5 Mbit/s, 2-wire solution - Depending on the use-case different configurations are possible, while 1* SS’ per device is common to avoid library-adjustment: 16 16 16
17
Workshop Vinton Cerf Vinton Gray Cerf, in het dagelijks leven Vint Cerf genoemd is een Amerikaans internetontwerper en zakenman. Hij wordt ook wel de 'vader van het internet' genoemd.More at Wikipedia (NL) Volledige naam: Vinton Gray Cerf Bijnaam: vader van het internet Geboren: New Haven (Connecticut, 23 juni 1943 17 17 17
18
Program * Avond 1 - 2 mei Domoticz @ RasbperryPi
* Avond mei Sensors & actuators * Avond mei Domotics bus-systems * Avond mei Blocky & node red * Avond mei Strut your stuff 18 18 18
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.