This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:sut:color [2019/10/29 16:20] – pczekalski | en:iot-open:remotelab:sut:color [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| * Dark side - only illuminated by LEDs | * Dark side - only illuminated by LEDs | ||
| The user can experiment with controlling the brightness of LEDs and measuring the intensity and colour of the light. | The user can experiment with controlling the brightness of LEDs and measuring the intensity and colour of the light. | ||
| - | |||
| <figure Tower_diagram> | <figure Tower_diagram> | ||
| {{: | {{: | ||
| - | < | + | < |
| </ | </ | ||
| Line 47: | Line 46: | ||
| The main aim of the laboratory is to do different experiments with LED light. The user can start with simple PWM controlling of LED. Next, try to keep a constant level of brightness on a bright part of the model. The other aim is to keep the same level of lighting on a dark part of the model, as is on the bright side. | The main aim of the laboratory is to do different experiments with LED light. The user can start with simple PWM controlling of LED. Next, try to keep a constant level of brightness on a bright part of the model. The other aim is to keep the same level of lighting on a dark part of the model, as is on the bright side. | ||
| The diagram of the main part is shown in figure {{ref> | The diagram of the main part is shown in figure {{ref> | ||
| + | |||
| + | <figure LEDs_diagram> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| <figure Sensor_diagram> | <figure Sensor_diagram> | ||
| - | {{ : | + | {{: |
| < | < | ||
| - | </ | ||
| - | |||
| - | <figure LEDs_diagram> | ||
| - | {{ : | ||
| - | < | ||
| </ | </ | ||
| Line 81: | Line 80: | ||
| ===== Actuators ===== | ===== Actuators ===== | ||
| In the system, there are two CREE dynamic LEDs. Each consists of four LED structures with two cold-white and two warm-white lightning. First LED is placed on top of the bright/ | In the system, there are two CREE dynamic LEDs. Each consists of four LED structures with two cold-white and two warm-white lightning. First LED is placed on top of the bright/ | ||
| - | As PWM controller has been used a 16-channel PWM chip - PCA9685 (Address - 0x40H). PCA9685 is connected directly to the microcontroller I2C master interface. | + | As PWM controller has been used a 16-channel PWM chip - PCA9685 (Address - 0x40H). PCA9685 is connected directly to the microcontroller' |
| ^Actuator^Position^Input/ | ^Actuator^Position^Input/ | ||
| - | | Channel 0 |On the board|Input|LED1/bright side warm-white| | + | | Channel 0 |On the board|Input|LED0/bright side warm-white| |
| | Channel 1 |On the board|Input|LED1/ | | Channel 1 |On the board|Input|LED1/ | ||
| | Channel 2 |On the board|Input|LED2/ | | Channel 2 |On the board|Input|LED2/ | ||
| - | | Channel 3 |On the board|Input|LED2/dark side cold-white| | + | | Channel 3 |On the board|Input|LED3/dark side cold-white| |
| | Channel 4 |On the board|Input|N/ | | Channel 4 |On the board|Input|N/ | ||
| | Channel 5 |On the board|Input|N/ | | Channel 5 |On the board|Input|N/ | ||
| Line 118: | Line 117: | ||
| board = d1_mini | board = d1_mini | ||
| framework = arduino | framework = arduino | ||
| - | lib_deps = Wire, EmonLib, Adafruit NeoPixel, Encoder,DHT sensor library, Adafruit Unified Sensor, LCD, PubSubClient, | + | lib_deps = Wire, EmonLib, Adafruit NeoPixel, Encoder,DHT sensor library, |
| + | Adafruit Unified Sensor, LCD, | ||
| + | PubSubClient, | ||
| </ | </ | ||
| Line 141: | Line 142: | ||
| ===== Support ===== | ===== Support ===== | ||
| - | In case of problems | + | In case of problems |