Это видео недоступно.
Сожалеем об этом.

Robotics Programming: Ultrasonic Sensor | Object Following Arduino Robot

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • In today's Robotics Programming lab we will examine how to install and use an Ultrasonic sensor. We will learn how to write a program to communicate with and operate the sensor, and use the data proved to provide our robot with the distance to objects. We will then use this knowledge to create an object following behavior for our Arduino based robots.
    Throughout this series we will be introducing topics on building and programming an autonomous mobile robot! You can follow along with each lab adding amazing new behaviors to you robot projects and learning the algorithms and tuning techniques that produce incredible robots! We will be exploring reactive algorithms such as PID, Potential Fields and A*. Along the way you will learn how to program behaviors such as object following, wall following, standing / balancing, go-to goal and object avoidance. This series is intended to allow you to follow along with your own robot.
    Code access: Direct access to source code and additional resources are available by becoming a Coding Coach supporter. You can join and learn more here: codingcoach.ne... . You may also copy the code from the video as you follow along.
    If you missed episode 1, you can find it here: • Robotics Programming: ...
    The next video in this series: • Robotics Programming: ...
    Playlist of the full series: • Robotics Programming Labs
    Video that discusses the future direction of the series: • Robotics Programming: ...
    Chapters:
    0:00 Introduction
    0:48 Robot Hardware Discussion
    1:43 Sensor Mounting
    3:30 Sensor Wiring
    4:50 1st Program - Use and Read the Sensor Data
    19:49 2nd Program - Object Following Behavior
    33:41 3rd Program - Extra: Fine Motor Control
    37:28 Conclusion
    #codingcoach #arduinorobot #roboticsprogramming
    Pololu 3pi+: www.pololu.com...
    Other robots and sensors (Amazon Affiliate links)
    HC-SR04 Ultrasonic Sensors: amzn.to/2YUIvGs
    Elegoo Smart Car: amzn.to/3iG3uFO
    Robot car chassis (with encoder cutout): amzn.to/3odlacY
    Pololu Zumo: amzn.to/39TbaAC
    Batteries:
    EBL Rechargeable batteries: amzn.to/3pdiM7A
    Micrometer Caliper Measuring Tool (To measure wheel diameter): amzn.to/3sQ0BqB

Комментарии • 15

  • @surendrakumarsahoo9878
    @surendrakumarsahoo9878 Год назад +1

    Namaskar Sir.
    I am from India. I love the way you describe things.
    A lots of respect 🙏

  • @davidlk4947
    @davidlk4947 3 года назад +2

    Hi, thank you for the very helpful videos. I'm really enjoying getting started in programming these devices.
    Thanks!

  • @showtopboxcouk
    @showtopboxcouk 3 года назад +2

    Thanks I appreciate your kindness

  • @MakingRoboticsColombia
    @MakingRoboticsColombia 3 года назад +1

    🎈 Muy bonito ese 3pi+ 🥇

  • @ChinchillaBONK
    @ChinchillaBONK 2 года назад +1

    Thanks for this

  • @michaelhucul6071
    @michaelhucul6071 3 года назад +2

    Excellent approach to presenting this information - especially explaining the importance of using the component datasheet(s). Are you posting your code anywhere?

    • @CodingCoach
      @CodingCoach  3 года назад

      Thank you, I thought this was a great opportunity to show how you actually control sensors hardware and how the electrical signals are read.
      I have been going back and forth in my head on providing code and have not yet primarily because I am hoping it promotes students just starting out to transcribe it themselves. My fear is that many beginning students just open / run the code when it is provided. I do realize there are also many who are not beginners who appreciate the availability of the code and not having to retype everything. I also realize that simply transcribing the code is a minor step but I hope that in combination with having the tune the robot it will help make connections for them.
      I might make use of that 'community' tab that you tube just granted me and create a poll for this :)
      Thank you for you comment!

  • @rushikeshdeshmukh3810
    @rushikeshdeshmukh3810 Год назад

    Kudos to you for making so detailed videos. I'm working on a differential drive robot with quadrature shaft encoder motors and requires PID to control the motors. It seems that Pololu's robot doesn't need PID for motor control and hence millis strategy working in your case. It seems ineffective in my case. Could you please suggest something?
    Also, your Henry IX robot is pretty much identical with the robot I'm working on. When are you planning to make the next video on it? or could you please at least share a code for the same?

  • @solomonglenda6811
    @solomonglenda6811 2 года назад

    . I love the way you explained everything, and your video presentation..very professional! But I just want to be sure about one thing. The Robot only follows one user who holds the other ultrasonic sensor and not just random objects right?

  • @dhruvaseri2082
    @dhruvaseri2082 5 месяцев назад

    @coding Coach, please provide us with the source code

  • @briancoppola7317
    @briancoppola7317 3 года назад

    Where dida you find the sensor's user manual?

    • @CodingCoach
      @CodingCoach  3 года назад

      www.google.com/url?sa=t&source=web&rct=j&url=web.eece.maine.edu/~zhu/book/lab/HC-SR04%2520User%2520Manual.pdf&ved=2ahUKEwj00vb7hJjvAhVlleAKHQIqAtEQFjADegQIDxAC&usg=AOvVaw1Ixcw2jrWxFgQHXN_nkaoZ