Instance diagram

DRAv2.0 instance

IoT devices

IoT devices for DRAv2.0
DeviceDescription
Light Sensor4 LED lights connected to GPIO pins [5, 6, 13, 19] on a Raspberry Pi Model 3 B.
Motion SensorMotion Sensor + 1 LED connected to a single GPIO pin [37] on a Raspberry Pi Model 3 B.
Position SensorPosition Sensor connected to GPIO pins [36, 38] on a Raspberry Pi Model 3 B.
Segment SensorSegment Sensor connected to GPIO pins [12, 16, 18], with display pins [11, 13, 15, 19] on a Raspberry Pi Model 3 B.

Scripts

ScriptDescription
LED.pyA python script that turns each LED light ON/OFF and subscribes response data to the React app using mqtt protocol.
PIR.pyA python script that activates the PIR Motion sensor and subscribes response data to the React app using mqtt protocol.
Ultra.pyA python script that activates the Position sensor and subscribes response data to the React app using mqtt protocol.
7Segment.pyA 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.
© 2020 Georges Bou Ghantous · DRA Framework v2.0

Demo package