Ultrasonic Sensor (HC-SR04) interfaced with Arduino Uno using mBlock and Arduino IDE

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 เม.ย. 2021
  • #arduino​ #mBlock
    An ultrasonic sensor is a sensor that measures the distance of a target object by emitting ultrasonic sound waves, and converts the reflected sound into an electrical signal.
    In this project, the ultrasonic sensor detects an object that is placed close to it in its line of sight of 10cm. The detection is indicated using 2 LEDs.
    To learn more about mBlock : • Arduino with mBlock
    The Main Code Libraries needed for the project : bit.ly/39Hn41m
    1) HC-SR04
    Background Music Credits
    - Lichu - Rainbow
    - • Lichu - Rainbow
    Follow him for more tracks
    / 7ichu
    Please Like | Share | Subscribe

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

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

    you explain so good im a german and understand evrything

  • @HEBECHONGBAOYUNMoe-ue9st
    @HEBECHONGBAOYUNMoe-ue9st 6 หลายเดือนก่อน

    hi can i ask how to slow down the servo motor ?

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

    We didn't need to use any of the resistors?

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

      I mentioned they are for protection for the LEDs. I didnt use them as they are not necessary.

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

      No resistors needed.
      Use them to protect your LED. Also please check your LED if it is functioning.

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

    Mines isn't working I copied your tutorial but all my Arduino does is produce a dim light for my green LED

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

      Please check you connection. The HC-SR04 sensor is sensitive to Lose connections. So Please fasten your connections.

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

      Olnice, it is bcoz of the wire connections. I have this project and it is very easy working for me.

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

      @@jammypereira9522 I connected the wires just like the video said

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

      @@ElectronicsSimplified7 I redid it and made sure all of the connections was secure but it still just show a green dim light

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

      What is the sensor model you used?

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

    how can we install in drone..?????

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

      On a drone ... Its better to use Infrared for close range. And use LIDAR for long range.
      Since a drone is very noisy.

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

      @@ElectronicsSimplified7 can u drop how to install in drone