Professional Documents
Culture Documents
advertisement
(/id/ESP8266- (/id/ESP8266-
(/id/ESP8266- 12-blynk- 12-blynk-
12-blynk- wireless- wireless-
wireless- temperature- temperature-
simple- LM35- e-humidity-D-
virtual-led/) sensor/) 1/)
advertisement
10k resistence
power regulator 3,3v-5v
Step 2: Connections
(https://cdn instructables com/F20/8HQS/IFMVWBSX/F208HQSIFMVWBSX MEDIUM jpg)
ESP8266
VCC +3,3v
CH-PD +3.3v
DHT22 sensor
pin 1 +3,3v
pin4 ground
----------------------------------------------
10k resistence
pin 1 (DHT22) ---- 10k resistence---- pin 2 (DHT22)
http://www.blynk.cc/ (http://www.blynk.cc/)
------------------------------------------
store app
------------------------------------------
configure blynk
Step 4: Sketch
Sketch
----------------------------------------------------------
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).
----------------------------------------------------------
ESP8266 sketch
change the sketch in the following lines with your data
char auth[] = "xxxxxxxxxx"; //insert here your token generated by Blynk
(https://cdn.instructables.com/ORIG/F21/IN1E/IFMVWFUT/F21IN1EIFMVWFUT.ino)
SimpleTimer.zip
Download (https://cdn.instructables.com/ORIG/F38/8FLS/IFMVWFW9/F388FLSIFMVWFW9.zip)
(https://cdn.instructables.com/ORIG/F38/8FLS/IFMVWFW9/F388FLSIFMVWFW9.zip)
DHT-sensor-library-ma
Download (https://cdn.instructables.com/ORIG/FGW/JL0Q/IFMVWFWZ/FGWJL0QIFMVWFWZ.zip)
(https://cdn.instructables.com/ORIG/FGW/JL0Q/IFMVWFWZ/FGWJL0QIFMVWFWZ.zip)
Step 5: Thanks
Thanks by catoplepa
advertisement
10pcs Free
Comments
Hi , I recive value of 716 for temperature and 920 for humidity , what I can do ?
Reply
onorabil (/member/onorabil/) made it! . MihailA3 (/member/MihailA3/)
2016-09-02
Move the sendUptime function before the setup function, so the
compiler can see it in the current scope.
In case the above doesn't make sense, just compile the attached sketch
(replace auth token, ssid and password).
(https://www.instructables.com/static/defaultIMG/default.MEDIUM.gif)
2015-11-21
I have the same
2016-05-27
Could you fix that problem because I have the same now
Hi MihailA3
Hi catoplepa,
I figured out the error. I did not realize the SSID was case sensitive, that
corrected I managed to get connected. Now my issue is with the actual values; I
get -3276.7 for temp, 6553.5 for Hum.. I am using both libraries and the sketch
as is! Also using a dht22 3 pins breakout board. Any idea where I made a
mistake?
Hi Gumby54
I'm sorry but I do not know Acrobotic ESP8266-12E
how can you also display data on arduino IDE serial monitor and set too
high/low values and based on these values send out an email;
Blynk.email("my_email@example.com", "Subject", "Your message goes
here");
so it can actually alarm us "greenhouse too cold" thank you for your time.!!
https://www.instructables.com/id/ESP8266-12-blynk-w...
(https://www.instructables.com/id/ESP8266-12-blynk-wireless-temperature-e-
humidity-D/?comments=all#CPVSYF5IKPS5TUW)
This works, but when i connect to blynk it seems that the connection keeps
jumping out, then back in again. The gauge shows the right values, then goes
to blank (--), then back to the right value, over and over again. Might there be
an issue with the code that causes a continuous disconnect?
Hi druid001
There are several ways to program the esp8266, I preferred to specify the way
in which I have uploaded the sketch.
First time doing something like this. I don't understand the comment "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)
Hi Grzegorzk5
I use Arduino IDE 1.6.5 and it works fine, but if I use Arduino IDE 1.6.6 to me
gives me the same error.
It could be a problem of libraries
2015-11-22
thanks
timer.setInterval(1000L, sendUptime);
Arduino ID1.6.6
please help
hi, MihailA3
you have found a mistake in my sketch? or have you copied the sketch wrong?
what kind of change you made
Thanks
Catoplepa
Hi, MihailA3
Thanks
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>
#include <DHT.h>
// first DHT22
// second DHT22
void setup()
Serial.begin(9600); //
Blynk.begin(auth, "ssid", "password!"); //
// Setup a function to be called every second
timer.setInterval(1000L, sendUptime);
void sendUptime()
{
float h = dht.readHumidity();
float t = dht.readTemperature();
// second DTH22
float h1 = dht.readHumidity();
float t1 = dht.readTemperature();
Blynk.virtualWrite(12, t1); // virtual pin 12
void loop()
{
Blynk.run();
timer.run();
hello, is it possible to combine two diferents circuits and comunite via phone?
for example, I have two rooms and I want to check both temperatures, so I can
chose circuit one for my room and see the temperature, if I want to check my
brothers room it will be circuit 2.
2015-10-18
thanks tohelp
Hi, GrzegorzK5
the sketch is very simple, you try to verify links or virtualpin on the blynk app
Newsletter About Us
Let your inbox help you discover our best Who We Are (/about/)
projects, classes, and contests. Instructables Advertise (/advertise/)
will help you learn how to make anything! Contact (/about/contact.jsp)
Jobs (/community/Positions-available-at-Instructables/)
enter email I'm in!
Help (/id/how-to-write-a-great-instructable/)
Find Us Resources
Facebook (http://www.facebook.com/instructables) For Teachers (/teachers/)
Youtube (http://www.youtube.com/user/instructablestv) Residency Program (/pier9residency)