As per customer requirement designed automatic temperature control system
The temperature of system goes on 32 degree then the motor or cooling fan will operated
ds18b20 temperature sensor :
DS18B20 is one of the popular temperature sensors because it is cheap, easy to use, and also waterproof. It is a very cheap
No: | Pin Name | Description |
1 | Ground | Connect to the ground of the circuit |
2 | Vcc | Powers the Sensor, can be 3.3V or 5V |
3 | Data | This pin gives output the temperature value which can be read using 1-wire method |
Specification:
- Operating voltage: 3V to 5V
- Temperature Range: -55°C to +125°C
- Accuracy: ±0.5°C
- Programmable Digital Temperature Sensor
- Communicates using 1-Wire method
DS18B20 connection:
The sensor works with the method of 1-Wire communication. It requires only the data pin connected to the microcontroller with a pull up resistor and the other two pins are used for power
components required :
- Arduino UNO
- DS18B20 Temperature sensor
- cable
- 3 pin switch
- 5 V relay module
- 1 k resistor
- adapter
- Flexible Electrical Wire
- USB cable
circuit connection
in this picture arrows shoe the display, relay and switch connection with Arduino
circuit connection:
source code /program:
Final working :
As per requirement I have get some trials on AC supply.
temperature grater than 32 degree then switch is ON.