16 channel servo controller with Arduino | PCA9685 16 channel PWM servo motor driver tutorial
ฝัง
- เผยแพร่เมื่อ 25 ก.ย. 2024
- Hello guys, in this tutorial, we will learn what 16 Channel PWM Servo Motor Driver is and how to work with Arduino. Also, this tutorial describes step-by-step instructions.
OK enjoy it now.
Short and sweet tutorial.Only from SriTu tech. If you think this video is good, don't forget to like and comment.
16 channel servo controller with Arduino | PCA9685 16 channel PWM servo motor driver tutorial
• 16 channel servo contr...
16 channel servo controller Arduino
00:12 Presentation of components
01:04 Connecting components
02:34 Arduino program - example 1
03:16 Arduino program - example 2
02:57 Testing this driver board - example 1
03:42 Testing this driver board - example 2
***Names of components.
***step by step.
***Make it easy.
Subscribe to more videos --- / sritutech_sritu_hobby
Website for more tutorial --- www.srituhobby...
Android app for more tutorial --- bit.ly/3GWcmmD
Our store with the best prices
========================================
srituhobby.com...
========================================
( Source code and circuit diagram )
=========================================
Website -- bit.ly/3hfoAMH
Android app -- bit.ly/3GWcmmD
=========================================
Part's List (Our store -- SriTu Hobby)
==========================================
1.Arduino UNO board x 1 -- bit.ly/41RMh1o
2.PWM servo motor driver x 1 -- bit.ly/3Yvfejv
3.Jumper Wires -- bit.ly/43V7gSR
4.Servo motor x 4 -- bit.ly/3DUibAt
==========================================
Part's List (Amazon)
==========================================
1.Arduino UNO board x 1 -- amzn.to/3hnMhPj
2.PWM servo motor driver x 1 -- amzn.to/2Q4Bpy6
3.Jumper Wires ---- amzn.to/2RjTt4e
4.Servo motor x 4 -- amzn.to/3bRunmM
==========================================
( Social media links )
==========================================
Facebook-------- / srituhobby
Twitter------------- / sritu_hobby
Instagram------- / sritu_hobby
Pinterest--------- / sritu_hobby
Tiktok------------- / sritu_hobby
Reddit------------- / sritu_tech
Linkedin----------- / sritu-hobby
Snapchat-------- / srituhobby
Threads---------www.threads.ne...
==========================================
Thanks for watching......................
If you learned something in this video,
**Like.
**Share.
**Subscribe.
What do you think? please comment below.
#SriTu_Tech_arduino #servo #motor_driver
I’ve been having a problem with my servos for WEEKS and this worked instantly thanks so much!!
Awesome. I’m new to coding and was wondering what I should do if I wanted each servo to rotate randomly between a minimum rotation and a maximum set rotation (with a random wait time between 0-2 between rotations). Does anyone know the code for this if I were using an Arduino Uno?
The video is really helpful.
I just have one doubt. The voltage rating of the external power supply is 5V. What is the current rating ?
Does this handle the 5v power supply? And one more thing is which components have you used for power supply?
What’s the pincher thingys you connect to the male to male jumper wires?
This video was great but can we connect a L298N motor driver to the arduino too
what are the limitations to this servo driver board? Is it possible to run multiple servos at once? I only saw one servo running at a time
Hi, how did you get the min 150 and max 600 values? THanks
I’m working with an Arduino Uno R4 WiFi and a PCA9685 PWM driver module to control a servo motor. Although the Arduino IDE indicates that the code is running correctly and attempts to move the servo, the servo motor itself does not respond or move. This issue persists even though the code is properly uploaded and the Serial Monitor shows that the IDE is executing the code.
Here’s what I’ve checked:
I2C Connections:
I have connected SDA and SCL from the PCA9685 to the corresponding SDA and SCL pins on the Arduino Uno R4 WiFi.
I’m unsure if SDA and SCL should be connected to pins A4 and A5, respectively, but I’m using the dedicated SDA and SCL pins on the Uno R4 WiFi.
I2C Device Detection:
I used an I2C scanner code to detect devices on the bus, but nothing appears in the Serial Monitor. This suggests that the PCA9685 may not be detected on the I2C bus.
Power Supply:
I’m concerned about whether the PCA9685 and the servo motor are receiving sufficient power.
Code Functionality:
The code is designed to control the servo motor via the PCA9685 module. The code seems to be working as expected when run manually, but the servo motor does not move.
Thank you so much Bro.. Your videos are perfect - right to the point. The website and blog are also very precise. Please keep on posting and educating.
Thank you
How do I find out which servomin and servomax are compatible with the servo used? can I find out from the datasheet? and which part should i change if i want to drive 4 servos at the same time with different finishing angles?
Does the 5V supply to the PCA9685 necessary need to be from an external supply? Can it just be the one in the arduino?
Yes provide a 5v power supply
is it okay to use 6v battery?
@@sritu_hobby
thanks for your tutorial, your video show me how to control the servos!!!
Your welcome
Great video. Ive got a problem with my servos. It seems that my SERVOMAX is upwards of 3000 and my SERVOMIN is around 200. I am using MicroServo TowerPro.
Maximum operating voltage of board??.. and what is the max voltage we can supply the servos with via the board
Maximum voltage is 6v
How much electricity would I need for controlling 12 servo motor(sg90) at the same time?
Please connect a external 5v power supply
@@sritu_hobby will a 6v 4.5 mah lead acid battery work? will 6 volt be too much for 12 servos
6v ok
hello can i use 6v battery for pwm servo driver?
I have 7 servos, I want them to work separately, how can I do this?
What battery pack do you use?
Hello. Even though I have completed the connections and library installation you explained in the video, exit status 1
Compilation error for Arduino Uno board. I'm getting the error. But when I load another code, I do not encounter this error. Can you help me, thank you in advance.
Copy and paste this code to another new arduino window and check it.
How do i get a 5v power suply can somebody link me smh i cant seem to find annything plus im dumb
why aren't they stopping at the same direction?, the second one has some kind of angle constrain problem...?
Change servo horns direction
Great video. One question I have is what power supply your used for the pca hat with those cables, I only find those with round one cable outputs?
5v power supply
Im using nano code is fine works in simulation but on hardware servo are stand still
what may be issue
Input 5v adpter supply to both nano and pwm bord is it related to ground
??
Yes
@@sritu_hobby all needs comman ground even if supplied seperately
Hello there, do this board PCA9685 16 channel PWM servo motor driver has a dedicated Rx/Tx function? i am new in these field, any help i would be very thankful for
Please visit basic tutorials
@@sritu_hobby okay
Nice video bro and my servo didn't work problem is there any problem with the hardware I am using micro servo
Check your code
Hi sir the video is really helpfull
I have a doubt, can onle one servo motor set for continuious rotations with few minutes delay
I think that is servo motor error
Can u control motor driver too?
GRACIAS TE AMO
Love you too
What power supply do you use for the pmw 16 channel driver?
5v power supply
@@sritu_hobby what is current needed, i am using 3 sg90motor and 3 MG996R with 2.4A and 5v ,is it enough for using in arm manipulator
?
thx! VERY HELPFUL
your welcome
can it be used for wireless mode?, like using a remote control
Yah, you can use a bluetooth module
Ma si possono comandare con dei pulsanti grazie
English???
i have done everything there are no code error and all connection are good , servo works fine without pwm , but when i want to use with pwm its not working
plz any solution
Please use for loop
@@sritu_hobby I am not good with coding ,can I use chatgpt for it
how to link gyrompU6050+ PCA9685 on Same arduino nano
Thank you bro it's really help
Your welcome
Cuantos servos puedes conectar a la placa 16???
Gracias
Yes
@@sritu_hobby 👍👍🍹
hey man, excellent video, could you please tell me what kind of external power supply you used to power the PCA module?
5VDC power supply
hello, could you please do a tutorial to control 4 servo motors with the keypad?
Ok sure
@@sritu_hobbythank you, you're really kind
@@sritu_hobby you did it?😀😀😀
hi great video.a question that how can turn 4 servos at same time ??
It's very easy. Please visit my program
how would i add bluetooth to the project i just got a robot arm and want to make it blue tooth
Please visit my previous videos for that
Awesome tutorial !!!!!
Can I use both SG90 and MG90s at the same time?
Yes
@@sritu_hobbycan I use mg995 at the same time?
Thank you but I have one question can I also do it with an 9V Battery and with an Arduino Mega 2650
Yes of course.
what are the applications of this project
nice video . please tell me why when entering the code "Adafruit_PWMServoDriver.h ", it gives an error No such file or directory :(
Please include the library file to the Arduino IDE.
👍 good
Can you use this driver with MG996r servos?
Yas of course
@@sritu_hobbycan you use mg995
can i use a different arduino
Yes
Wellent good. ✌🌍❤
Thank you
Thanks.😃
can you use arduino nano or not?
Yes you can
Why does ist no work?
What is the power source?
hocam pca9685 motor sürücüsünü kullanarak (12 motoru kontrol etmek istiyorum) bunların robot dengelerini sağlamak için MPU6050 kullanıyorum ama bunları bağlayacağım girişler A5 ve A4 olamalı. ikisinde de SCL ve SCA girişleri var. ikisini birarada kullanamaz mıyım yani? bir çözümü var mı
English ???
@@sritu_hobby ing yazdık cevap vermiypn bro
English??
@@sritu_hobby pişt
I can't understand your language
Sir ji plz make vedio in which 12 servos are controlled with esp8266
Please sir plz sir please sir
Under 5 days plz sir
Plz reply please reply
I'll try it.
Please sir
I have some problems with the code, it tells me there are some mistakes
I did everything like you did
how to slow down motion of servo ?
For that you can change delay time.
@@sritu_hobby not working
how can i use it with bluetooth
Please use a bluetooth module
Nice🌙🐼
Bisa pakai arduino nano?
Can I use Arduino Nano?
@@sritu_hobby can use arduino nano
Quiero comprar éste de: 16 channel servo controller whit arduino
Where is the link of code?😊
Description
Description
Doyle Hollow
Cole Walk
What exactly is the use of running the servos one at a time?! It's useless. Did you try running at least 2 simultaneously?
.