PIR Sensor Data Logger

C++
Arduino
Hardware
IoT

A program that runs on ESP32 to record information from a PIR Motion Sensor utilizing the Arduino platform and C++. I implemented live streaming of data to the serial port once per second utilizing the serial monitor to read the results. I also developed a command-based system to provide summaries of measured information such as the maximum, minimum, ten-minute average, and overall average of the entire program. I measured the total movement within my room as well as the movements per second. When looking at my results, it seems that we moved generally around the same amount of times every 10 minutes with around the same average movement within that timespan. The main conclusion that I can draw is that my roommate and I move a lot as we averaged 0.5 movements per second with a total movement within the thousands throughout the day. Another thing to note was that there were no outliers within the data. That being said, there could also be some issues regarding the sensor as it was somewhat altered/damaged when I got it and it bases off its information via an infrared sensor which could be effected by outside causes as well.

0 Lifts 

Artifacts

Name Description
Arduino File The code of the program   Download
Excel File The raw data and graphs associated with it   Download
Project Video Shows the program running, graphs and raw data, and conclusions   Link