1 / 18

DOMOTICA May MONTH

DOMOTICA May MONTH. Sander Claassen John Heesterbeek Ad van Berlo Marco van Nieuwenhoven MADspace community. Program. * Avond 1 - 2 mei Domoticz @ RasbperryPi * Avond 2 - 9 mei Sensors & actuators * Avond 3 - 16 mei Domotics bus-systems * Avond 4 - 23 mei Blocky & node red

arbour
Download Presentation

DOMOTICA May MONTH

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DOMOTICA May MONTH Sander Claassen John Heesterbeek Ad van Berlo Marco van Nieuwenhoven MADspace community

  2. Program * Avond 1 - 2 mei Domoticz @ RasbperryPi * Avond 2 - 9 meiSensors & actuators * Avond 3 - 16 meiDomotics bus-systems * Avond 4 - 23 meiBlocky & node red * Avond 5 - 30 meiStrut your stuff 2

  3. Workshop 1. Introduction 2. Preparations 3. Bus-systems … 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

  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 433.92MHz (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 ** 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) 6

  7. Connectivity Connectivity – Z-Wave - Proprietary protocol (Z-Wave Alliance)* - 800-900Mhz (868.42MHz for EU) - Mesh network architecture - Protocol supports feedback by default - Secure: Z-wave S2-class security (uses AES-128)** - Expensive 7

  8. Connectivity Connectivity – WiFI - ESP8266/ESP8285, start of IoT? - 802.11 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

  9. Connectivity Connectivity – Thread - New protocol (2014), used by Nest (Google), Samsung, NXP... - Based on IEEE 802.15.4 MAC/PHY, IPv6 & LoWPAN - Compatible with ZigBee - Low power mesh network architecture - Energy efficient - Standard adapted for IP-addressable/ cloud access - Security: AES 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!) 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 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

  13. Connectivity Protocol benchmark *no feedback (by default) 13

  14. serial connectivity Serial wired connections 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

  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

  17. Workshop 17

  18. Program * Avond 1 - 2 mei Domoticz @ RasbperryPi * Avond 2 - 9 meiSensors & actuators * Avond 3 - 16 meiDomotics bus-systems * Avond 4 - 23 meiBlocky & node red * Avond 5 - 30 meiStrut your stuff 18

More Related