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

  Рет қаралды 30,699

Z-HUT

Z-HUT

Күн бұрын

Пікірлер: 44
@shakejones
@shakejones 29 күн бұрын
Great video+explanation+presentation! Thank you for sharing! Well done mate - NEW SUB 🙏🏻
@shingabiss
@shingabiss 2 ай бұрын
Nice tutorial! I couldn't get the Adafruit pwm servo to work at all but this one works well. Thanks for posting.
@dans-designs
@dans-designs 3 жыл бұрын
Thank you so much! you saved me from a week long headache trying to get the PCA9685 working!!
@Crusty_Camper
@Crusty_Camper 2 жыл бұрын
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.
@bentsprockettech
@bentsprockettech 2 жыл бұрын
Awesome, I was looking for an easier way and this library does the trick. Thanks for sharing this with us.
@TheCj71984
@TheCj71984 2 жыл бұрын
Super clear video ! Amazing now how can you say use this to control it from serial monitor ?
@davidgorman2665
@davidgorman2665 2 жыл бұрын
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?
@faroekjuthan89
@faroekjuthan89 3 жыл бұрын
My compliments for the nice explanation and a very good working code. Thanks for sharing and good luck with your projects.
@-prime-4729
@-prime-4729 2 жыл бұрын
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.
@mrherpleflurp
@mrherpleflurp 3 жыл бұрын
i prefer your library and examples to the adafruit version good job
@francishosey551
@francishosey551 Жыл бұрын
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 10 ай бұрын
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
@icebluscorpion
@icebluscorpion 2 жыл бұрын
does this only work for Servo? or does it also work for ESC with integrated BEC?
@normwright5018
@normwright5018 2 жыл бұрын
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
@planker
@planker 2 жыл бұрын
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!
@8bitmark530
@8bitmark530 4 жыл бұрын
Great video very informative and clear. Thank you
@JH-ub8nz
@JH-ub8nz 3 жыл бұрын
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?
@kennethd.bryant9279
@kennethd.bryant9279 3 жыл бұрын
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 3 жыл бұрын
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
@gedtoon6451
@gedtoon6451 2 ай бұрын
Although the PWM is set with a 12 bit value, it does not mean there are 4096 steps of control. At a frequency of 50hz you get 25MHz/(50Hz * 4096) ≈ 122 steps. This is a far cry from the advertised 4096 steps!
@ryanmckenna2047
@ryanmckenna2047 2 жыл бұрын
What happens if you connect v+ and provide a battery to the terminals?
@yeshacroe9354
@yeshacroe9354 4 жыл бұрын
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.
@MrWide-ro9rv
@MrWide-ro9rv 3 жыл бұрын
5V -​6V sir.
@snehagupta4614
@snehagupta4614 2 жыл бұрын
Sir can i run 16 11.1 volts servos? if yes, then how much should be the power supply?
@K-Luxuriant
@K-Luxuriant 3 жыл бұрын
servo didn't moved in the video!
@gijsdollenkamp8471
@gijsdollenkamp8471 4 жыл бұрын
what if you want 2 servos to do 2 different things at the same time?
@CommenterTheMan
@CommenterTheMan 3 жыл бұрын
Yes, I have the same question. Any luck solving this problem gijs dollenkamp?
@KleszczuPK
@KleszczuPK 3 жыл бұрын
@@CommenterTheMan dont use delay, use millis and every loop update both servos
@CommenterTheMan
@CommenterTheMan 3 жыл бұрын
@@KleszczuPK Thanks, this was very helpful. Appreciate it.
@KleszczuPK
@KleszczuPK 3 жыл бұрын
@@CommenterTheMan i can send you an example code after the weekend
@CommenterTheMan
@CommenterTheMan 3 жыл бұрын
@@KleszczuPK That would be great, Thank you so much!
@yoko3173
@yoko3173 3 жыл бұрын
Great tutorial!
@jithendrareddytamma6565
@jithendrareddytamma6565 3 жыл бұрын
Library.properties file is missing?
@saadslimati7469
@saadslimati7469 2 жыл бұрын
Please I didn't find HCPCA9685 LIABRARY please can u share it with us please I have school project and I m stuck 🥺🥺🥺
@atulkhatavkar6986
@atulkhatavkar6986 4 жыл бұрын
Hi nice video can you please share the code please
@Nate-qu9gt
@Nate-qu9gt 4 жыл бұрын
I love your video but can you add a Bluetooth to it and how lol
@rajukanada1921
@rajukanada1921 4 жыл бұрын
sir can you help me to program my robot please sir i am 13 year student please sir
@rajukanada1921
@rajukanada1921 4 жыл бұрын
please help
@rajukanada1921
@rajukanada1921 4 жыл бұрын
please help
@batter8178
@batter8178 4 жыл бұрын
Omg I have a robot too I need help
@rajukanada1921
@rajukanada1921 4 жыл бұрын
@@batter8178 ok I can help
Arduino C++ Controlling LED's with a PCA9685 PWM Servo controller
18:46
Arduino multiple servo's the simple way
18:34
Robonza
Рет қаралды 34 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Mastering Servo Control: PCA9685 PWM Driver with Arduino Tutorial and Demo
7:50
Control 16 Servos Using A PCA9685
18:22
Toms Trains and Things
Рет қаралды 77 М.
#4.b - Installing & Configuring DCC-EX   @DriverDTrains
30:00
DriverDTrains
Рет қаралды 10 М.
Connect Up To 992 Servos To An Arduino, Using I2C
7:47
Michael Klements
Рет қаралды 74 М.
Model Train Turnout Control using Arduino and PCA9685
5:32
Control 2 Servos with a Joystick and Arduino: Wiring + Code
15:18
Rachel De Barros
Рет қаралды 20 М.
Using Servo Motors with Arduino
43:06
DroneBot Workshop
Рет қаралды 1,4 МЛН
Raspberry Pi Pico Servo Motors via PWM
12:49
Tinker Tech Trove
Рет қаралды 30 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН