PCA9685 16-Channel 12-Bit PWM Servo Motor Driver with Arduino.

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ม.ค. 2022
  • The PCA9685 16-channel 12-bit PWM servo motor driver is used to control up to 16 servo motors using I2C communication with microcontrollers like Arduino and Raspberry Pi. It is used in applications involving use of many servo motors like in hexapods, quadcopter drones, robotic arms, spider robots and RC vehicles.
    For code and schematics visit the link: mytectutor.com/how-to-use-pca...
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    i have been looking for an explanation as good as yours. awesome video.

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

    Great explanation. Thanks for making this!

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

    Great video. This was *exactly* what I was looking for, and you explained it very well.
    Thanks for making this!

  • @joshuapurificacion5197
    @joshuapurificacion5197 22 วันที่ผ่านมา

    How can I control servo with this using Bluetooth?

  • @tillytony
    @tillytony 10 หลายเดือนก่อน +1

    Is it possible to control servos and motors on the same board at the same time?

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

    I followed your code and everything is running like you said, but can I slow down the motors a little bit, thanks alot

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

    One after the other is not the same as simultaneously. Did you try at least 2 together? Any lagging?

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

    Where can get that adafruit library? Will not work without it.

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

    Can it work with mg996r servo?

  • @ParkerBrown-el3oq
    @ParkerBrown-el3oq ปีที่แล้ว +1

    Something I noticed, you don't use the numberOfServos variable for some reason. If unused I would just remove it next time as it confuses the newer programmers on what is going on

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

    what power supply you used (v,A)

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

    Hi How to set up different angles to each servo and all should run at same time. code plz. Thanks.

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

    I am trying to make a robotic arm can you make a video on it?

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

    Perfect, great description.

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

    Very nice video.

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

    nice video!

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

    I have all the pins in the right place, I installed the servo library, and I'm using a 5v power supply but nothing is moving no matter what code I upload

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

      Hi bro. Have you done the project? My servo not moving. If you done plz help me

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

      @@susmitasarkar6955 I ended up using a blender plugin for moving servos. It’s for animatronics, check it out!

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

    Could you recommend a power supply for a beginner that will be good for variety of projects?

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

      im a bginner myself i just bought 20 servos for a human robot project i use a portable charger i bought from walmart as my power supple and it works very well !

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

    can someone help me my arduino and pca9685 doesn't even make my servo move :

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

    I follow your all points. But motor not moving

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

    Excellent explanation video. I have a question, What if I only need 5 Servo need to use this driver? which is better to use arduino PWM pins or servo driver PWM pins?

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

      Theoretically you could put 6 servos on an Arduino Uno. But if you plan latter to add more, better go from the start with the PCA9685.
      Also, making all the pwm working correctly together at the same time could be hard.
      I never tried it, but I guess there is only one way to find out.

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

      @@mylittleparody2277 Oh because PWM servo can't control servo together huh? and it can be done when we use this driver. Thanks for the explanation

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

      @@AbdulRahman-jz3px Well, my bad.
      I was thinking about doing it by hand, using the timers to control the PWM, and thus limiting the max number of servos to the timer output pins.
      As it turns out, the official library allows to control 12 servos on an Arduino Uno (it disables the AnonlogOut()).
      www.arduino.cc/reference/en/libraries/servo/
      So, the best solution for you would be to use the Arduino Lib.
      If you want to do it by hand, you need to set the timer to the first angle, and when the interrupt fires, set low the first servo's pin state, set high the pin for the second servo, reload the timer with the second servo, and wait for it to fire.
      doing so and switching servos in a round manner would allow you to control multiple servos with one timer.
      But it's probably easier to use the lib if you are not tied to bare metal.

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

    could you potentially connect a female usbc soldering cable to the powersupply and get the power using a usbc charging cable?

    • @patrickbueno3279
      @patrickbueno3279 3 หลายเดือนก่อน +1

      yes, but just make sure that your load is below what your power supply can handle

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

    I don't know why it's not working audrino is saying pwm library not exist

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

      u have to add servomotor driver in arduino id

    • @-prime-4729
      @-prime-4729 2 ปีที่แล้ว

      @@yahmedbacc8265 and how do you do that

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

      @@-prime-4729 click Ctrl+shift+i search for adafruit pwm servo driver library and and then install it

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

    Hello full code konjam send pannunga