Lights Out
Final Presentation
Presented by B2: Diva-Oriane Marty, Malavika Krishnamurthy, Ryan Gess
Application Area
Commercial buildings consume 2.5 kWh/square foot *
i.e. light motion detectors shut off when people are seated
*Commercial Building Energy Consumption Survey (CBECS)
Solution Approach
Goal: Turn on lights in specific occupied section(s).
+
Solution:
Added web application privacy settings and manual control of lights
Hardware & Communication
Sensing:
Microphone: (Daoki TS-US-115-CA)
PIR: (Adafruit Motion Sensor )
2m radius, 120° FOV
Communication (WiFi):
Node MCU Mini
Mosquitto Protocol (MQTT Protocol)
Computation/Localization:
Raspberry Pi
Led light strips: LED light strips
Localizing: Weighting + Coupling sensors data
App: Django
PIR sensor
Led Strips
Microphones
RPi
App
Node MCU
Web Application Solution
Device Logic
Modify Score
Send ON or OFF?
Design Trade-Offs
False Positives
PIR/Mic Threshold
PIR/Mic Threshold
False Negatives
Testing, Verification, and Metrics
Requirement | Testing | Metric |
Localization latency + communication latency | Person enters zone of detection; lights turn on within 2 seconds | < 2 seconds |
Detect location of individuals having a conversation (or significant noise) | Individuals are still and talking at conversation level | < 1m radius |
Detect individuals moving | Individuals are not speaking while walking across the room | < 1m radius |
Detect individuals with low sound and low movement | Individual enters room then does not move or make a sound | > 50% |
Latency (Test 1)
Requirement: Lights turn on within 2 seconds of person entering area
Ensures: Computation and communication latency from signal detection to output is less than 2 seconds
Test: Film a person entering area. Record the time from when entered area to lights turning on
Success Metric: Lights turn on within 2 seconds
Results: Average latency = 1.028s (5 trials all below 2 seconds)
Moving and Still (Test 2 and 3)
Requirement | Turn on lights when individuals moving | Turn on lights when individuals are sitting or standing still but making noise |
Test | Enter and exit 1m radius area | Enter 1m radius and have conversation while sitting for 1 min |
Success Metric | Turn on lights when person enters area / Turn off when person exits area / Keep on while person is still in area | Lights remain on while individuals are in area but not moving |
Results | 10 Trials Successes: 10 / 10 / 8 | 10 Trials Successes: 8 |
Low Sound and Low Movement (Test 4)
Requirement: Turn on lights in low movement low sound environment
Test: Enter a 1m radius area of two work area and individuals are silent and still (completing work on laptop) in one work area
Success Metric: Lights remain on for 1 min while individuals are there
Results: 10 trials
Successes: 8*
* 4 false positives meaning other work areas also stayed on, this comes at cost of erroring on the side of keeping the lights on when uncertain
Schedule
Week 4 | Week 5 | Week 6 | Week 7 | Week 8 | Week 9 | Week10 | Week11 | Week12 | Week13 | Week14 |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
Project Proposal
Order Parts
Design Presentation
User Behavior Testing
App Front End
Wifi connections
Simple Localizing
App Oauth
Weighing relative PIR
Weighing sound+PIR
Connect App to RPi
Integrating Multi Sensors
Combine all Weights
Final Pres
Testing
Ryan
Diva
Malavika
Everyone
Ryan+Diva
Modified Scheduled in last weeks:
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |