Daylight Motion sensor

With my project I aimed to create a device that could be used to track the correlation between daylight and how much time people spend inside. To achieve this, I used an Ultrasonic sensor and a photo resistor, I wrote a program that would take data measurements once every second and then print 10-minute averages. The ultrasonic sensor measures distance so a variation in its distance reading suggests movement in front of it, the photo resistor measures light. To store the data I used Putty, an app that reads the serial port and prints it to a .txt file. Then I could easily paste that data into Excel where I could then graph it. I set up the device in my dorm room and I recorded data from about 7pm to 8am. I was pleased to see that you could clearly identify when the sunset and when it rose you could also see when my roommate and I went to bed and when we woke up. In hindsight I would have used a motion sensor instead of a ultrasonic sensor, this would have yield more accurate and specific data.

0 Lifts 

Artifacts

Name Description
Code Arduino file with the code to run the device   Download
Data Excel spreadsheet that has data collection and graph   Download
Video Demo Short video demonstrating the device function and analyzing the data collected.   Download