Dorm Room mini-fridge external temperature survey 24hrs

C
Embedded Systems
IoT

Due to there being no ventilation in the dorm rooms, and the temperature having hit over 90 degrees Fahrenheit outside, I took every measure I could to try and keep the dorm room cool. However despite my measures the temperature still got rather high in the dorm room at 11pm or midnight when one would expect the temperature to be cooling down. I noticed the temperature was sometimes marginally higher closer to the small fridge I had set up in my dorm but it was very inconsistent so I was not entirely sure if my fridge could be to blame. For this reason I set out to collect a 24hr dataset of the temperature near the fridge to see if it was consistently higher than what the dorm room temperature would be expected to be. To do this I had an ESP32 board, 10k ohm thermistor setup in a voltage divider with a 10k ohm resistor, and an SD card reader in order to collect and store temperature data. The code that would need to be written to accomplish this task with the hardware I had was written in the Arduino integrated development environment (IDE) and was based on the knowledge I had gained in both the C coding language and that of the Arduino boards. The thermistor does not automatically output temperature values, and so I had to find an equation and put in the thermistor supplier’s values into the equation in order to get the temperature in degrees Fahrenheit. I also wrote code for taking the temperature values and aggregating them for a running continual average, a maximum and minimum measured temperature value and for 10 min averages in order to plot the data. This data then had to be written to a text file on an SD card so I could have the system operate on its own without it having to be connected to my computer. The results of the data did support my theory, in that the fridge caused the temperature of the thermistor (and thereby the room) to rise steadily through the night before slightly leveling off around 2 in the morning at 78.5 F before starting to climb again at 6am nearly reaching 80 degrees Fahrenheit. The electronics of the ESP32 board did heat up slightly during operation but the thermistor itself sits a decent bit away from the board, so that source of error should be minimal. The consistently high temperature and the fact that the temperature nearly peaked at 80 degrees leads me to believe that the fridge does in fact keep the temperature of the dorm room a decent but higher compared to just the normal heating and cooling due to changes in the outside air temperature.

0 Lifts 

Artifacts

Name Description
Video demonstration This link will take you to the youtube video for explaining the project.   Link
Arduino code This is the code for the program in the Arduino IDE   Download