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

ความคิดเห็น • 127

  • @saf6284
    @saf6284 ปีที่แล้ว +2

    I’ve been having a problem with my servos for WEEKS and this worked instantly thanks so much!!

  • @parkersproductions3336
    @parkersproductions3336 ปีที่แล้ว +2

    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?

  • @SriramV-mm6qw
    @SriramV-mm6qw 5 หลายเดือนก่อน

    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 ?

  • @__TBVasuRadadia
    @__TBVasuRadadia 3 หลายเดือนก่อน

    Does this handle the 5v power supply? And one more thing is which components have you used for power supply?

  • @Foxtopolis
    @Foxtopolis 8 หลายเดือนก่อน

    What’s the pincher thingys you connect to the male to male jumper wires?

  • @TheAmazingBuoy
    @TheAmazingBuoy ปีที่แล้ว +1

    This video was great but can we connect a L298N motor driver to the arduino too

  • @mariorosas6364
    @mariorosas6364 11 หลายเดือนก่อน

    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

  • @gonzalodias9540
    @gonzalodias9540 4 หลายเดือนก่อน

    Hi, how did you get the min 150 and max 600 values? THanks

  • @ChampouinetCharente-yt3uo
    @ChampouinetCharente-yt3uo 18 วันที่ผ่านมา

    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.

  • @koushikkashyap439
    @koushikkashyap439 3 ปีที่แล้ว +2

    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.

  • @AbdulRahman-jz3px
    @AbdulRahman-jz3px ปีที่แล้ว

    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?

  • @edfriedrich.
    @edfriedrich. 10 หลายเดือนก่อน

    Does the 5V supply to the PCA9685 necessary need to be from an external supply? Can it just be the one in the arduino?

    • @sritu_hobby
      @sritu_hobby  10 หลายเดือนก่อน

      Yes provide a 5v power supply

    • @mylenei.limutan7359
      @mylenei.limutan7359 8 หลายเดือนก่อน

      is it okay to use 6v battery?
      @@sritu_hobby

  • @eillszhang8897
    @eillszhang8897 3 ปีที่แล้ว

    thanks for your tutorial, your video show me how to control the servos!!!

  • @CreaminItClean
    @CreaminItClean 2 ปีที่แล้ว

    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.

  • @Create_o_raptor
    @Create_o_raptor 2 ปีที่แล้ว +1

    Maximum operating voltage of board??.. and what is the max voltage we can supply the servos with via the board

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Maximum voltage is 6v

  • @niranjs5672
    @niranjs5672 2 ปีที่แล้ว +1

    How much electricity would I need for controlling 12 servo motor(sg90) at the same time?

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Please connect a external 5v power supply

    • @niranjs5672
      @niranjs5672 2 ปีที่แล้ว

      @@sritu_hobby will a 6v 4.5 mah lead acid battery work? will 6 volt be too much for 12 servos

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      6v ok

  • @mylenei.limutan7359
    @mylenei.limutan7359 8 หลายเดือนก่อน

    hello can i use 6v battery for pwm servo driver?

  • @MYRTR204
    @MYRTR204 6 หลายเดือนก่อน

    I have 7 servos, I want them to work separately, how can I do this?

  • @Endless795
    @Endless795 หลายเดือนก่อน

    What battery pack do you use?

  • @ardaa2607
    @ardaa2607 7 หลายเดือนก่อน

    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.

    • @sritu_hobby
      @sritu_hobby  7 หลายเดือนก่อน

      Copy and paste this code to another new arduino window and check it.

  • @simobomb6475
    @simobomb6475 ปีที่แล้ว

    How do i get a 5v power suply can somebody link me smh i cant seem to find annything plus im dumb

  • @misticalagesdennix
    @misticalagesdennix 2 ปีที่แล้ว

    why aren't they stopping at the same direction?, the second one has some kind of angle constrain problem...?

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Change servo horns direction

  • @artificial_artist
    @artificial_artist 2 ปีที่แล้ว

    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?

  • @abhijitbhoir692
    @abhijitbhoir692 2 ปีที่แล้ว

    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
    ??

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Yes

    • @abhijitbhoir692
      @abhijitbhoir692 2 ปีที่แล้ว

      @@sritu_hobby all needs comman ground even if supplied seperately

  • @fedjtechcockpitscockpits7917
    @fedjtechcockpitscockpits7917 9 หลายเดือนก่อน

    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

  • @panjatcharaml9683
    @panjatcharaml9683 3 ปีที่แล้ว +1

    Nice video bro and my servo didn't work problem is there any problem with the hardware I am using micro servo

  • @Dass1432
    @Dass1432 2 ปีที่แล้ว

    Hi sir the video is really helpfull
    I have a doubt, can onle one servo motor set for continuious rotations with few minutes delay

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      I think that is servo motor error

  • @TheAmazingBuoy
    @TheAmazingBuoy ปีที่แล้ว

    Can u control motor driver too?

  • @InrTheFirstlol
    @InrTheFirstlol 4 หลายเดือนก่อน +1

    GRACIAS TE AMO

    • @sritu_hobby
      @sritu_hobby  4 หลายเดือนก่อน

      Love you too

  • @juglulkarim4739
    @juglulkarim4739 ปีที่แล้ว

    What power supply do you use for the pmw 16 channel driver?

    • @sritu_hobby
      @sritu_hobby  ปีที่แล้ว

      5v power supply

    • @anugrahnambiar9648
      @anugrahnambiar9648 ปีที่แล้ว

      @@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
      ?

  • @SlimeyDev
    @SlimeyDev 2 ปีที่แล้ว +1

    thx! VERY HELPFUL

  • @maulanagaraudy5204
    @maulanagaraudy5204 2 ปีที่แล้ว

    can it be used for wireless mode?, like using a remote control

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Yah, you can use a bluetooth module

  • @mauriziocini2074
    @mauriziocini2074 2 ปีที่แล้ว

    Ma si possono comandare con dei pulsanti grazie

  • @xerolive7978
    @xerolive7978 5 หลายเดือนก่อน

    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

    • @sritu_hobby
      @sritu_hobby  5 หลายเดือนก่อน +1

      Please use for loop

    • @xerolive7978
      @xerolive7978 5 หลายเดือนก่อน

      @@sritu_hobby I am not good with coding ,can I use chatgpt for it

  • @did3d523
    @did3d523 3 ปีที่แล้ว

    how to link gyrompU6050+ PCA9685 on Same arduino nano

  • @RESC_Eng
    @RESC_Eng 2 ปีที่แล้ว

    Thank you bro it's really help

  • @VIDEOSVICEN
    @VIDEOSVICEN 3 หลายเดือนก่อน

    Cuantos servos puedes conectar a la placa 16???
    Gracias

    • @sritu_hobby
      @sritu_hobby  3 หลายเดือนก่อน

      Yes

    • @VIDEOSVICEN
      @VIDEOSVICEN 3 หลายเดือนก่อน

      @@sritu_hobby 👍👍🍹

  • @jordansitu6279
    @jordansitu6279 ปีที่แล้ว

    hey man, excellent video, could you please tell me what kind of external power supply you used to power the PCA module?

  • @francesco4347
    @francesco4347 2 ปีที่แล้ว +2

    hello, could you please do a tutorial to control 4 servo motors with the keypad?

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว +1

      Ok sure

    • @francesco4347
      @francesco4347 2 ปีที่แล้ว +1

      @@sritu_hobbythank you, you're really kind

    • @francesco4347
      @francesco4347 2 ปีที่แล้ว +1

      @@sritu_hobby you did it?😀😀😀

  • @serkankaracan9014
    @serkankaracan9014 2 ปีที่แล้ว

    hi great video.a question that how can turn 4 servos at same time ??

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      It's very easy. Please visit my program

  • @lordofwar9431
    @lordofwar9431 2 ปีที่แล้ว

    how would i add bluetooth to the project i just got a robot arm and want to make it blue tooth

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Please visit my previous videos for that

  • @holliday69
    @holliday69 ปีที่แล้ว

    Awesome tutorial !!!!!

  • @jumbo999614
    @jumbo999614 9 หลายเดือนก่อน

    Can I use both SG90 and MG90s at the same time?

    • @sritu_hobby
      @sritu_hobby  9 หลายเดือนก่อน

      Yes

    • @Foxtopolis
      @Foxtopolis 8 หลายเดือนก่อน

      @@sritu_hobbycan I use mg995 at the same time?

  • @Platym06
    @Platym06 2 ปีที่แล้ว +1

    Thank you but I have one question can I also do it with an 9V Battery and with an Arduino Mega 2650

  • @manvendrasingh-nj1sd
    @manvendrasingh-nj1sd 10 หลายเดือนก่อน

    what are the applications of this project

  • @linhho541
    @linhho541 2 ปีที่แล้ว

    nice video . please tell me why when entering the code "Adafruit_PWMServoDriver.h ", it gives an error No such file or directory :(

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว +1

      Please include the library file to the Arduino IDE.

  • @srihari1992
    @srihari1992 7 หลายเดือนก่อน

    👍 good

  • @PlaneSpotterJimmy
    @PlaneSpotterJimmy ปีที่แล้ว

    Can you use this driver with MG996r servos?

    • @sritu_hobby
      @sritu_hobby  ปีที่แล้ว

      Yas of course

    • @Foxtopolis
      @Foxtopolis 8 หลายเดือนก่อน

      @@sritu_hobbycan you use mg995

  • @robinmilich7811
    @robinmilich7811 4 หลายเดือนก่อน

    can i use a different arduino

  • @horridhanu
    @horridhanu 3 ปีที่แล้ว

    Wellent good. ✌🌍❤

  • @eraldo9916
    @eraldo9916 ปีที่แล้ว

    Thanks.😃

  • @suko52projects22
    @suko52projects22 3 ปีที่แล้ว

    can you use arduino nano or not?

  • @katzmikehd
    @katzmikehd ปีที่แล้ว +3

    Why does ist no work?

  • @icongrindsetsfj
    @icongrindsetsfj ปีที่แล้ว

    What is the power source?

  • @ndf4937
    @ndf4937 2 ปีที่แล้ว

    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ı

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      English ???

    • @ndf4937
      @ndf4937 2 ปีที่แล้ว

      @@sritu_hobby ing yazdık cevap vermiypn bro

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      English??

    • @ndf4937
      @ndf4937 2 ปีที่แล้ว

      @@sritu_hobby pişt

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      I can't understand your language

  • @mr.experimentalhacker6049
    @mr.experimentalhacker6049 2 ปีที่แล้ว

    Sir ji plz make vedio in which 12 servos are controlled with esp8266

  • @astrro.ninja3
    @astrro.ninja3 ปีที่แล้ว

    I have some problems with the code, it tells me there are some mistakes

    • @astrro.ninja3
      @astrro.ninja3 ปีที่แล้ว

      I did everything like you did

  • @hacker6695
    @hacker6695 2 ปีที่แล้ว

    how to slow down motion of servo ?

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      For that you can change delay time.

    • @hacker6695
      @hacker6695 2 ปีที่แล้ว

      @@sritu_hobby not working

  • @mrabdelkareem2232
    @mrabdelkareem2232 2 ปีที่แล้ว

    how can i use it with bluetooth

    • @sritu_hobby
      @sritu_hobby  2 ปีที่แล้ว

      Please use a bluetooth module

  • @horridhanu
    @horridhanu 3 ปีที่แล้ว

    Nice🌙🐼

  • @suko52projects22
    @suko52projects22 3 ปีที่แล้ว

    Bisa pakai arduino nano?
    Can I use Arduino Nano?

  • @williammontenegrochamorro4191
    @williammontenegrochamorro4191 ปีที่แล้ว

    Quiero comprar éste de: 16 channel servo controller whit arduino

  • @minhluanngo598
    @minhluanngo598 9 หลายเดือนก่อน

    Where is the link of code?😊

    • @sritu_hobby
      @sritu_hobby  9 หลายเดือนก่อน

      Description

    • @sritu_hobby
      @sritu_hobby  9 หลายเดือนก่อน

      Description

  • @JohnAllen-i9j
    @JohnAllen-i9j 6 วันที่ผ่านมา

    Doyle Hollow

  • @LoriEvans-e5q
    @LoriEvans-e5q 14 วันที่ผ่านมา

    Cole Walk

  • @kavorka8855
    @kavorka8855 ปีที่แล้ว

    What exactly is the use of running the servos one at a time?! It's useless. Did you try running at least 2 simultaneously?

  • @umapriya2438
    @umapriya2438 หลายเดือนก่อน

    .