Heat Sensor Alert System

by clover730 in Circuits > Arduino

51 Views, 0 Favorites, 0 Comments

Heat Sensor Alert System

Screenshot 2024-08-06 135927.png

we made a circuit that tells the tempter and tells you if it gets out of the optimal range.

Supplies

Arduino UNO

breadboard

RGB Led

resistors

OLED display

[KY-001] Temperature Sensor

7-segment display

speaker

wires

Making the Code

We made the code over many steps but we made most of it in the beginning. We learned how to write the code from Inventr.io. You also have to make sur to install the libraries that you will need.

Downloads

Put the Temperature Sensor in the Breadboard

We put the temperature sensor on the breadboard but it was in Celsius or we coded it to show as Fahrenheit.

Installing a Clock on the Breadboard

We installed a clock on the breadboard so it shows us the temperature from the temperature sensor.

Adding a RGB Light to Show If the Temperature Got Above or Below a Certain Temperature

When the temperature got above 80 degrees  it would turn red and below 75 it would turn blue. If the temperature was between 75 and 80 the light would be white.

Adding a Screen to Display Hot, Cold, or Normal.

We hooked up a display screen to say  “hot” if the sensor is over 80 degrees and “cold” when it gets to less than 75. The screen will say normal when the temperature is between those two numbers.

Adding a Buzzer to Make a Sound

We added a buzzer to make a sound when it reached ether 80 or 75 degrees Fahrenheit. The 80 degrees Fahrenheit was a higher pitch than the 75 degrees Fahrenheit.

Testing

To test the circuit we would plug it into a power sources and saw if it worked. If it didn't we would change something and try again until it worked.

Trouble Shooting

On the first day, it worked and we did after a couple of tries and moving wires. But we had to pack up. And when we got there the next day. It was all squished and broken, we then put the wires in the wrong spots again, and spent a long time putting them in the right place as the sketch we had draw on the computer was incorrect.

Conclusion

We finished the project with flying colors after many attempts, many hot fixes, changing code, and quick thinking. This was a great project and thanks for being in this journey!