How to Control a Servo with an Ultrasonic Sensor and Arduino + Code

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 51

  • @A_Retired_MSgt
    @A_Retired_MSgt 17 днів тому +9

    I've only recently discovered your channel. I love the way that you present your material in an entertaining way. I can't speak for others, but for me, it helps me retain the information. If presentations are to dull or monotone, my my mind starts to wander and I have to continually rewind. Thank you, and I hope you have an amazing 2025.

  • @ponyososuke6647
    @ponyososuke6647 12 днів тому +2

    Your sense of humour is soooooo funny, makes me smile all the time

  • @python_programmerahomaide4356
    @python_programmerahomaide4356 13 годин тому

    I ‘m new in ur Chanel , I love the way how you easily and clearly use the code , really thank u

  • @imortalmichael1
    @imortalmichael1 11 днів тому +1

    PLEASE KEEP POSTING! I learned to code last year starting with your vids, you make it easy to understand and follow, i catch myself answering questions you asked fromthings you taught. i made a useless box, automatic curtain opener and dehumifiier so far. also made some code on wokwi that counts button presses and long presses to set into various modes (using lots of if statments and millis) i havent gotten around to switch case yet ^^,

  • @judgeworks3687
    @judgeworks3687 16 днів тому +4

    Your channel is one of the few where I can actually understand the topic. You’re a great teacher. Thankyou.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  16 днів тому +1

      Thanks for the kind words! I'm glad you're finding the channel helpful.

    • @mahargleopenaws
      @mahargleopenaws 14 днів тому +1

      You are truly a gifted teacher. Making learning at 59 so simple. Excellent work on all your videos.

  • @katesmiles4208
    @katesmiles4208 15 днів тому +1

    Best teacher ever 😁. Thanks so much for sharing

  • @goinpostal
    @goinpostal 7 днів тому

    Such interesting projects, and who isn’t interested in Arduino? Thanks for passing on your knowledge!

  • @MicahJKelly
    @MicahJKelly 15 днів тому +2

    You're awesome! I refer to you as the hot Linda Belcher, and thats a good thing! (Also less crazy!)
    You are doing all the same type of projects that Im trying to learn. Keep it up!

  • @josephconsuegra6420
    @josephconsuegra6420 15 днів тому +1

    Outstanding explanations and teaching.

  • @fionanokelly
    @fionanokelly 14 днів тому

    you are a lot of fun, and your teaching is great!!
    thank you for this video.

  • @PRR5406
    @PRR5406 15 днів тому

    Rachel, thank you for the follow-up lesson. I wish we didn't have to wait so long, although I suspect you have a life outside of UA-cam. I needed this as reinforcement for the last lesson as I have difficult remembering specific code commands. The good news is, the engagement is back on, and I intend to remain true to your lessons.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  15 днів тому +1

      Thanks for your feedback! I took a little break for the holidays but now I'm back and should be putting videos out more frequently!

    • @PRR5406
      @PRR5406 11 днів тому

      ⁠@@RachelDeBarrosLiveRachel, I want to use this technology to place a railroad semaphore signal in my driveway. The semaphore blade will be scaled down significantly to control weight. Do you have a suggestion for a servo motor to raise a weight of under two pounds? It will be an all-weather mount.

    • @PRR5406
      @PRR5406 7 днів тому

      I got it figured out after hitting your website. Looking forward to your next series of lessons. Thank you!

  • @indiedavecomix3882
    @indiedavecomix3882 15 днів тому

    I just watched your video about the ultrasonic sensor and commented about building a moustrap with one, and here you put out connecting it to an actuator, exactly what I'm planning to use it for! Get outta my head!!😂

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  15 днів тому +1

      That's awesome! You're going to have to show me what you make!

    • @indiedavecomix3882
      @indiedavecomix3882 15 днів тому

      @RachelDeBarrosLive It may take a while. I'm still pre-beginner. 😄

  • @kesavmenon
    @kesavmenon 16 днів тому

    Happy new year !!!!!!!!!
    Rachel I love this channel is very easy to learn by kids and hobbyist all age thank you.

  • @JanR130
    @JanR130 16 днів тому

    Great video (again) Rachel, like your channel.

  • @wrekced
    @wrekced 11 днів тому

    Thanks for this tutorial! I have a few of these lying around and now I have a much better grasp on how to use them. I wonder if a high-pass filter (in software) on that servo position data would make it even smoother... If the position jumps too fast you could interpolate a point or two while ramping up the speed. That would make the movement a lot less twitchy. Whatever you attach it to will have momentum to deal with as well so a ramp-down function for stopping would be useful for heavier loads. I wonder if the servo can handle a feedback type of stop where you give it some current in the opposite direction to stop it fast and counter overshooting the stop point. Timing is everything. Hmmmmmm... Interesting thought! I may have to get some servos and do some potentially destructive tests!

  • @DavidValerio-b2d
    @DavidValerio-b2d 3 години тому

    I’m glad I found your videos! You make it super easy to understand. I was watching your video “ Control Different LEDs with a Joystick and Arduino” and I have a question. Ive already read the values and mapped the values. I just can’t get it to control my ws2812b led strip. I’m using a rc controller (throttle signal) to control the leds from green to red (each light individually depending on throttle percentage). I’m using FastLED library. I’m not sure if there’s a video that explains that. Let me know if you can! Thank you

  • @JustBuildBro
    @JustBuildBro 11 днів тому

    Hi Rachel. Love the content, great work. I have been working with similar tech for years. I have made some RC cars with balloons for combat. Really fun. My kids loved them. Happy to share specs if you are interested.

  • @eriklehman3175
    @eriklehman3175 16 днів тому

    cool project! i may be wrong, and probably am, but it appears to me that they "eyeballs" are turning the wrong direction and would be not following the person as they walk by. the arm on servo is perpendicular to the the ruler and should probably start at 90 degrees which would be parallel to the path that somebody would walk and then change the code so that it goes from 90 degrees to a little beyond 180 degrees so that it looks like the eyeballs would be following as a person walks beyond..... could you also delete any code that deals with the inches and also change it to mm instead of cm?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  15 днів тому +1

      Great observation! I taped the servo down without really thinking of the orientation to the ruler so yes, it was probably turning the wrong way. You can certainly have it output in mm too!

  • @MicahJKelly
    @MicahJKelly 15 днів тому

    Can you do a video showing us how to re-flash the bootloader onto an UNO? My R3 is seemingly working but I cant upload to it. I got a USBtinyISP AVR ISP Programmer but every instructional video seems to leave things out... I also have other arduinos I could flash it with.

  • @calvinduneganjr8904
    @calvinduneganjr8904 17 днів тому +1

    Yer awesome Darlin! Enjoy your videos, would Enjoy collaborating with you on a project

  • @randytravis3998
    @randytravis3998 16 днів тому

    how far can the sensor send and receive.. you were doing about a foot .. will it see 5 feet or more ?? great video just found your channel

  • @louiepauda6275
    @louiepauda6275 15 днів тому

    I seen that just that you know best!

  • @RyshusMojo1
    @RyshusMojo1 17 днів тому +3

    Interactive cat toy potential.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  17 днів тому +1

      Yaaas! Great idea! You can attach a laser to the to servo 😻

  • @J_Creative
    @J_Creative 16 днів тому

    Use PWMservo for better smooth effect

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  16 днів тому

      That's a great idea! I'll have to add it to my list of videos.

  • @franciscobr4546
    @franciscobr4546 17 днів тому +2

    Muy bueno

  • @tnoutlaw73
    @tnoutlaw73 9 днів тому

    I am positive this lady is my soulmate

  • @dudasertorio
    @dudasertorio 16 днів тому

    Great job and explanations, @RachelDeBarrosLive ! Your videos are Awesome !! Thank you very much !!!

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  16 днів тому

      Thanks for the kind words! I'm glad you find the videos helpful.

  • @naeemhaq3504
    @naeemhaq3504 16 днів тому +1

    nice effort but still spaces to improve

  • @mahargleopenaws
    @mahargleopenaws 14 днів тому

    Can't believe the low thumbs ups on your channel

  • @DBB-KE5DUO
    @DBB-KE5DUO 17 днів тому +1

    echo... echo... echo.... 😂

  • @layton7430
    @layton7430 16 днів тому

    She's brilliant