The temperature detecting heating control system works with DC5V voltage. This system uses DS18B20 temperature detection chip as the external detection equipment.
It works according to the external temperature collected by DS18B20. The system can make the heater work according to the temperature which has been setted. When the actual temperature is lower than the setting temperature, the heater begins to heat to make the temperature go up. When the heating temperature is not lower than the setting temperature, the heater stops working, the buzzer will alarm.
1) When the starting-up system initializes, the buzzer will alarm. The 4bit digital tube displays the current temperature.
2) Press the key 1 for a long while to enter the interface of setting temperature. The digital tube displays the setting temperature.(The primary temperature is setted as 30℃ ). Press the key2 or key3 to add or bring down the temperature. 3) The relay control the heater according to the comparison of the setting and actual temperature. If the setting temperature is higher than the actual one, the heater begins to heat, if not lower, the heater stops to heat.
Code for your reference
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Schematic Diagram
Step 2: Power Supply Line & GND Line
Plug +5V power supply and GND to the bread board from the ICSTATION MEGA development board, and the red bread wire is used as supply line, the black one as GND line.
Step 3: LCD1602
Plug LCD 1602 into the bread board, and use the DuPont thread to draw forth the digital tube pins.
Step 4: Digital Tube & MEGA2560
According to the schematic diagram, connect the pins of 4bit Digital Tube with the pins of ICSTATION MEGA development board.
Step 5: Place the Buzzer
The two sides connect with GND and +5V
The middle board development board connects to the pin 12.
Step 6: Connection of DS18B20 & Keyboad
Step 7: Connection of the Relay Module
The relay VCC and GND respectively connect to the bread board “+” “-”, and connect to the development board pin 13.
Step 8: Installation of Keyboard
Step 9: Finished and Testing
For the item code or datasheet, please kindly go to the product page on ICStation.
Thanks and should you have any unclear or suggestion, please feel free to share with us.