ENGR 103 Final Project

Arduino

My assignment was to use an ESP-32S Arduino Circuit board, along with whatever sensor(s) I wanted to use, and solve a problem that was important to me. The problem I chose to solve was the fluctuation of the temperature in my room, as it changes quite a bit throughout the day, and sometimes gets too hot for me to sleep at night. For this, I chose to use a temperature sensor, and I landed on the LM75A, as it is solely measures temperature (the only variable I was measuring), and was available for free at the OSU Tekbots store. Creating the circuit was simple enough, and the only real research I had to do was finding an Arduino library for my specific sensor, and finding which pins to connect said sensor to. Once it was all connected, the code was simple enough to write. My code, which can be accessed in the "Artifacts" section of this website, makes the sensor take a temperature reading every second for 10 seconds, averages them, and outputs said average temperature value to the serial port it is connected to. In my case, I additionally added a piece of code that se the program to run for 8 hours, but which can be adjusted as needed. After collecting the data, sorting & graphing it in an excel worksheet (also available in the "Artifacts" section), I came to understand a few things. Firstly, the temperature of my room varies much more than I thought, as at night, it went from low 70's to high 60's, when I though it stayed right around the mid 60's, which means it's much hotter in my room when I sleep than I had originally thought. Secondly, the data I collected showed that having my window open all day does have a large effect on the temperature of my room, even when the A/C or heat are on, which means that I could conceivably turn off my A/C and let the window dictate my room's temperature, inadvertently saving me money on my electricity bill, which is a huge plus for me. Lastly, the ease with which I was able to assemble & program the circuit means that I am able to create circuits of similar purpose, but with more features, more complex/accurate data, and use my knowledge to work on projects that can help me and my family in small, but helpful, ways.

1 Lifts 

Artifacts

Name Description
Arduino Output Data & Graph This is an excel spreadsheet containing the data that was collected from the LM75A temperature sensor while the code was running. It includes the raw data, as well as a graph of the temperature versus time.   Download
Project Walkthrough This is a video recording of me explaining my code, demonstrating it working as intended, showing and explaining the data & graph that I collected & made, and discussing the scope & results of the project.   Download
Arduino Code This is the code that runs on the ESP-32S Arduino circuit board, and communicates with the LM75A temperature sensor to read the temperature of my room.   Download