If you see the video properly, then you will get that all the header files must inside the programming folder. If you want then you can connect to new blynk through an alternate method- Below link may help you. th-cam.com/video/c5u6-Th1sI4/w-d-xo.html
I ran the code an this error appears: A fatal error occurred: Unable to verify flash chip connection (Packet content transfer stopped (received 6 bytes)). Failed uploading: uploading error: exit status 2
Hi, the code is giving an error as follow: #include "BlynkEdgent.h" ^~~~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: BlynkEdgent.h: No such file or directory I have made sure that i installed the library you showed in the video,even then its not working correctly pls help.
Put all the header files inside the code folder & change the blynk credentials also. Below video may help you to resolve- th-cam.com/video/EPhY_hDozeo/w-d-xo.html
You need to put all the header files inside the programming folder do this. Below tutorials will help you To fix this error.m, but must watch each & every step for this. th-cam.com/video/EPhY_hDozeo/w-d-xo.html
hello sir my readings of ultrasonic sensor is showing 0cm I don't know what's wrong with my project. when I'm using same Ultrasonic sensor with arduino it is working but in case of node mcu it is only showing 0 cm . even my node mcu is successfully connected to wifi and send data to thingspeak website , please sir help me I'm not able to recognize my mistake
I'm trying to transfer the distance I get from hc-sr04 sensors to thingspeak using Nodemcu. Only when measuring distance the sensors work very well but when I write the code to transfer the data to thingspeak or firebase the sensors work very slowly. What could be the reason for this? how can i fix it
It may be due to the code you are sending to Thingspeak or firebase. You can make a separate function to send data to thinkspeak or firebase. & call it once it in 10 or 15 second. But measure the distance every second. Then you will get regular data from ultrasonic sensor
Hi sir, i wanna ask is it possible to run using 1 board of esp8266 with 2 difference sensor like IR and Ultrasonic sensor.? does the board detect those 2 sensors if i run in 1 board which is esp8266.
Hi. I am using an ESP32 ESP-WROOM-32 Development Board. I managed to get the board to connect to the Blynk App but the HC-SR04 sensor kept on giving 0cm values. I have tested it with another code and the sensor is working fine. Do you have any idea why am I getting this error?
@@SMEDehradun Thank you. I found the error. Apparently I have accidentally swapped the pin number for both pins without realising. Sorry for the inconvenience.
@@SMEDehradun Oh ya I having 1 more issue right now. For some reason, the esp32 is unable to reconnect to Blynk. Is there a way to fix this or reset the wifi connection part using phone? Once again, sorry for the inconvenience.
Ohh. If you want to reconnect it to another wifi or you have designed new project template then you need to erase the ESP32 using esptool. See this video for it- th-cam.com/video/3oEvXhgHZHo/w-d-xo.html Soon I will make video with alternate solution for blynk.
Sir i used ESP8266 but when i uploaded the code, the sensor has no readings, just 0cm. I think it is because of "pinMode(34, INPUT)" is this for ESP8266 as well?
Check the wiring connection of ultrasonic sensor with your board & check the Vcc & GMD pins as well. If the are correct then check the pin no in which you have made connection is correct?
I am using an FreeNove ESP32-WROVER-Dev board because that is what I have. I set the echo pin to 18 and trigpin to 19. I left pinmode on 34. I am also using the Board= "ESP32 Wrover Module" no idea if that is right... I don't even have any idea how you could know what is right. There is no option for Com port = 8, like you have. I have only one option: Port = COM1. When I plugged the esp32-wrover-dev micro USB to my computer and pushed the upload button I get "Compilation Error: BlynkEdgent.h: No such file or directory" any ideas?
Hi, You need to add blynk library and there must be headers in your programming folder. Must watch the video properly. Also, Go to the link & see, How to fix Errors in new Blynk2.0 th-cam.com/video/EPhY_hDozeo/w-d-xo.html
@@SMEDehradun Thank you. It took a few tries, but I was finally able to get the project to work. I appreciate the walk-through on this project and getting it onto Blynk, and I especially appreciate that you helped me to troubleshoot the problem I was having. Thank you for teaching me.
If you want to change said then you can only do it by erasing the eeprom of your board. Once you erase it, then you can rewrite the program & add your board in new wifi hotspot. Below video may help you- th-cam.com/video/EPhY_hDozeo/w-d-xo.html
In file included from C:\Users\USER\Downloads\distance_measurement_NodeMCU\distance_measurement_NodeMCU.ino:9: C:\Users\USER\Downloads\distance_measurement_NodeMCU\BlynkEdgent.h:16:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" 16 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" | ^~~~~ exit status 1 Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" I got the above compilation error sir... I'm using an esp8266 board. Tried installing libraries and updated my board still getting this error... Please reply..
Hi, This May happens due to reconnection of the wifi or new template. This video can help you to resolve the error th-cam.com/video/EPhY_hDozeo/w-d-xo.html If erasing of EEPROM is not working, then you need to factory reset your ESP32 board. Below video may help you. th-cam.com/video/3oEvXhgHZHo/w-d-xo.html
@@hurina21 you are working with Blynk2.0, & Download the code & watch the video tutorial properly. Follow all the instruction. You will get the results
@@boombot5680 brooo just saved my project bro i was so worried coz i have to report it to my teacher tomorrow and you advice just saved my project i wasted entire day in it finally got help with you advice thnxxxx bro 🥹🥹🥹
Hi, Have you included all the headers& other required files in to the programming folder? Plz watch below video to fix it. th-cam.com/video/EPhY_hDozeo/w-d-xo.html And still there is error, let me know.
@@yashshrikantjayale2807 Good night, I think I found the error, I just checked and had the same problem as you, correcting the error is simple, just copy the text, in the second command line which blynk provides, remove the word TEMPLATE , and replace by DEVICE: Blink gives you: #define BLYNK_TEMPLATE_ID "TM00000_0_000F" #define BLYNK_TEMPLATE_NAME "ProgName" The program requests: #define BLYNK_TEMPLATE_ID "TM00000_W_000F" #define BLYNK_DEVICE_NAME "ProgName" After that I managed to get it to work, hope I helped.
Add latest library in the Arduino and also keep header files inside the programming code. This video may help you rectify your errors th-cam.com/video/EPhY_hDozeo/w-d-xo.html
hello sir, I followed you totally and get serial results but when I connect blynk in mobile with esp8266 it shows no wifi so I can not connect with wifi and cannot see the results in the blynk app please help.
You need to keep all the header files inside the e programming folder. Watch the video to resolve this problem. th-cam.com/video/EPhY_hDozeo/w-d-xo.html
Well and perfect explained
Thanks @Mayur Wadal
Hello Sir , Can you please tell if I have to install drivers etc for my ESP 32 Wroom (30 pin) and if yess which?
If have an issue to install com drivers for your board, then below video link may guide you batter-
th-cam.com/video/LpohiGf8GiU/w-d-xo.html
Well done sir great
Thank you @NuttyEngineer
Hi.is 5v enough to operate the sensor? The reading is always zero when i did this.
Yes 5V is enough.
Check that your sensor is connected properly.
I am getting this error while compiling using NodeMCU ESP8266 board
"Error compiling for board NodeMCU 1.0 (ESP-12E Module)"
Check that you have selected the proper board & configuration
Hi, the code is giving an error as follow:
'BLYNK_DEVICE_NAME' was not declared in this scope
If you see the video properly, then you will get that all the header files must inside the programming folder.
If you want then you can connect to new blynk through an alternate method-
Below link may help you.
th-cam.com/video/c5u6-Th1sI4/w-d-xo.html
I ran the code an this error appears:
A fatal error occurred: Unable to verify flash chip connection (Packet content transfer stopped (received 6 bytes)).
Failed uploading: uploading error: exit status 2
If you follow all the instruction as shown in video and after that, you got this error then your board is having some hardware issue.
Hi, the code is giving an error as follow:
#include "BlynkEdgent.h"
^~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: BlynkEdgent.h: No such file or directory I have made sure that i installed the library you showed in the video,even then its not working correctly pls help.
Put all the header files inside the code folder & change the blynk credentials also.
Below video may help you to resolve-
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
Sir , I included the blynk library in the arduino IDE but instead of it , shows the error - BlynkEdgent.h:No such file or directory . Please help
You need to put all the header files inside the programming folder do this.
Below tutorials will help you
To fix this error.m, but must watch each & every step for this.
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
hello sir my readings of ultrasonic sensor is showing 0cm I don't know what's wrong with my project. when I'm using same Ultrasonic sensor with arduino it is working but in case of node mcu it is only showing 0 cm . even my node mcu is successfully connected to wifi and send data to thingspeak website , please sir help me I'm not able to recognize my mistake
Hi,
This errors shows that there is some issue in the connection. Check the wiring of ultrasonic Connection with NodeMCU.
I'm trying to transfer the distance I get from hc-sr04 sensors to thingspeak using Nodemcu. Only when measuring distance the sensors work very well but when I write the code to transfer the data to thingspeak or firebase the sensors work very slowly. What could be the reason for this? how can i fix it
It may be due to the code you are sending to Thingspeak or firebase.
You can make a separate function to send data to thinkspeak or firebase. & call it once it in 10 or 15 second. But measure the distance every second. Then you will get regular data from ultrasonic sensor
@@SMEDehradun thank you. I'll try to send it every 10 or 15 seconds.
👍
If it didn’t go right, then let me know. I will help you.
@@SMEDehradun You are great. I'll try it tomorrow and get back to you. Can you share your e-mail address with me?
Hi sir, i wanna ask is it possible to run using 1 board of esp8266 with 2 difference sensor like IR and Ultrasonic sensor.? does the board detect those 2 sensors if i run in 1 board which is esp8266.
Yes. You can. It will work.
I need to sense water level using esp8266...can i use this code
Yes you can use for water level monitoring.
does the phone need to be connected to the same wifi?
No.
You can connect your board to any wifi and you can operate it from your mobile phone anywhere in the world.
Hi. I am using an ESP32 ESP-WROOM-32 Development Board. I managed to get the board to connect to the Blynk App but the HC-SR04 sensor kept on giving 0cm values. I have tested it with another code and the sensor is working fine. Do you have any idea why am I getting this error?
Try the change trig & echo with one another. It may solve your problem.
@@SMEDehradun Thank you. I found the error. Apparently I have accidentally swapped the pin number for both pins without realising. Sorry for the inconvenience.
@@SMEDehradun Oh ya I having 1 more issue right now. For some reason, the esp32 is unable to reconnect to Blynk. Is there a way to fix this or reset the wifi connection part using phone?
Once again, sorry for the inconvenience.
Ohh. If you want to reconnect it to another wifi or you have designed new project template then you need to erase the ESP32 using esptool.
See this video for it- th-cam.com/video/3oEvXhgHZHo/w-d-xo.html
Soon I will make video with alternate solution for blynk.
sir i'm getting the error i.e blynkEdgent.h no such file exists. i also installed new version blynk library
Hi,
There is required a header files inside the programming folder.
See this video to fix Errors
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
Sir i used ESP8266 but when i uploaded the code, the sensor has no readings, just 0cm. I think it is because of "pinMode(34, INPUT)" is this for ESP8266 as well?
Check the wiring connection of ultrasonic sensor with your board & check the Vcc & GMD pins as well. If the are correct then check the pin no in which you have made connection is correct?
I am using an FreeNove ESP32-WROVER-Dev board because that is what I have. I set the echo pin to 18 and trigpin to 19. I left pinmode on 34. I am also using the Board= "ESP32 Wrover Module" no idea if that is right... I don't even have any idea how you could know what is right. There is no option for Com port = 8, like you have. I have only one option: Port = COM1. When I plugged the esp32-wrover-dev micro USB to my computer and pushed the upload button I get "Compilation Error: BlynkEdgent.h: No such file or directory" any ideas?
Hi,
You need to add blynk library and there must be headers in your programming folder. Must watch the video properly.
Also, Go to the link & see, How to fix Errors in new Blynk2.0
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
@@SMEDehradun Thank you. It took a few tries, but I was finally able to get the project to work. I appreciate the walk-through on this project and getting it onto Blynk, and I especially appreciate that you helped me to troubleshoot the problem I was having. Thank you for teaching me.
Most welcome 🙏
Could we use Bluetooth connection to measure instead of WIFI?
Yes. Why not.
Thank you for the response
🙏
Thanks sir
Welcome Ashish
sir how to change the ssid I cannot find where it is if use blynkedgent
If you want to change said then you can only do it by erasing the eeprom of your board. Once you erase it, then you can rewrite the program & add your board in new wifi hotspot.
Below video may help you-
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
@@SMEDehradun I just need to push button reset 10s on the board right and then push button flash? then can proceed to connect to new wifi?
Is it working. If yes then go ahead.
How accurate is the distance measurement? Have you checked it with a distance tape/ruler?
Yes already. It’s fine
In file included from C:\Users\USER\Downloads\distance_measurement_NodeMCU\distance_measurement_NodeMCU.ino:9:
C:\Users\USER\Downloads\distance_measurement_NodeMCU\BlynkEdgent.h:16:2: error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
16 | #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
| ^~~~~
exit status 1
Compilation error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
I got the above compilation error sir... I'm using an esp8266 board. Tried installing libraries and updated my board still getting this error... Please reply..
Hi,
This is must to put all the headers files inside the code folder. If you watch the video carefully then you you will get it.
@@SMEDehradun ok sir, thanks for replying...
can this work with wemos d1 r1 board?
Yes. It will
Sir the wifi isn't showing
I have done everything earlier but now i couldn't find the wifi from the esp32
Hi,
This May happens due to reconnection of the wifi or new template.
This video can help you to resolve the error
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
If erasing of EEPROM is not working, then you need to factory reset your ESP32 board. Below video may help you.
th-cam.com/video/3oEvXhgHZHo/w-d-xo.html
Sir, I've followed your video to my esp8266 but when i connected my esp8266 to Blynk app using wifi, it Said ip is unknown. Please help me sir
Brief your problem.
@@SMEDehradun my esp8266 couldn't connect to my bylnk 2.0 sir. When I tried to connect wifi esp8266, it Said the IP couldn't be Found.
@@SMEDehradun Can't get ip address from my esp8266 sir. Pleas help me sir
@@hurina21 you are working with Blynk2.0, & Download the code & watch the video tutorial properly. Follow all the instruction. You will get the results
@@SMEDehradun oh thank you sir. I ve Found the problem. Thank you so much for your video sir
Code for Esp8266 is not opening when downloaded, can you do something
Open with zip or rar software
@@SMEDehradun thanks for your reply
👍
Sir can you please provide ESP8266 code for this project
Code for both- NodeMCU ESP8266 & ESP32 is available in the video description.
You can download it from there.
Sir how to make this setup to notify us when the distance is less
Still there is issue with Blynk2.0 Notification.
sir what is the problem why my ultrasonic cant read the data
Check the connection of ultrasonic with your board. There may issue with it.
if you are using esp82 then connect vcc to vu pin because ultrasonic sensor needs 5v supply vin gives 3.3 only
@@boombot5680 brooo just saved my project bro i was so worried coz i have to report it to my teacher tomorrow and you advice just saved my project i wasted entire day in it finally got help with you advice thnxxxx bro 🥹🥹🥹
Code shows Blynkedgent.h nonsuch file or directory
Select the wifi board & install the blynk library as instruction in video
I am getting error in the code . Is the code correct.?
😂😂 Code is correct. Watch the video carefully & follow each step.
How to enclude the library of ESP32 board
The link is available in the video description, from where you can see how to add ESP32 board in the Arduino IDE
Ok sir
Code is not available in description
Hi, check once again the code link for NodeMCU and ESP32 board in the video description. i have just changed the link of codes
sir how to do the chart?
Drag and drop chart to the dashboard and configure. Simply.
connection was interrupted error please help!
Explain the error that you have got?
@@SMEDehradun when I try to connect the eps 32 to the wifi network after entering wifi name and password, it says connection was interrupted
@@SMEDehradun please help me sir!
Plz try to connect your ESP32 board to other wifi. It’s due to network issue.
Try to connect to another wifi
im getting output as distance 0 continously
Check the the ultrasonic sensor connection with your wifi board. There maybe some issue
@@SMEDehradun yeah sir actually ultrasonic need 5v and i was connected it to 3v pin in esp8266 😅
Yes
Can we count with ultrasonic sensor ?
No. you can't count the exact number through it.
@@SMEDehradun then plz upload video to count with ir sensor code.
K I will try
i have found an error: #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME" Please resolve my issue.
Hello,
Plz go to your Blynk template & in the Ondot tab you will these credentials. See the video, each steps are shown there
Hi ultrasonic =0 cm only coming
There is connection issue. Check the ultrasonic connection.
@@SMEDehradun did check should i make any changes with esp8266
@@thinkbeyond5360 if you are using esp82 then connect vcc to vu pin because ultrasonic sensor needs 5v supply vin gives 3.3 only
bro code for the project
Available in the video description
I am getting an error that #error “Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME”
You need to change the blynk credentials in the program.
@@SMEDehradunI already changed it ...by replacing those commands with my template id and device name.... still i am getting that error
Hi,
Have you included all the headers& other required files in to the programming folder?
Plz watch below video to fix it.
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
And still there is error, let me know.
@@SMEDehradun yes i did ... there are all header files and also the library
@@yashshrikantjayale2807 Good night,
I think I found the error, I just checked and had the same problem as you, correcting the error is simple, just copy the text, in the second command line which blynk provides, remove the word TEMPLATE , and replace by DEVICE:
Blink gives you:
#define BLYNK_TEMPLATE_ID "TM00000_0_000F"
#define BLYNK_TEMPLATE_NAME "ProgName"
The program requests:
#define BLYNK_TEMPLATE_ID "TM00000_W_000F"
#define BLYNK_DEVICE_NAME "ProgName"
After that I managed to get it to work, hope I helped.
Sir I receive error for BlynkEdgent.h Showing it has no such file or directory! What should I do
Add latest library in the Arduino and also keep header files inside the programming code.
This video may help you rectify your errors
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
hello sir,
I followed you totally and get serial results but when I connect blynk in mobile with esp8266 it shows no wifi so I can not connect with wifi and cannot see the results in the blynk app please help.
Hi,
Plz see my another video on errors on blynk.
Follow each step, your problem will be resolved.
th-cam.com/video/EPhY_hDozeo/w-d-xo.html
Compilation error: BlynkEdgent.h: No such file or directory . How to deal with this error
You need to keep all the header files inside the e programming folder. Watch the video to resolve this problem.
th-cam.com/video/EPhY_hDozeo/w-d-xo.html