Final Assignment (Don Heer)

The chosen data logger is based on sensing light using a photoresistor. The photoresistor has a resistance that changes with the intensity of light hitting it. Using an ESP32, we can measure the resistance and write some lines of code in Arduino to display a value ranging from 0-4095, but using a conversion factor, we can turn this value into units of lux. I measured the incoming light outside from a window and let the sensor and code run for just over 24 hours. The materials used in the project were an ESP32, wires, tape, a photoresistor, and a 10K resistor. The photoresistor and the 10k resistor both have two wires and I twisted one of each together so I could connect power, the sensor pin, and ground to the ESP32. The wires were then held in by tape so that they wouldn’t be able to fall at any point during data logging. The code I wrote basically takes a reading from the sensor every second and after 600 readings, or 10 minutes, it will print out the average lux and reset everything back to 0 so that it can start on the next 10 minute interval.

0 Lifts 

Artifacts

Name Description
Conclusion A conclusion of the data we got from the project.   Download
Arduino code The code used for the project   Download
Video File A video of me showing the code functioning, the graph of the data, and the Arduino setup.   Link