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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2022
  • 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):
    drive.google.com/file/d/1eDbb...
    Distance Measurement Code (ESP32):
    drive.google.com/file/d/1dzn9...
    Circuit Diagram ( NuttyFi/ NodeMCU ESP8266):
    drive.google.com/file/d/1kRju...
    Circuit Diagram ( ESP32):
    drive.google.com/file/d/10HpW...
    Blynk 2.0 Library: drive.google.com/file/d/1dzvt...
    How to install NodeMCU ESP8266 board in Arduino IDE: www.nuttyengineer.com/nuttyfi...
    How to install ESP32 board in Arduino IDE: www.nuttyengineer.com/how-to-...
    Blynk cloud server: blynk.cloud/
    Link to download winzip: www.winzip.com/en/download/wi...
    Link to download WinRAR: www.win-rar.com/download.html...
    Arduino IDE Software: www.arduino.cc/en/software
    Atmel AVR Studio: www.microchip.com/mplab/avr-s...
    NuttyFi Wifi Development board: www.nuttyengineer.com/product...
    Contact link for Nutty Engineer Company: www.nuttyengineer.com/contact...
    Contact link for SME: www.smedehradun.com/contact/
    Our Other Video on NodeMCU ESP8266 & ESP32 boards:
    Stay tuned with our channel for more videos at / smedehradun
    How to start with Arduino IoT cloud ESP32 & NodeMCU board DIY- • How to Start with Ardu...
    How to start with Blynk 2.0- with Web & Mobile Dashboard- LED control: • How to Start with New ...
    Home Automation with Blynk 2.0: • Home Automation using ...
    Home Automation with manual control: • Home Automation using ...
    DHT11 sensor interfacing with blynk2.0: • DHT11 Sensor Data to N...
    TDS sensor based Safe Water Quality Meter with Blynk2.0: • TDS sensor based Safe ...
    Smart Dustbin with Blynk2.0 - ESP32 & NodeMCU: • Smart Dustbin with New...
    Live Testing of Long Range LoRa SX1278 with Arduino Customized Atmega328 with working code DIY: • LoRa Module Testing wi...
    For any query, you can comment on comment box below.
    Join us at Social Platform:
    Twitter: / itsbhupendra
    LinkedIn: / schematics-micro-elect...
    Facebook: / schematicslab
    Instagram: / itsbhupendrasingh
    Blog: schematicslab.blogspot.com/
    Website: www.smedehradun.com
    #ultrasonic #distance #nodemcu #esp32 #blynk2 #esp8266 #iot #distance #smedehradun #arduino #newblynk

ความคิดเห็น • 143

  • @mayurwadal8167
    @mayurwadal8167 2 ปีที่แล้ว +3

    Well and perfect explained

  • @nuttyengineer6095
    @nuttyengineer6095 2 ปีที่แล้ว +2

    Well done sir great

  • @kenishida6135
    @kenishida6135 ปีที่แล้ว +1

    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.

  • @AshishYadav-sp5tt
    @AshishYadav-sp5tt 2 ปีที่แล้ว +1

    Thanks sir

  • @casualrider9435
    @casualrider9435 ปีที่แล้ว

    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?

  • @sohampasalkar8224

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

  • @_SurajYadav-lr9fl
    @_SurajYadav-lr9fl ปีที่แล้ว +1

    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

  • @damiant9995
    @damiant9995 ปีที่แล้ว +1

    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?

  • @satyamjha5521

    Hi, the code is giving an error as follow:

  • @kalyanidwivedi1213

    I am getting this error while compiling using NodeMCU ESP8266 board

  • @priyankabodade5617

    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

  • @wakeelkhan528
    @wakeelkhan528 ปีที่แล้ว +1

    hello sir,

  • @robertburgess4340

    I ran the code an this error appears:

  • @farukozgur6514
    @farukozgur6514 ปีที่แล้ว +1

    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

  • @aprilmay5974
    @aprilmay5974 ปีที่แล้ว +1

    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?

  • @chinmayimathstutorials427
    @chinmayimathstutorials427 ปีที่แล้ว +1

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

  • @lazarusesauk9127

    Sir I receive error for BlynkEdgent.h Showing it has no such file or directory! What should I do

  • @aspirin4709

    In file included from C:\Users\USER\Downloads\distance_measurement_NodeMCU\distance_measurement_NodeMCU.ino:9:

  • @sreeharip4715
    @sreeharip4715 วันที่ผ่านมา +1

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