This shows you the differences between two versions of the page.
iothings:proiecte:2021:smartstreetlightcontrolsystem [2021/12/20 03:00] mihail_eugen.pascu |
iothings:proiecte:2021:smartstreetlightcontrolsystem [2022/01/06 03:48] (current) mihail_eugen.pascu Added video link |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Smart Street Light Control System ==== | ==== Smart Street Light Control System ==== | ||
<sub>author Pascu Mihail-Eugen</sub> | <sub>author Pascu Mihail-Eugen</sub> | ||
- | <sub>ACES 2021</sub> | + | <sub>ACES 2021</sub> \\ |
+ | <sub>[[https://www.youtube.com/watch?v=Pv66tlE-ecg | [Youtube Video]]]</sub> | ||
=== 1.Project Objective === | === 1.Project Objective === | ||
Line 55: | Line 56: | ||
**Pole Code** is composed of the setup and loop functions and 5 tasks. This can be seen in the below diagram. \\ | **Pole Code** is composed of the setup and loop functions and 5 tasks. This can be seen in the below diagram. \\ | ||
- | {{ setuppole.png }}\\ | + | {{ setuppole.png?500 }}\\ |
A detailed explanation regarding the functionality for each part is presented in the next rows. | A detailed explanation regarding the functionality for each part is presented in the next rows. | ||
* **setup function** configures the tasks that will be runned by the scheduler of the FreeRTOS, the serial console (used to get the status of the CentralHub that is connected via USB to a PC), the PWM for the Bulb and the pins that are used as input for the Photoresistor and PIR MovementDetection Sensor; | * **setup function** configures the tasks that will be runned by the scheduler of the FreeRTOS, the serial console (used to get the status of the CentralHub that is connected via USB to a PC), the PWM for the Bulb and the pins that are used as input for the Photoresistor and PIR MovementDetection Sensor; |