Documente Academic
Documente Profesional
Documente Cultură
Components Required:
Temperature sensor LM35, ESP8266,2-channel Relay,
Blynk
Software Required:
Arduino IDE.
Temperature Sensor LM35:
1) VCC
2) Output
3) Ground
LM35 is a measuring device used to measure the temperature .Temperature is
used to measure the temperature through the analog pin which is proportional
to current temperature value.
2-Channel Relay:
The relay module is a separate hardware device used for
remote device switching. With it you can remotely control devices over a
network or the Internet. Switching is done through electromagnetic switch.
Working :
STEP 1: Esp8266 GPIO pin is connected to the analog pin of the
temperature sensor,Ground is connected to the ground pin, vcc is connected the
5v.
STEP 2: Once the code is dumped into the esp8266 Temperature sensor
will detect the temperature and display in serial monitor. Voltage calculated in
analog pin is converted to the temperature through the formula,
Formula To Convert Voltage to Temperature Value
Vout=(Vout*500)/1024
Temperature sensor outputs the analog signal which is
proportional to the instantaneous temperature .The obtained voltage can be
easily interrupted to temperature in Celsius using the above mentioned formula.