Introduction: ESP8266-12 Blynk Wireless Temperature LM35 Sensor
ESP8266-12 blynk wireless temperature LM35 sensor
in this project using a esp8266, to show the temperature LM35 sensor on your smartphone or tablet.
if you have available sensors DHT11 DHT22 or you can use the following Instructable
DHT11 sensor
ESP8266-12 blynk wireless temperature, humidity DHT 11 sensor
DHT22 sensor
ESP8266-12 blynk wireless temperature, humidity DHT22 sensor
Step 1: Materials
ESP8266-12 (esp8266-7, ...... , esp8266-12e)
LM35 temperature sensor (10mv /°c)
power regulator 3,3v-5v
Step 2: Connections
ESP8266-12
VCC +3,3v
CH-PD +3.3v
ADC ---- pin2 (LM35)
GND ground
GPIO5 ground
-----------------------------------------------
LM35 sensor
pin 1 +3,3v
pin 2 output .---- ADC (ESP8266-12)
pin 3 ground
-----------------------------------------------
Step 3: Blynk App
------------------------------------------
store app
------------------------------------------
configure blynk
create new project ( use hardware model esp8266 )
generate AUTH TOKEN
send E-mail TOKEN ( copy TOKEN in the esp8266 sketch)
in the app Blynk use Value Display widget or Gauge widget
Step 4: Sketch
sketch
blynk library
SimpleTimer library
----------------------------------------------------------
to programming the ESP8266-12, I use ide arduino 1.6.5 and CP2102 3.3V USB To UART Serial Interface Module Adaptor ( do not connect the power of the CP2102 to esp8266-12).
----------------------------------------------------------
SP8266 sketch
change the sketch in the following lines with your data
char auth[] = "xxxxxxxxxx"; //insert here your token generated by Blynk
Blynk.begin(auth, "ssid", "password!"); //insert here your SSID and password
----------------------------------------------------------
note
ADC
If you use ide arduino ADC ---- pin 17
range voltage 0-1.0v
range units 0-1024
Step 5: Thanks
thanks by catoplepa