iv123 lin
/
connected-lights
sample_pir-lights_rgb
docs/index.md@0:7a352727249b, 2017-06-18 (annotated)
- Committer:
- iv123
- Date:
- Sun Jun 18 10:14:56 2017 +0000
- Revision:
- 0:7a352727249b
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
iv123 | 0:7a352727249b | 1 | # Building an internet connected lighting system |
iv123 | 0:7a352727249b | 2 | |
iv123 | 0:7a352727249b | 3 | In this tutorial we'll use the ARM mbed IoT Device Platform to build a complete connected lighting system that you can deploy in your house or office. The system consists of one (or more) extra-bright RGB LEDs hooked up to an mbed OS development board. The lights can be turned on or off by a motion sensor, but are also connected to the internet, so you can change their color. The system uses mbed Device Connector to connect to the internet, and is secured end-to-end. |
iv123 | 0:7a352727249b | 4 | |
iv123 | 0:7a352727249b | 5 | We'll go over all the steps required to build the hardware, the cloud integration, and the application. At the end of the tutorial you'll have a firm understanding of building complete connected IoT solutions on the mbed IoT Device Platform. You'll also have a cool light. |
iv123 | 0:7a352727249b | 6 | |
iv123 | 0:7a352727249b | 7 | ## Requirements |
iv123 | 0:7a352727249b | 8 | |
iv123 | 0:7a352727249b | 9 | We need the following hardware: |
iv123 | 0:7a352727249b | 10 | |
iv123 | 0:7a352727249b | 11 | * A [development board](https://developer.mbed.org/platforms/?software=16) capable of running mbed OS. |
iv123 | 0:7a352727249b | 12 | * A way of connecting to the internet. Choose one: |
iv123 | 0:7a352727249b | 13 | * Ethernet, by using a development board with an Ethernet connection. |
iv123 | 0:7a352727249b | 14 | * Wi-Fi, by using an [ESP8266 Wi-Fi module](https://developer.mbed.org/teams/ESP8266/). |
iv123 | 0:7a352727249b | 15 | * 6LoWPAN, by using a [6LoWPAN gateway](https://firefly-iot.com/product/firefly-6lowpan-gateway-2-4ghz/) and a [6LoWPAN shield](https://firefly-iot.com/product/firefly-arduino-shield-2-4ghz/). |
iv123 | 0:7a352727249b | 16 | * A breadboard, to hook up the components. |
iv123 | 0:7a352727249b | 17 | * A PIR sensor to detect motion. |
iv123 | 0:7a352727249b | 18 | * An RGB LED - preferably an extra-bright one. |
iv123 | 0:7a352727249b | 19 | * For a better effect you can also use a [Grove Chainable LED](http://wiki.seeed.cc/Grove-Chainable_RGB_LED/). |
iv123 | 0:7a352727249b | 20 | * After building the original application, you can easily swap out the LED for something [fancier](https://www.adafruit.com/product/1138). |
iv123 | 0:7a352727249b | 21 | * Some jumper wires. Both male-male and male-female. |
iv123 | 0:7a352727249b | 22 | * Resistors: 1x 100 Ohm, 2x 220 Ohm. |
iv123 | 0:7a352727249b | 23 | |
iv123 | 0:7a352727249b | 24 | |
iv123 | 0:7a352727249b | 25 | <span class="images">![Components needed](assets/lights2.png)<span>Components required to build our lighting system. Top row: RGB LED, PIR sensor, ESP8266 Wi-Fi module. Bottom row: breadboard, NXP FRDM-K64F, jumper wires.</span></span> |
iv123 | 0:7a352727249b | 26 | |
iv123 | 0:7a352727249b | 27 | We also need an account on [developer.mbed.org](http://developer.mbed.org/) to access the online compiler and mbed Device Connector. |