This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:itt:remotelights [2018/12/06 06:46] – rim.puks | en:iot-open:remotelab:itt:remotelights [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== RGB LED module ===== | + | ===== ITT RGB LED module ===== |
| This laboratory is located in the office of ITT Group in Tallinn, Estonia. | This laboratory is located in the office of ITT Group in Tallinn, Estonia. | ||
| ==== Introduction | ==== Introduction | ||
| - | This laboratory consists of a RGB LED module connected to the ITT IoT controller module. The module contains one RGB LED. This node can be used to create very basic MQTT systems but can also be used as a signaling | + | This laboratory consists of an RGB LED module connected to the ITT IoT controller module. The module contains one RGB LED. This node can be used to create very basic MQTT systems but can also be used as a signalling |
| {{: | {{: | ||
| Line 26: | Line 26: | ||
| === Software, libraries and externals === | === Software, libraries and externals === | ||
| - | To control WS2812B RGB LED the following | + | To control WS2812B RGB LED the following |
| * ITTIoT libary - used to program the controller module. | * ITTIoT libary - used to program the controller module. | ||
| * Adafruit NeoPixel libary - used to control the RGB LED. | * Adafruit NeoPixel libary - used to control the RGB LED. | ||
| Line 34: | Line 34: | ||
| === Limits === | === Limits === | ||
| - | At the same time one user can program the controller. But all users connected to the Distancelab MQTT broker can control the RGB LED, assuming they use the topic described in the controller program. | + | At the same time, one user can program the controller. But all users connected to the Distancelab MQTT broker can control the RGB LED, assuming they use the topic described in the controller program. |
| ==== Hands-on labs ==== | ==== Hands-on labs ==== | ||
| Line 46: | Line 46: | ||
| #define PIN D2 | #define PIN D2 | ||
| - | // When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals. | + | // When we setup the NeoPixel library, we tell it how many pixels, |
| - | // Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest | + | // and which pin to use to send signals. |
| + | // Note that for older NeoPixel strips you might need to change | ||
| + | // the third parameter--see the strandtest | ||
| // example for more information on possible values. | // example for more information on possible values. | ||
| Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, | Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, | ||
| Line 92: | Line 94: | ||
| Serial.print(" | Serial.print(" | ||
| Serial.println(b); | Serial.println(b); | ||
| - | + | // Moderately bright green color. | |
| - | pixels.setPixelColor(0, | + | pixels.setPixelColor(0, |
| pixels.show(); | pixels.show(); | ||
| Line 110: | Line 112: | ||
| Serial.println(" | Serial.println(" | ||
| - | iot.printConfig(); | + | iot.printConfig(); |
| iot.setup(); | iot.setup(); | ||
| Line 123: | Line 125: | ||
| </ | </ | ||
| - | === Study scenarios === | ||
| - | |||
| - | //List study scenarios (hands-on labs), linking to the Dokuwiki pages with hands-on labs descriptions (there should be a separate page for each scenario). Classify each scenario and refer to the target group using starting keywords: | ||
| - | * Beginners | ||
| - | * Undergraduates | ||
| - | * Masters | ||
| - | * Professionals | ||
| - | Note, assume that more professional group automatically contains less professional ones. Note - use language and as appropriate to the target group, i.e.:// | ||
| - | < | ||
| - | * Beginners: Elementary operations on the Arduino 2x16 LCD screen. | ||
| - | * Undergraduates: | ||
| - | * Masters: Using power saving states to limit power consumption. | ||
| - | </ | ||
| ==== Support ==== | ==== Support ==== | ||
| - | //Give some information on how to access help, how to get support in case of the trouble etc.// | + | info@ittgroup.ee |