Robotics Programming: Servo Control for Arduino

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

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

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

    This one threw me for a bit! When I made my "copy" of the sweep sketch I left the "attach" as pin 9 instead of changing to 0. But I had wired as you indicated, with the control line going to 0.

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

    Great video, thanks for posting. I enjoy how you present it, very intuitive.

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

      My pleasure! Thank you for the feedback, much appreciated!

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

    when i am running the sweep program, my right wheel is moving slowly, but my servo is not rotating. I don't seem to understand what I am missing.

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

    Please tell me you are going to continue with this series!!!!! Awesome work, Thank you!

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

      Yes, I will be. I was just consumed in the semester as it was a pretty intense one. Things are starting to wind down now so I am going to start looking forward..

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

      @@CodingCoach Thank you! I understand how crazy things can get. You are an awesome teacher!!!!

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

      Here you go: ruclips.net/video/lOTDSQua--s/видео.html

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

    Amazing video and coding I’m still somewhat new to parts of the coding keep up the amazing work

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

    I have just watched your series so far, any idea as to when the next issue will be posted?
    It's nice to find a series on this subject that starts at the basics, rather than expecting everyone to be fully conversant with programming microcontrollers :)

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

      Hi Melvin thank you for the feedback. I apologize for the delay with the next video. I hit a mid semester busy point and I'm waiting for my class to get a little ahead. It might be a couple of weeks before the next one comes out but they are coming!

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

      @@CodingCoach
      No reason to apologise! Thanks for responding, we all have lives to live😊
      I’m looking forward to seeing the next instalment 👍

    • @Shubham-po2tp
      @Shubham-po2tp 2 года назад

      Why capacitor attached Big

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

    Hi, Thanks for these videos. I have a few questions I'm hoping you can help with.
    1. The last time I tried using the robot (about two weeks after the previous time), the right wheel always spins at full speed regardless of the setting.. The left wheel spins at a speed based on the setting. Any ideas on how I could diagnose this? I know very little about electronics, so it would have to be something basic.
    2. I'm thinking of getting the Elegoo Uno R3 that you referenced in one of your other videos. Is there any downside to using that? Is it programmable?
    Thanks again for the help!

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

      for 1. are you using the 3pi+ robot? If so and you are using servo along with the DC wheel motors you have to modify the Servo library as they document here: www.pololu.com/docs/0J69/3.9.1
      For 2: yes, it includes an Arduino which you can program. The downside is, as I discussed in that video, the robots 4 wheeled design may introduce error when turning if using encoders for dead reckoning.

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

      @@CodingCoach Thank you for getting back to me!
      I'm using the 3pi+. I'm basically following the videos you've been posting, including the video that uses the servo. I don't remember modifying any libraries, but I may have missed that. I'll take a look at the documentation you linked to.
      Thanks for the information about the Elegoo. I'm mostly considering it because it has more room to work with and I think that might make life easier.
      Thanks!

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

      @@CodingCoach The library changed solved my problem. Thanks!

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

      Awesome! I am not sure I got that far in the videos yet (combining the moving servo with the motors) I will be sure to include that in the next video.

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

      @@CodingCoach I tried to go ahead on my own. Lesson learned!