Node MCU + HC-SR04 ( Ultrasonic sensor ) did not work with 3.3V !!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2018
  • This video is about using HC-SR04 with NODEMCU
    Not working , HC-SR04 5V is required
    NodeMCU output 3.3V only
    Link Sketch : goo.gl/aK9r9B
    ::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : goo.gl/1m8Dg2
    Don't forget to subscribe!
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Link Sketch : goo.gl/aK9r9B

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

    You can use a 5V power supply but at ECHO pin it is recommended to use a voltage divider or logic level shifter to safely read the voltage for the pin. It also works well with me in raspberry pi.

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

    you need a Voltage Translator/Level Shifter like KY-051, then you will get the Ky-050(HC-SR04) working, this will converte the 5V in 3.3V so the nodeMCU will can read it

  • @zakiemochamad5254
    @zakiemochamad5254 4 ปีที่แล้ว +3

    You can use VV pin for your Hc sr04 power supply

  • @ANTHONYBOOTH
    @ANTHONYBOOTH 5 ปีที่แล้ว +7

    I can't see how this did not damage the Node MCU; - the ultrasonic module puts out 5v signal.... - so surely it would damage the MCU...

  • @iamhemanthsai2035
    @iamhemanthsai2035 4 หลายเดือนก่อน

    Thank you bro, ultimately we need to give to 5v from 8266 VV and or from arduino 5v ❤❤

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

    Help, I want to connect a battery and ultrasonic sensor both in nodemcu. But only one VIN pin available, how can I connect both ... Can I connect battery + terminal in 3v as input.?

  • @dlopeza
    @dlopeza 4 ปีที่แล้ว +5

    If you are usb power, you can use the VU pin (5v from USB)

    • @luismakluf
      @luismakluf 3 ปีที่แล้ว

      Thanks info.

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

    In case no mentioned, the HC-SR04P will work with 3.3V.

  • @stephanieponcin6459
    @stephanieponcin6459 6 ปีที่แล้ว

    Nice video but please dont forget the Big muachhhh at the end next time. ;)

  • @zhj0125
    @zhj0125 3 ปีที่แล้ว

    Thanks!

  • @vijayanand2783
    @vijayanand2783 3 ปีที่แล้ว

    thank you

  • @WeeeAffandi
    @WeeeAffandi 3 ปีที่แล้ว

    What program are you using for circuit diagram at 0:40 ?

  • @samratvlogs6170
    @samratvlogs6170 5 ปีที่แล้ว

    can you plase tell me the connections of all the pins

  • @abdullahmujahid6851
    @abdullahmujahid6851 6 ปีที่แล้ว +3

    use 3.3 to 5v bidirectional level converter

  • @MakerVerse
    @MakerVerse 3 ปีที่แล้ว

    No, it's not that it doesn't work on 3.3. Actually does work if you manually remove the 3.3vcc and plug it again in the same pin WHILE it is running.
    The problem only happens in the Arduino startup, when it is first launched it will not work but if you do what I said, you will see it works on 3.3v.
    Now I'm trying to figured out someway to make it work without manually doing that... D:

  • @farukozgur6514
    @farukozgur6514 2 ปีที่แล้ว

    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

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

    I just made my project working by attaching the Vcc pin of ultrasonic sensor with Vin pin of NodeMCU.

    • @neerajkashyap01
      @neerajkashyap01 4 ปีที่แล้ว

      Thanks for the comment Saurav.

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

      Is it really works??🤔🤔

    • @sauravmehtaUnique
      @sauravmehtaUnique 4 ปีที่แล้ว

      @@prajwalgujarkar593 Yes it did work but was not very accurate

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

      it works thanks

  • @iamhemanthsai2035
    @iamhemanthsai2035 4 หลายเดือนก่อน

    Ultimately we need to give five words from esp8266 VV or 5 volts from arduino UNO 3.3 volts not supporting by ultrasonic (mine)

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

    Hello im new for arduino.... Upload code to arduino board or esp 8266 in arduino ide?

  • @MKA_NET
    @MKA_NET 3 ปีที่แล้ว

    It doesn't look like it can be connected directly. Can someone please recommend an ultrasonic sensor that can be connected directly AND that's fully supported by ESPHome?

  • @rohail4007
    @rohail4007 9 หลายเดือนก่อน

    Esp32 sy VIN ma bhe lag skty tha

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

    Can NodeMCU be used with two ultrasonic sensors?

    • @MattGithens
      @MattGithens 3 ปีที่แล้ว

      Yes, they wouldn't even know about each other. You could run 4 ultrasonic sensors on one NodeMCU - even more if you were to get crafty with the trigger pins (parallel firing) on the ultrasonic sensors.

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

    HOW IS THIS A SOLUTION?

  • @senger1985
    @senger1985 4 ปีที่แล้ว

    Hello,
    can someone tell me why my sensor jumps over 100 and back again
    I have a external 5v Powersuply, for my sensor.

    • @UBsLab
      @UBsLab 3 ปีที่แล้ว

      It has malfunctioned. Needs to be changed

  • @MuthuKumar-bz1ly
    @MuthuKumar-bz1ly 5 ปีที่แล้ว +4

    use Vin pin in nodemcu it will be solve....

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

    Pake pin VV
    VV = 5V
    Typo itu yang buat

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

    NO YOU NO NEED EXTRA ARDENO i CAN RUN CODE WITH NODE MCU 8266

  • @rememberme5334
    @rememberme5334 3 ปีที่แล้ว

    My desktop shows max distance

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

    Isn't the Node MCU 3.3v logic? The signal from the ECHO would burn it.

  • @jusalpukat520
    @jusalpukat520 10 วันที่ผ่านมา

    SUDAH DILAKUKAN CARA ANDA MASIH GAGAL KENAPA YA

  • @Tyty-qe4yr
    @Tyty-qe4yr 4 ปีที่แล้ว

    for me it says 400cm forever

  • @UBsLab
    @UBsLab 3 ปีที่แล้ว

    These sensors do not last for more than a month or two. They are pretty cheap.