the things network
play

The Things Network Dave Thornton @Davet998 @Davet998 Agenda Why - PowerPoint PPT Presentation

Arduino IOT and The Things Network Dave Thornton @Davet998 @Davet998 Agenda Why Arduino Communications Arduino Devices Sensors Shields Development tools Example Project The Things Network LoRaWAN @Davet998 Why


  1. Arduino IOT and The Things Network Dave Thornton @Davet998 @Davet998

  2. Agenda  Why Arduino  Communications  Arduino Devices  Sensors  Shields  Development tools  Example Project  The Things Network LoRaWAN @Davet998

  3. Why Arduino / Genuino  Open Source  Plenty of choice  Processor  Memory  Input / Output  Popular  Example Source Code  Good Community Support  Cheap  Easy to obtain  Alternatives @Davet998

  4. Communications @Davet998

  5. Wireless Technology Cellular 2G, 3G, 4G, LTE, 5G, NB-IoT, LTE-V2X LoRa @Davet998

  6. Communications 1. Ethernet 2. WiFi 3. GSM 4. Bluetooth 5. 433 MHz Transmitter @Davet998

  7. Arduino Devices 1. Digispark Micro 2. ESP8266 3. Pro Mini 4. Nano 5. Uno @Davet998

  8. Sensors @Davet998

  9. Sensors 1. Air Pressure 2. Real Time Clock 3. Temperature 4. Compass 5. Gasses @Davet998

  10. Sensors 1. Ultrasonic 2. Dust 3. Vibration 4. Accelerometer 5. Rotary Encoder @Davet998

  11. Example Project  Rectifier AC – DC  Arduino Nano compatible  Breadboard  Humidity  Pressure  Temperature  433 MHz transmitter  LED @Davet998

  12. Example Project • 1-Wire Temperature Sensors (5) • Relays (2) • Prototype Shield • Ethernet Shield • Arduino Uno Raspberry Pi 2 Model B E-paper display HAT WiFi USB Dongle @Davet998

  13. Development Tools @Davet998

  14. Fritzing @Davet998

  15. Raw Data @Davet998

  16. The Things Network @Davet998

  17. Moteino / Anarduino / The Things Uno @Davet998

  18. Dragino Lora Shield v1.3 http://wiki.dragino.com/index.php?title=Lora_Shield RFM95_98W @Davet998

  19. V1.3 Board Digital Pins 3, 4, & 5 free Analog Pins 0,1,2,3,4 & 5 free @Davet998

  20. RFM95/ 96 /97/98(W) @Davet998

  21. Wireless Specifications of RFM95W  168 dB maximum link budget.  +20 dBm - 100 mW constant RF output vs.  +14 dBm high efficiency PA.  Programmable bit rate up to 300 kbps.  High sensitivity: down to -148 dBm.  Bullet-proof front end: IIP3 = -12.5 dBm.  Excellent blocking immunity.  Low RX current of 10.3 mA, 200 nA register retention.  Fully integrated synthesizer with a resolution of 61 Hz.  FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.  Built-in bit synchronizer for clock recovery.  Preamble detection.  127 dB Dynamic Range RSSI.  Automatic RF Sense and CAD with ultra-fast AFC.  Packet engine up to 256 bytes with CRC.  Built-in temperature sensor and low battery indicator. @Davet998

  22. Power Consumption Caution: Power supply requirements of the RFM module may be relevant in some circumstances: RFM95/96/97/98 modules are capable of pulling 120mA+ at full power, where Arduino's 3.3V line can give 50mA. @Davet998

  23. RadioHead Libraries http://www.airspayce.com/mikem/arduino/RadioHead/index.html RH_RF95 Works with :-  Semtech SX1276/77/78/79  Modtronix inAir4 and inAir9  HopeRF RFM95/96/97/98  and other similar LoRa capable radios. Server Client ‘Hello World’ @Davet998

  24. iC880a Raspberry Pi Gateway Bill of Materials Raspberry Pi 3 £32.80 16Gb Micro SD card £4.65 BackPlane £11.22 IMST iC880a £239.69 pigtail antenna 2A PSU £6.00 Total £294.36 @Davet998

  25. Build  Assemble the backplane  Plug in the Pi, iC880a and antenna  Download the raspbian-jessie-lite image  Configure the Pi  Follow the excellent instructions here to install Gateway https://github.com/ttn-zh/ic880a-gateway/wiki  Remember to note down the mac address!  3D Print a mount for the antenna @Davet998

  26. Register a Gateway @Davet998

  27. Create a Application  Create an Application  Register a Device  ‘Hello World’ https://github.com/matthijskooijman/arduino-lmic “Don’t use Strings, encode your data into pure bytes They take up less space” @Davet998

  28. The Things Network @Davet998

  29. Node.js @Davet998

  30. One Small Step @Davet998

  31. The Things Network Backend @Davet998

  32. Tools… Let’s not create the Intranet of Things @Davet998

  33. Node-Red @Davet998

  34. Future LoRa Projects 1. Pycom … Aaaagh!!! 2. ESP8266 3. RFM/Pro Mini 4. LoRaWAN Monitor • Micro SD Card Reader • I2C LCD • Neopixel • GPS • Dragino Lora Shield • Arduino Mega @Davet998

  35. LoRaWAN Certification If you want to build a commercial product you have to use a chip with On-board LoRaWAN ™ protocol stack or get the finished product certified. Example: @Davet998

  36. Unleash Your City Challenge to meet 5 criteria Become officially part of The Things Network The 5 criteria are:  Gather 8 members   Connect 2 gateways   Publish 2 blogposts / forum discussions   Create an internal communication channel   Organize a public kick-off event  @Davet998

  37. @Davet998

Recommend


More recommend