Device | Description |
---|---|
Light Sensor | 4 LED lights connected to GPIO pins [13, 17, 19, 22] on a Raspberry Pi Model 3 B. |
Motion Sensor | Motion Sensor + 1 LED connected to a single GPIO pin [12] on a Raspberry Pi Model 3 B. |
Script | Description |
---|---|
blink.py | A Python script that activates Sensor_A to blink (ON/OFF) 10 times each in sequential pattern |
readMotionSensor() | A Java method that reads and collects IoT-data from Sensor_B. Every time it detects a motion data=ON else data=OFF |