How to Make an Ultrasonic Nervous Robot - The Learning Circuit

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

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

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

    Karen here! If you want to play with the Arduino code, you can find it over on the element14 community - bit.ly/3pppO8o. If you post new code there, I can try it on my robot and if it works, I can post video updates. So check it out! Be sure to tag me, @MakerKaren.

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

    Hi Karen,
    First thing - cool idea... when you said you decided to make a robot, the box-mounted face didn't occur to me. I just assumed the "standard" obstacle avoiding robot running around on the floor, like everybody else seems to do.
    And as for it being "skittish"?
    Well I haven't really looked at, never mind analyzed, the Arduino code, but I think your issues might be related to tying the three sensors' TRIGGER pins together. When you send the trigger, all three sensors will emit a pulse of ultrasound, so the sensor you're reading could be detecting echoes from any one of them. I presume they react to the first pulse they receive, so that would likely be the pulse from whichever emitter is closest to the target. In other words, when the target is to the right, the sensor on the left would read a (false, incorrect) distance from the emitter on the right - to the target - and then to the sensor on the left. And similarly for every sensor. Only when the target is right in front of a sensor would it be likely to detect it's own echo first.
    I haven't done the math, but I suppose it's possible that it might even detect the original *emitted* pulse from another sensor, if it takes more than 10 microseconds for the sound to travel the distance between them. (Oh heck - lets do it... Google says the speed of sound is about 343 meters per second - which is 0.000343 meters per microsecond = 0.343 mm per microsecond. So in 10 microseconds, the sound wave is able to travel 3.43mm. Yep, plenty of time for all three sensors to go into "listen" mode before any sound from another sensor reaches it).
    I'm not saying this IS the problem, but it seems to me to be a complication that needs to be looked at. So, since there are still plenty of pins available on the Arduino, I can't help but think that three separate triggers would've made more sense.

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

      That's exactly what I was about to tell her, cause I had the same issues when I was trying to build a robot mower. I amounted the sensors all in front of the robot, now what happened is if the robot encountered a wall for example, the pings bounce all at ounce or coming from one surface at ounce , then my robot gets confused about what to do now. I tought that my conditions was wrong, but when I think about it like the robot, it was obvious. Next thing I mounted R sensor on the R side, L on L side of the robot, it was better. I was just trying to read a bigger surface to not miss by too much the obstacles. It didn't work well😂 that what you call interference in ultrasonic sensors. I'm going to try this code for my new project. Thanks Karen for your work, please make a video about neural network using ultrasonic sensors. Full code would be appreciated.

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

    Definitely the coolest Karen in RUclips!

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

    Heya, I couldn't find the link to the code, but based on how the ultrasonic sensors were wired, I believe you are getting output from one sensor that is coming into the input of another. If you fire them off sequentially instead it might work better. Maybe make sure to leave a slight delay too, microcontrollers are FAST and you might have to account for the time it takes a sound pulse to bounce back! Crazy huh!

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

      Thanks for the feedback! You can find the downloadable link to the code here. - bit.ly/3pppO8o

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

      It's in a zip file at the bottom of the page through that link.

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

    Thanks, Karen! Neat project!

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

    Nice robot & her professor.
    Many thanks
    Happy New Robot

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

    Awesome. I would like to see a 1-2 hour long video or video series walking us through a project like this from start to finish.

  • @rogerwilliams7060
    @rogerwilliams7060 10 месяцев назад

    Hey Ms. Karen, great video! I'm new to this channel, and your heaven sent! I'm trying to construct a motion censored Hawk deterrent, possibly a makeshift American Bald-Eagle that shrieks upon motion with flapping wings, a moving head and glowing red eyes. I'm a disabled Veteran and my PTSD therapy is raising and breeding Show/Game Chickens with my son who is also disabled, and we lose quite few Show birds (biddies and stags) to hawks and other predators, but I'm also a student at Robeson Community College's Industrial Construction Systems Technology program, with a Graduation project to complete, and I've been following you, and I enjoy your tutorials extremely so. I tend to watch you as if I have another class on my schedule, and I hate to miss an episode.

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

    plz.......can u be kind to explain us about p chanle mosfets little bit more with curent flow animations....im biginer to this felld. sory about my english. i hope you understand wt i ask

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

    part 2 update please

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

    Awwww, it turned out so cute!!! I love that he's skiddish! Hahahahah

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

    I see Karen and I click the like button but only because RUclips doesn't provide a love button.

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

    Hi Karen

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

    Robots are great.
    wow im litrally the first comment. this never happens

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

    I dislike anything to do with dumb deno