How to setup and use a PCA9685 with your Arduino to control up to 16 servos.

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 42

  • @Crusty_Camper
    @Crusty_Camper Před 2 lety +1

    Thanks so much for a very clear video that makes no assumptions about the viewer's knowledge and talks us through every step. This is the first time I have tried to use a PCA9685 and multiple servos, but it worked first time and also when I increased to several motors.

  • @dans-designs
    @dans-designs Před 2 lety

    Thank you so much! you saved me from a week long headache trying to get the PCA9685 working!!

  • @bentsprockettech
    @bentsprockettech Před rokem

    Awesome, I was looking for an easier way and this library does the trick. Thanks for sharing this with us.

  • @mrherpleflurp
    @mrherpleflurp Před 2 lety

    i prefer your library and examples to the adafruit version good job

  • @-prime-4729
    @-prime-4729 Před 2 lety

    Great video man i watched over an over to make sure i was doing everything right but when i upload the code nothing happens with my servos. i did a simple test on my nano the blink test and it worked fine so recompiled the servo code uploaded it and nothing could really use your help thanks in advance.

  • @planker
    @planker Před 2 lety

    Thanks, Good video. I have been avoiding the PCA because it looks scary. However I know I will soon need this. 16 servos' plus? That will keep me busy. Like!

  • @TheCj71984
    @TheCj71984 Před 2 lety

    Super clear video ! Amazing now how can you say use this to control it from serial monitor ?

  • @francishosey551
    @francishosey551 Před 8 měsíci

    i downloaded the code and library. The A4 and A5 did not work for SDA and SCL. However the pins on the Arduino Uno labeled SDA and SCL worked for the PCA9685 corresponding data pins. Also the servos did not work on 3 and 8 but they did work on 4 and 9... Kinda buggy or something wrong on my end. Works tho.

  • @seawolvesgowest
    @seawolvesgowest Před 4 měsíci

    I tried adafruit library but can not get the servos to move.I downloaded the HCPCA9685 library and still can not get my servos moving, I have everything connected correctly ( I have checked this 100times now) I power the arduino from a regulated 5v supply(usb) , I have a seperate power supply for the servos( 5v 10amp) but still no action, you seem to know what your talking about any suggestions you can give me( sorry I’m new to this) trying to get 6 servos working

  • @davidgorman2665
    @davidgorman2665 Před 2 lety

    Great video. Just starting to explore using servos on my model railroad. I was curious about the different mounts you used for the servos and the pca9865. Can you provide a hint for where the might be obtained?

  • @buyme1cnc
    @buyme1cnc Před 3 lety +1

    hello what is the meaning of 450 (on poss++) ?
    can we change it ? and what will happen ? thanks

  • @faroekjuthan89
    @faroekjuthan89 Před 3 lety

    My compliments for the nice explanation and a very good working code. Thanks for sharing and good luck with your projects.

  • @thewellknownemployee8512
    @thewellknownemployee8512 Před 3 lety +1

    Excellent video, keeps thing simple.

  • @normwright5018
    @normwright5018 Před 2 lety

    Hello!
    Your channel is helping me a great deal!
    I've embarked on my first arduino project, a motorized headpiece, it is based on a spider robot design, has 36 servos,6 arms per side, 3 servos per arm.
    I've daisy chained 3 pca9685 boards and numbered the servos from o to 35.
    I've downloaded the pca9685 file to my arduino app and am currently giving the coding a try using the information from your channel.
    I am using an 11v lipo battery and I have included the buck converter to convert the 11v to 5v.
    I am hoping you can answer 2 questions for me.
    1.
    I have numbered the servos at the base of the headpiece 0,3,6,9,12,15,18,21,24,27,30,33
    I have numbered the elbow servos 1,4,7,10,13,16,19,22,25,28,31,34
    and finally numbered the finger servos 2,5,8,11,14,17,20,23,26,29,32,and 35.
    can I program the code to move these 3 sections separately?
    and,
    once I've successfully uploaded the codes to arduino I am including a Bluetooth module so they can be operated from my phone.
    is the an app that you recommend to perform the motor controls?
    thanks very much for your channel!
    any help would be greatly appreciated!!
    sincerely
    Norm Wright

  • @gijsdollenkamp8471
    @gijsdollenkamp8471 Před 3 lety +4

    what if you want 2 servos to do 2 different things at the same time?

    • @CommenterTheMan
      @CommenterTheMan Před 3 lety +1

      Yes, I have the same question. Any luck solving this problem gijs dollenkamp?

    • @KleszczuPK
      @KleszczuPK Před 3 lety

      @@CommenterTheMan dont use delay, use millis and every loop update both servos

    • @CommenterTheMan
      @CommenterTheMan Před 3 lety

      @@KleszczuPK Thanks, this was very helpful. Appreciate it.

    • @KleszczuPK
      @KleszczuPK Před 3 lety

      @@CommenterTheMan i can send you an example code after the weekend

    • @CommenterTheMan
      @CommenterTheMan Před 3 lety

      @@KleszczuPK That would be great, Thank you so much!

  • @JH-ub8nz
    @JH-ub8nz Před 2 lety

    G'day, my servo won't move. I have tried using 3 different types of servos. changed the wires, ETH cable, and even a different Arduino and external 5V power supplies. I've got the code 100% correct. Ive ran out of ideas. Could you think of any reasons why the servo will not move?

  • @icebluscorpion
    @icebluscorpion Před 2 lety

    does this only work for Servo? or does it also work for ESC with integrated BEC?

  • @ryanmckenna2047
    @ryanmckenna2047 Před rokem

    What happens if you connect v+ and provide a battery to the terminals?

  • @yeshacroe9354
    @yeshacroe9354 Před 3 lety +1

    Hello sir, how about running 16 servo at the same time, what power supply to use and how to prevent burning or overheat of pc when uploading?? Thank you.

  • @8bitmark530
    @8bitmark530 Před 3 lety

    Great video very informative and clear. Thank you

  • @kennethd.bryant9279
    @kennethd.bryant9279 Před 2 lety

    I need a two position servo... on/off. but can I make OFF also be Zero Voltage to the servo? position ON would be only powered while needed.

    • @z-hut1663
      @z-hut1663  Před 2 lety

      Just use a transistor or small relay to have the Arduino turn power on when needs to be on and off when it don't need to be on

  • @snehagupta4614
    @snehagupta4614 Před 2 lety

    Sir can i run 16 11.1 volts servos? if yes, then how much should be the power supply?

  • @buyme1cnc
    @buyme1cnc Před 3 lety

    It worked well but not 450, i set 350 thank u for your video

  • @yoko3173
    @yoko3173 Před 3 lety

    Great tutorial!

  • @jithendrareddytamma6565

    Library.properties file is missing?

  • @saadslimati7469
    @saadslimati7469 Před 2 lety

    Please I didn't find HCPCA9685 LIABRARY please can u share it with us please I have school project and I m stuck 🥺🥺🥺

  • @Nate-qu9gt
    @Nate-qu9gt Před 3 lety +1

    I love your video but can you add a Bluetooth to it and how lol

  • @K-Luxuriant
    @K-Luxuriant Před 2 lety

    servo didn't moved in the video!

  • @atulkhatavkar6986
    @atulkhatavkar6986 Před 3 lety

    Hi nice video can you please share the code please

  • @rajukanada1921
    @rajukanada1921 Před 4 lety +1

    sir can you help me to program my robot please sir i am 13 year student please sir