How Temperature Changes in an Uninsulated Room Over 24 Hours

C++
C
Arduino

I used an ESP32 to measure the temperature change of a non insulated room at my house using a temperature sensor I built from a 10k Ohm thermistor and 10K Ohm resistor. I wrote an Arduino sketch to capture and average the data in increments of 10 minutes. In this sketch I had to create a function to implement the Steinhart-Hart equation to my thermistor readings to convert them into degrees Fahrenheit. Then I made a function that takes the averages of every ten minute reading increment as the code ran for 24 hours. The logic that I used for the overall average of every reading during the day was in the loop so it would update every iteration of the loop function. The count(number that the overall average was divided by) was an unsigned int variable because it would run literally every time the loop ran. I also had to use tape to keep the jumpers connected to the thermistor and resistor as when I was experiment and coding the resistor jumper would constantly fall of making it so that the lowest reading would be incorrect. Finally, I can conclude that the temperature in the uninsulated room at my house changes a lot during the day and you will see that in the graph further down on this page. PS: All of the code for the project was created using Arduino IDE and connecting my ESP32 to it.

0 Lifts 

Artifacts

Name Description
Diagram of ESP32 Connection to Thermistor and Resistor This schematic shows how my circuit used in this experiment was connect to my PC   Download
Graph of the Resulting Data This graph shows the variable change of the temperature of the uninsulated room over 24 hours. Highest and lowest values along with the overall average of the graph are present as constant functions in the graph.   Download
Link to Project Explanation Video This YouTube video explains how my code works with the ESP32 and draws a conclusion as to how the temperature in the uninsulated room changes over 24 hours   Link
ProgramFileForTheExperiment.ino Arduino IDE code for temperature readings   Download