Great tutorial! Had trouble with my ESP8266 not compiling. Turned out to be the SimpleTimer Library, here's how I learned to fix it: // Remove this //#include ... // Modify this //SimpleTimer timer; // into this BlynkTimer timer; Hope this helps anyone with this error. Thanks again!
@AngerMike4 жыл бұрын
You are my hero!
@mgjr0094 жыл бұрын
@@AngerMike Glad it helped you out!
@u44056724 жыл бұрын
Excellent goodman
@TheCarbonburner4 жыл бұрын
Thanks, yes this worked for me as well!
@Gaber8204 жыл бұрын
thanks
@woodywood19512 жыл бұрын
one of the few videos that lead to an application that works immediately. Good job! Thanks for your time!
@taavikoppel17696 жыл бұрын
I copied everything but with a DHT22 sensor. Changed the line to use DHTTYPE DHT22. In the serial monitor I get "Failed to read from DHT sensor" Any ideas where I should look for the error? EDIT: Found the error. The code says DHTPIN 2 but the comment says PIN 4. And the diagram also indicates to PIN 4. It was actually using PIN2. The Blynk app is also updating now. Fantastic!
@mlggeek18126 жыл бұрын
Ty for the edit!
@lucaslobatovilazante96326 жыл бұрын
hi man, so did you solve the problem?
@joaomendes40495 жыл бұрын
I already checked this but it remains the same. Did you do anything else?
@metinplayer19994 жыл бұрын
From where can i find the esp8266wifi.h lib ?
@rustydusty37154 жыл бұрын
your code not working.plz help. exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
@PêcheOuCapot4 жыл бұрын
Don't forget to install blynk library manually.
@AdibRL4 жыл бұрын
@@PêcheOuCapot still doesnt work
@asmodeus_gaming0693 ай бұрын
sir on which software were you doing this circuit diagram? Can you suggest some names where I can do circuit connections and upload codes for demo before on-hand iot for practice.
@davidjamesrayverviado24074 жыл бұрын
Hey viral science! I just want to Ask if what ZIP files do you need to make that? do you need to insert zip folders or no?
@HamzaHajeir6 жыл бұрын
Neat ! But how was the humidity 95% ? what was wrong ?
@cranexdragon10464 жыл бұрын
Most likely not. Depending on the location if this was an outdoor garage or workspace that wouldnt be otherwise heated the humidity can easily jump if there is a slight decrease in temp.
@ManuelCastillo-kq3xy6 жыл бұрын
No code, No circuit. Both links are droped. Please, can I reload?
@amalanathannathan50585 жыл бұрын
same here.....pls help i need it
@gunjanshorts15 жыл бұрын
Send linksss
@ogdarthv59435 жыл бұрын
same here
@jlaroche05 жыл бұрын
Yup. No code & no circuit == supreme waste of time.
@carversi5 жыл бұрын
Here you have the code URL: www.viralsciencecreativity.com/tutorials/blynk-esp8266-dht11-temperature-sensor
@attiliovolpe41405 жыл бұрын
No code no circuit, please send new link
@brandlygaming4983 жыл бұрын
Can you add a fan to act like a cooler on this project??
@uwestraube37654 жыл бұрын
Good evening, I have rebuilt the sensor and works very well with the DHT11. But I want to make a sketch suggestion. A relay should be switched on at a certain temperature and switched off again at a low temperature. That would be great. 2 additional buttons in the Blynk app for on / off would be great. Can you help me with the sketch? Thank you
@toddfogleman4 жыл бұрын
thanks! now that i got down one sensor per project, how about two sensors or more in one project?
@maherriyadh56475 жыл бұрын
what is the name of that simulator app you use to draw ?
@stevemorse50524 жыл бұрын
In case you didn't find out, the program he used was Fritzing
@fahmywaleed5 жыл бұрын
Thanks for the Video. I am having an issue where I used the DHT11 sensor with Arduino Mega and the reading was very accurate compared with another AC controller and sensor that I bought from the store. But when I used the same sensor with ESP8266 the temp reading was accurate but the humidity was off by 5 to 10% which I found very odd. Any idea why is the difference, are you using the same dht11 library with Arduino and ESP8266. Also is there a way to read the fraction temp and humidity or it has to be full integer?
@heisy56515 жыл бұрын
I don’t understand, the esp can create a wifi access and i have to connect ? Or esp can just connect to a network ?
@oszi43994 жыл бұрын
Good video! your cellphone is nice! unfortunately the program has been set up at 50 times the speed so the whole thing is useless. Maybe a step-by-step write-up would help ... I'll be successful next time, or else it's not your desk!
@nikhithatalasila2 жыл бұрын
Can I get the connection which you made from nodemcu to sensor it is difficult to see in video
@giovanipellin33843 жыл бұрын
So, I have a question. Will it hold the results in a spreedsheet of some sort?
@vividh15786 жыл бұрын
bro what all equipments do u use for making these videos e.g. camera ,mike etc.. and which editor do u use????
@prooosty2 жыл бұрын
Please name of program where you draw this project
@dayannemontalvo72125 жыл бұрын
hola! una pregunta y si quisiera conectar un sensor de humedad de suelo seria así como tu ejemplo?
@alakondakrishnareddy17053 жыл бұрын
Can we do the same for smoke sensor.
@azimnajimi74423 жыл бұрын
can i use the coding but using esp32?
@А.Забиров9 ай бұрын
Good day! I have a problem. :-) I have an error - Simple Timer.h. There is no such file or directory
@raj11ization6 жыл бұрын
What is the range to which data can be sent. Like 5 km etc
@qbslayer72972 жыл бұрын
All over the world just need internet connectivity
@TIKOSCREAM5 жыл бұрын
Nice video but why a Virtual Pin rather than a regular Analog Pin?
@milslion8634 жыл бұрын
hi. i will like to add SuperChart of blynk. Please can you tell me what change in the code??? thanks!
@PULSTARUnboxing2 жыл бұрын
how you do this but print result with a web server?
@abrahamherzog74935 жыл бұрын
I have a problem and I can't not connect my nodemcu to Arduino environment and I have all the plugins! why isn't connect? can you please help me? And thank you very much for your really good good videos I really do appreciate!!
@raymondmphaphathe70532 жыл бұрын
Hi, don't you know how can I link this kind of project with my system so that I can also monitor the temperature through the system I've developed. Not using blynk or any other app?
@lakshmanbirapuneni2256 жыл бұрын
What is that website you are using for circuit making???
@walter-vq1fw5 жыл бұрын
Hey, im not sure how likely you are to respond to this, but what power source do you use to power it without connecting it to the computer? Im a noob so i need to ask
@sohilaabdo86582 жыл бұрын
what about making a connection between ESP8266 with DHT11, MQ2 Smoke Sensor can you make a video explaining it
@nikhilajyothipenta93915 жыл бұрын
can we connect sound sensor ,dht sensor ,flame sensor ,ultrasonic sensor to one nodemcu and send notification to blynk?
@anasmmcochin5 жыл бұрын
For that u need to use esp 32... not esp 8266... any doubt u can mail me. anas_ss@ieee.org
@zolution28396 жыл бұрын
Greetings, I can not make it work, I've tried everything and it's fine, but the reading does not come in the blynk application, you have to recharge it with money to enable this function? Thank you
@amirasyraf57203 жыл бұрын
Can someone tell me.. is this project in IoT project category????
@jeremytiempo96393 жыл бұрын
"Failed to read from DHT sensor! " itried ur code but always failed in node mcu but when i tried to arduino uno it functional pls help
@valentinrymaszewski65744 жыл бұрын
Help, Read failFailed to read from DHT sensor!
@ReginaSamosir5 жыл бұрын
Hey, can I use Espruino IDE rather than Arduino IDE?
@vuuc53364 жыл бұрын
Let me ask, how about adding an LCD display?
@cedriccuny26873 жыл бұрын
kzbin.info/www/bejne/fWHEn2eMj76cZ5o there is a video who is a diagram with no-I2C display. with I2C display it's more easy :) you can find all informations about that on internet :)
@amigueta925 жыл бұрын
how does the esp8266 communicate with the app? through the wifi or internet? i mean...do they have to be in the same wifi network to receive the temperature?
@ViralScience5 жыл бұрын
Its is communicating through Internet You can control it from anywhere No need to be on same wifi network
@leonardoavendano60315 жыл бұрын
Viral Science - The home of Creativity for free?
@manojkumar-we6me5 жыл бұрын
how to download library file for simple timer?
@hamzasajid37734 жыл бұрын
plz let me know im facing same issue
@marewansabir51924 жыл бұрын
what is the available distance
@mohdshahrimiemohdasaari51454 жыл бұрын
Hi anyone has idea why my reading on blynk appears 255 for both temp and humidity? something needs to do with timer?
@laishramguneshwor31376 жыл бұрын
i think.. aapne pin 4 me connect kiya hai.. aur declaration pin 5, 6 me kiya hai .. sahi hai kya?
@kevinpita14213 жыл бұрын
Se puede hacer esto con elsensor de Temp. Corporal el Mlx90614
@ThuanDuong-pv3xu6 жыл бұрын
to: Viral Science ; Please tell me may be get data or control Node Mcu ESP8266 from a smartwatch (DZ09 chiness smart watch) (Wifi) ?
@codyblaze55353 жыл бұрын
Can someone please help me it says "expected primary-expression before '.' token" on the "Float t = dht.readTempurature()" And I don't know what to do to fix it so please help me
@MARS-GREENH0USE4 жыл бұрын
this is a devic you have to get the app for. the code is here but doesnt work either way. BASICALLY THIS IS A QUICK WAY TO PROMOTE THE APP WHICH CHARGES YOU TO ADD YOUR BUTTONS AND FEATURES TO YOUR DOODAD. , ID PAY IT BUT THIS IS A RUN AROUND. [ON TOP COMMENT]- THOSE 7 COMMENTS ARE FAKE COMPLIMENTS.
@jjawads884 жыл бұрын
how we can add ds3231 instead of dht11
@CharaAspera6 жыл бұрын
can the barometer be added? do you have the code?
@akhilkumarkar91125 жыл бұрын
how to download esp libraries and dht
@MrSaravananSMKKB4 жыл бұрын
Through library manager bro. for DHT just type DHT and youll see see a library called "DHT sensor library". Install that and you should be good to go. For ESP library kzbin.info/www/bejne/iIe2dJ15pb-SpLM This was slow to install so i use VPN to USA and it installed much faster. The DHT library no need VPN as it will install very fast.
@amirasyraf57203 жыл бұрын
Hi, i want to ask all of you guys.. is this project counted as IoT project?? I need to know it because i need to create Iot Project for my course
@ec_vlog5 жыл бұрын
Do you have tutorial for acs712 sensor blynk display?
@BakhtiyarBaizulla5 жыл бұрын
where can i download the libraries?
@zolution28396 жыл бұрын
I do not know if all but it happens to me that it does not show the data of temperature and humidity in the application blink being all done well, if it is your case write me and I post a posile solution, greetings.
@nikhilajyothipenta93915 жыл бұрын
can we do the same with sound sensor?
@anasmmcochin5 жыл бұрын
Yes
@ganeshvarma36755 жыл бұрын
Can u tell me the simulation u used
@divyanshsao93804 жыл бұрын
How to make this using mlx90614
@JATM12044 жыл бұрын
Help, I have this error: 'DHT dht' previously declared here In this line: DHT dht(DHTPIN, DHTTYPE); Help Please
@e.s.66056 жыл бұрын
Im receiving this error and I dont know how to fix it: In file included from C:\Users\*****\OneDrive\Documents\Arduino\DHT11nodemcu\DHT11nodemcu.ino:34:0: BlynkSimpleEsp8266.h:18:21: error: version.h: No such file or directory #include
@mr.perfect44766 жыл бұрын
Plz make a video on uploding problems of ESP 01 WiFi module
@user-fo9ce3hr5h5 жыл бұрын
How far can the cell phone or blnynk app can see the temperature?
@NeoPh03nix-lk8fc4 жыл бұрын
anywhere on the world
@adityadubey98595 жыл бұрын
can we use 2-3 separate sensor on single esp8266?
@anasmmcochin5 жыл бұрын
Nope.. only one analog sensor in esp 8266
@Gameplayer550555 жыл бұрын
Also you can use mqtt and adafruit.io Then you can make control with google assistant Ifttt
@akashkushwah96542 жыл бұрын
bro how to fix hard resetting rts pin problem
@tranvietlan88326 жыл бұрын
This code can use with esp32 ???
@Kot-Begemot-0074 жыл бұрын
not working: exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module)
@MrSaravananSMKKB4 жыл бұрын
check if you have multiple libraries of the same DHT sensor
@DimitrijeMilenkovic865 жыл бұрын
exit status 1 'DHT11' was not declared in this scope
@MrSaravananSMKKB4 жыл бұрын
Go under Library Manager, type DHT and enter You should see a library called "DHT sensor library". Install that and you should be good to go. Not resolved, let me know bro
@sandeepmanjarekar37084 жыл бұрын
There we got for 10 / 10 for my new project
@digxijay.r4 жыл бұрын
There is no option of board of node MCU in tools->board Please help me fix it
@close2yah4 жыл бұрын
Install esp8266 core i believe thats the library
@muhamadsyafiq49984 жыл бұрын
cant with lcd i2c?
@abdulrahimanrahman36296 жыл бұрын
very nice bro. how much an arduino uno and nano costs bro?
@remixnationph54834 жыл бұрын
Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200" Project-1:34:32: fatal error: BlynkSimpleEsp8266.h: No such file or directory #include ^ compilation terminated. exit status 1 BlynkSimpleEsp8266.h: No such file or directory This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@MARS-GREENH0USE4 жыл бұрын
same here WHAT IS THE DEAL HERE, THEFILE EXISTS
@onkarbatra98843 жыл бұрын
Same
@HoaTran-nr7iq5 жыл бұрын
i don't see the link ....
@tiodolanche39455 жыл бұрын
Esse app gera o código ou você fez?
@billparker92956 жыл бұрын
Have you removed the code? I can not download it.
@saivenkatesh47305 жыл бұрын
Program got uploaded but wifi not getting connected ..what is the problem
@jocycylynn96125 жыл бұрын
can any type of NodeMcu ESP8266 used this tutorial??
@maxgroen24675 жыл бұрын
I am not an expert, but I think as long as you select the correct device you should be fine
@michi_87564 жыл бұрын
What is the app name
@vijaykoparde12755 жыл бұрын
links are not opening.
@joekmj4 жыл бұрын
Nice project, but i can't stop thingking to pay $166/ each month, is it worth?
@luisavila84216 жыл бұрын
hello I need some help with this problem Error Message Arduino: 1.8.8 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200" In file included from /Users/avila/Documents/Arduino/libraries/DHT-sensor-library-master/DHT_U.cpp:22:0: /Users/avila/Documents/Arduino/libraries/DHT-sensor-library-master/DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. my code #include //Viral science kzbin.info //Temperature sensor /************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tutorials: www.blynk.cc * Blynk community: community.blynk.cc * Social networks: www.fb.com/blynkapp * twitter.com/blynk_app * * Blynk library is licensed under MIT license * This example code is in public domain. * ************************************************************** * This example shows how value can be pushed from Arduino to * the Blynk App. * * WARNING : * For this example you'll need SimpleTimer library: * github.com/jfturcot/SimpleTimer * and Adafruit DHT sensor library: * github.com/adafruit/DHT-sensor-library * * App project setup: * Value Display widget attached to V5 * Value Display widget attached to V6 * **************************************************************/ #define BLYNK_PRINT Serial // Comment this out to disable prints and save space #include #include #include #include #include // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "e320b7b68bf24519aabdb7a726"; //Enter the Auth code which was send by Blink // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "E5D0_5=G"; //Enter your WIFI Name char pass[] = "21632"; //Enter your WIFI Password #define DHTPIN 2 // Digital pin 4 // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22, AM2302, AM2321 //#define DHTTYPE DHT21 // DHT 21, AM2301 DHT dht(DHTPIN, DHTTYPE); SimpleTimer timer; // This function sends Arduino's up time every second to Virtual Pin (5). // In the app, Widget's reading frequency should be set to PUSH. This means // that you define how often to send data to Blynk App. void sendSensor() { float h = dht.readHumidity(); float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit if (isnan(h) || isnan(t)) { Serial.println("Failed to read from DHT sensor!"); return; } // You can send any value at any time. // Please don't send more that 10 values per second. Blynk.virtualWrite(V5, h); //V5 is for Humidity Blynk.virtualWrite(V6, t); //V6 is for Temperature } void setup() { Serial.begin(9600); // See the connection status in Serial Monitor Blynk.begin(auth, ssid, pass); dht.begin(); // Setup a function to be called every second timer.setInterval(1000L, sendSensor); } void loop() { Blynk.run(); // Initiates Blynk timer.run(); // Initiates SimpleTimer }
@luisavila84216 жыл бұрын
update after 16 mins with the dht22 sensor library problem I found a solution WARNING : For this example you'll need Adafruit DHT sensor libraries: you need to install both github.com/adafruit/Adafruit_Sensor github.com/adafruit/DHT-sensor-library
@tanish9915 жыл бұрын
What is the solution for fatal error?
5 жыл бұрын
Hi, there, that is lovely video. It is really clearly explained. Thumps up! ;) May I have a question.. What is the name of the editor that you use for simulation of the el. circuit. Looks intuitive and easy to use. Thanks a lot.
@tims2465 жыл бұрын
It's called fritzing
@mukul04sk5 жыл бұрын
Can you please add another link for the source code and circuit.. The one above is not working.. Thanks!
@ViralScience5 жыл бұрын
Visit my website www.viralsciencecreativity.com for codes and circuit diagrams
@pratikyadav3712 жыл бұрын
Bro error Saying Leaving Hard resetting via RTS PIN
@anhkietnguyenbui22005 жыл бұрын
Name of the music in this video please.
@satyakisaha27045 жыл бұрын
the coding is not compiling and a error is coming that an error compiling in nodemce 1.0
@GamingChannel-wr7fv2 жыл бұрын
blynk app not working .please send me blynk old version
@mesample17054 жыл бұрын
I am disappointed. You probably have useful knowledge to share, but you need to devote more than 3:50 to do a good job.
@wilsonportillo98944 жыл бұрын
me sale error me pide libreria simple timer
@mgomes325 жыл бұрын
CODE not found....404 error
@eemhisolutions92875 жыл бұрын
no circuit diagram
@eleccafe984 жыл бұрын
hey guys after few seconds app disconnect anyone can help me?
@MrAcil-me5fg5 жыл бұрын
Hello link code broken
@adityataksande50245 жыл бұрын
Can't find code sir can plzz resend it
@jmickbr5 жыл бұрын
Kd o circuito? refaça o link!
@metallicdude1004 жыл бұрын
Hi Viral Science! I'm trying to make this project work , but, although I did everything as instructed in your video, and installed the libraries and drivers needed, I still get the "exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module)." error while compliling the program. Can you please help? Here is the code I'm tryin to upload: #define BLYNK_PRINT Serial // Comment this out to disable prints and save space #include #include #include #include #include // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "mycode"; //Enter the Auth code which was send by Blink // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "myname"; //Enter your WIFI Name char pass[] = "mypassword"; //Enter your WIFI Password #define DHTPIN 2 // Digital pin 4 // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22, AM2302, AM2321 //#define DHTTYPE DHT21 // DHT 21, AM2301 DHT dht(DHTPIN, DHTTYPE); SimpleTimer timer; // This function sends Arduino's up time every second to Virtual Pin (5). // In the app, Widget's reading frequency should be set to PUSH. This means // that you define how often to send data to Blynk App. void sendSensor() { float h = dht.readHumidity(); float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit if (isnan(h) || isnan(t)) { Serial.println("Failed to read from DHT sensor!"); return; } // You can send any value at any time. // Please don't send more that 10 values per second. Blynk.virtualWrite(V5, h); //V5 is for Humidity Blynk.virtualWrite(V6, t); //V6 is for Temperature } void setup() { Serial.begin(9600); // See the connection status in Serial Monitor Blynk.begin(auth, ssid, pass); dht.begin(); // Setup a function to be called every second timer.setInterval(1000L, sendSensor); } void loop() { Blynk.run(); // Initiates Blynk timer.run(); // Initiates SimpleTimer }