This shows you the differences between two versions of the page.
iothings:proiecte:2022:smart_rgb_lamp [2023/01/20 06:30] andrei.draghici2011 [3. Software] |
iothings:proiecte:2022:smart_rgb_lamp [2023/01/20 09:40] (current) andrei.draghici2011 [3. Software] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Student:** Draghici Andrei**\\ | Student:** Draghici Andrei**\\ | ||
Master: **ACES** \\ | Master: **ACES** \\ | ||
+ | {{:iothings:proiecte:2022:proiect_iot.zip|}} | ||
===== 1. Project overview ===== | ===== 1. Project overview ===== | ||
Line 44: | Line 44: | ||
{{:iothings:proiecte:2022:adafruit_iot_rgb_lamp.png?500|}} | {{:iothings:proiecte:2022:adafruit_iot_rgb_lamp.png?500|}} | ||
- | ===== 4. Results and demonstration ===== | ||
- | ===== 5. Conclusions ===== | + | When automatic mode is on, the lamp will change the color and intensity based on the outside weather following the next conditions: |
+ | The intensity will be mapped according to the temperature. The min and max values are -10* and 40*. If the temp will be lower or higher, it will be limited to the maxed mentioned earlier. | ||
+ | * If the weather is Cloudy, the color will be white and the intensity will be divided by 2 (after mapping from the temperature) | ||
+ | * If the weather is Clear or Sunny, the color will be yellow and normal intensity | ||
+ | * If it is Raining, the color will be blue, with normal intensity | ||
+ | * If it is Snowing, the color will be white will normal intensity | ||
+ | |||
+ | |||
+ | Flow diagram: | ||
+ | |||
+ | |||
+ | {{:iothings:proiecte:2022:flow_rgb_lamp.png?800|}} | ||
+ | |||
+ | ===== 4.Demonstration ===== | ||
+ | |||
+ | For a demonstration use the following link: https://youtu.be/_8bi6cdD2bI | ||
+ | ===== 5. Conclusions ===== | ||
+ | In conclusion this project is an interesting way to learn how IoT works, how it can be used every day for different activities, and how different API requests work and the differences between communication protocols. | ||
+ | The main purpose of this project is to create a smart RGB lamp that can be controlled with Google Assistance commands or it can change the color and intensity based on the outside weather. |