Device | Description |
---|---|
Light Sensor | 4 LED lights connected to GPIO pins [5, 6, 13, 19] on a Raspberry Pi Model 3 B. |
Motion Sensor | Motion Sensor + 1 LED connected to a single GPIO pin [37] on a Raspberry Pi Model 3 B. |
Position Sensor | Position Sensor connected to GPIO pins [36, 38] on a Raspberry Pi Model 3 B. |
Segment Sensor | Segment Sensor connected to GPIO pins [12, 16, 18], with display pins [11, 13, 15, 19] on a Raspberry Pi Model 3 B. |
Script | Description |
---|---|
LED.py | A python script that turns each LED light ON/OFF and subscribes response data to the React app using mqtt protocol. |
PIR.py | A python script that activates the PIR Motion sensor and subscribes response data to the React app using mqtt protocol. |
Ultra.py | A python script that activates the Position sensor and subscribes response data to the React app using mqtt protocol. |
7Segment.py | A python script that activates the Segment sensor, enables the user to input the display data and subscribes response data to the React app using mqtt protocol. |