Distance measurement using Ultrasonic Sensor with New Blynk2.0- Complete guide with Programming Code

preview_player
Показать описание
This video will guide you, how you can measure the distance through Ultrasonic sensor using Blynk2.0 IoT cloud web & Mobile dashboard. You will get all the information with programming code and related material to this video available in the below video description. All the programming codes are well tested and worked perfectly with hardware.
For any query regarding your project or any product, you can write your message in the comment box, we will definitely resolve it. So stay tuned to our channel, like subscribe and gets notified for latest update for research as well as industrial projects related to IoT.

List of the components required to design this project:

🔴 NodeMCU or ESP32 wifi board
🔴 Ultrasonic Sensor HC-SR04
🔴 Breadboard
🔴 4 Male to Male Jumper wires

Key Moments of this Video:

0:36 List of the required components
0:46 Circuit diagram of interfacing of ultrasonic sensor with ESP32 board
0:59 Circuit diagram of interfacing of ultrasonic sensor with NodeMCU ESP8266 board
1:31 How to connect ultrasonic sensor with ESP32 wifi board
2:23 How to configure Blynk2.0 web dashboard
3:30 How to add datastream in the Blynk2.0
3:37 How to add virtual pin blynk2.0
3:42 How to add datastream for ultrasonic sensor
4:35 How to add widgets to the blynk2.0 web dashboard
4:44 How to add Gauge Widgets in the blyank 2 web dashboard
5:33 Download ESP32 programming code for Ultrasonic sensor interfacing with blynk2.0
5:41 Download NodeMCU programming code for Ultrasonic sensor interfacing with blynk2.0
6:21 How to change or replace blynk2.0 project credentials
6:40 How to add blynk2.0 library in the Arduino IDE
7:22 How to create ultrasonic sensor programming code for blynk2.0
11:47 Download & configure new Blynk2.0 mobile app
12:21 How to add esp32 or NodeMCU Wifi Board to new Blynk2.0 mobile app
12:49 What to do if you did not find ESP32 or NodeMCU board in new blynk2.0 mobile app
14:20 How to add widgets to new Blynk2.0 Mobile app
15:18 How to configure Super chart in New blynk2.0 Mobile app
15:41 Live demo of ultrasonic sensor with blynk2.0 distance measurement

Important Links:
Distance Measurement Code ( NuttyFi/ NodeMCU ESP8266):

Distance Measurement Code (ESP32):

Circuit Diagram ( NuttyFi/ NodeMCU ESP8266):

Circuit Diagram ( ESP32):

Our Other Video on NodeMCU ESP8266 & ESP32 boards:

For any query, you can comment on comment box below.
Join us at Social Platform:

#ultrasonic #distance #nodemcu #esp32 #blynk2 #esp8266 #iot #distance #smedehradun #arduino #newblynk
Рекомендации по теме
Комментарии
Автор

Hello Sir, Can you please tell if I have to install drivers etc for my ESP 32 Wroom (30 pin) and if yess which?

sohampasalkar
Автор

Hi.is 5v enough to operate the sensor? The reading is always zero when i did this.

hithushmohanaraja
Автор

I am getting this error while compiling using NodeMCU ESP8266 board

"Error compiling for board NodeMCU 1.0 (ESP-12E Module)"

kalyanidwivedi
Автор

does the phone need to be connected to the same wifi?

ded
Автор

I need to sense water level using esp8266...can i use this code

sreeharip
Автор

Could we use Bluetooth connection to measure instead of WIFI?

kenechukwumodebelu
Автор

Hi, the code is giving an error as follow:
'BLYNK_DEVICE_NAME' was not declared in this scope

mohamedhassen
Автор

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

robertburgess
Автор

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

priyankabodade
Автор

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

_SurajYadav-lrfl
Автор

Sir the wifi isn't showing
I have done everything earlier but now i couldn't find the wifi from the esp32

edwinbenny
Автор

How accurate is the distance measurement? Have you checked it with a distance tape/ruler?

andystevens
Автор

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.

satyamjha
Автор

I am getting error in the code . Is the code correct.?

nilimakashbaruah
Автор

sir how to change the ssid I cannot find where it is if use blynkedgent

nba
Автор

Code for Esp8266 is not opening when downloaded, can you do something

gururajesh
Автор

sir i'm getting the error i.e blynkEdgent.h no such file exists. i also installed new version blynk library

chinmayitutorials
Автор

Sir can you please provide ESP8266 code for this project

nishatvasker
Автор

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.

kenishida
Автор

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

farukozgur