Easy way!! Control Multiple Servo with Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2020
  • Raspberry Pi 4 - 4GB :: bit.ly/2YYXpum
    Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface - PCA9685
    bit.ly/2GEtIq7
    Adafruit PCA9685 Python library
    github.com/adafruit/Adafruit_...
    Adafruit 16 Channel Servo Driver with Raspberry Pi
    Servo motors are often driven using the PWM outputs available on most embedded MCUs. But while the Pi does have
    native HW support for PWM, there is only one PWM channel available to users at GPIO18. That kind of limits your
    options if you need to drive more than one servo or if you also want to dim an LED or do some sort of other PWM
    goodness as well. Thankfully ... the PI does have HW I2C available, which we can use to communicate with a PWM
    driver like the PCA9685, used on Adafruit's 16-channel 12-bit PWM/Servo Driver!
    Share, Support, Subscribe.!!!!!!!
    Subscribe: / @makertutor101
    Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : goo.gl/1m8Dg2
    → Don't forget to subscribe!
    🌟Love you all! 💕
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission at no extra cost to you!
    THIS VIDEO IS FOR EDUCATIONAL PURPOSES ONLY!
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    I cannot thank you enough, this video is the only reason I was able to actually make the board work! Keep up the good work!

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

    Thanks, I stumbled upon the same issues and this made it super easy to go on

  • @mrh8095
    @mrh8095 4 ปีที่แล้ว +12

    Recommended power supply is 5v 2A

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

    Thank you so much. I´m from Brazil and your video saved me... Congratulations

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

    Thank you, you helped me to solve the issue I was having :)

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

    Having an issue with the servo driver. Everything is good until I add the fifth servo. Once I do, the black diode next to the capacitor burns up. Any thoughts?

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

    Hello, thank you for this amazing tutorial. Quick question, does the servo driver need power when it is connected to Raspberry pi which already has power. i will only connect 3 motor to that.

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

    Hi.. I have 8 servo Sg90. What power supply for these all servo (volt and ampere)?

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

    Hello, Can you please explain me what are the second and the third parameters of pwm.set_pwm()

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

    which software are you using for simulation

  • @AxelAlthoff
    @AxelAlthoff 4 ปีที่แล้ว

    a previous video youve posted about potentiometers controllong leds in neopixel, the linked code does not work. if you please could fixs that it would be greatly appriciated.
    have good day:)

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

    16 channel means I can connect 16 servo motors to this motor driver. right?

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

    Does this work whith stepper motors too??? Heve a nice day!

  • @bernhardmair110
    @bernhardmair110 4 ปีที่แล้ว +4

    Hi, what power supply did you use for the motors? (Volt & Amp)

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

      I have a 5V 4A power supply connected to the PCA9685. The most important part to match is the 5V, as the current (amperes) are drawn as needed.

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

    Which power supply are you using?

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

    Nice Explanation,Madam.Needs More.

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

    I made it! thanks to you!!

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

    Can I also control 16 12V DC motors ??

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

    I am driving 18 servos for a hexapod robot project using two PCA9685 by chaining 2 of them. The problem I am facing is the jitter problem. I don't have the knowledge to solve it. Please help me

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

    Hello, I have a little problem with your tutorial and know that I have an error when I run the simpletest.py program. The error is No module named Adafruit_PCA9685. PS I did exactly what you did -_-

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

    Will this work on a raspberry pi zero?

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

    Can please someone give me the link for the Raspberry pi simulator that she uses in his video?

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

    Can u add an esc too?!

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

    А сколько максимум серво моторов можно подключить? И чтобы ими можно было управлять отдельно.

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

    I get this error
    runtimeerror : could not determine default i2c bus for platform
    I have enabled i2c interface, how I solve this error?

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

    What os is install on de rpi

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

    Hi can Multitasking operation? Need free rtos?

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

    Can i get multiple servo motor code for raspberry pi ?

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

    I still can't find a video that works with my board, I have the 16-Channel Servo Driver HAT for Raspberry Pi (12-bit I2C) and if anyone can help me I would greatly appreciate it (I use python code, not the terminal)

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

    how to control servo motor with keyboard righet und left, middle, with raspberry pi, do you know write cod

  • @user-sh8ey5nk6m
    @user-sh8ey5nk6m 7 หลายเดือนก่อน

    i have an error: module 'Adafruit_PCA9685' has no attribute 'PCA9685'. I don't know why. Can you have me fix this. Thank you so much

  • @ico-theredstonesurgeon4380
    @ico-theredstonesurgeon4380 3 ปีที่แล้ว

    Doesnt work with python 3..?

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

    It would be nice to see a tutorial how to control multiple mg995 over ethenet mqtt :)

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

    Thank you you help me to slove issue

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

    What do you use to power your motors?

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

    Good tutorial!!

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

    after executing the command "python simpletest.py" I got the error "ImportError: No module named Adafruit_PCA9685". Any ideas?

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

    i have err: module 'Adafruit_PCA9685' has no attribute 'PCA9685'. plese told me how to fix them :((. Thank you somuch

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

    How to connect raspberry with ssc from rtrobot?

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

    which programm do u use?

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

      Fritzing

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

    I have a Raspberry Pi Zero and Phyton3 and I could not install:
    sudo pip3 install adafruit-circuitpython-servokit
    Can anyone help me, please?

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

    What's the simulator u use this video?

    • @buntaku
      @buntaku 12 วันที่ผ่านมา

      Fritzing

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

    Thanks!

  • @resolvetube
    @resolvetube 4 ปีที่แล้ว

    Top parabéns

  • @vikohandoko6451
    @vikohandoko6451 4 ปีที่แล้ว

    Hi sir, make multiple stepper use raspi pliss

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

    Thank you. This video was very helpful! :)

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

    Anyone Please help me find what software to design my projects on ? Like they use in the video to draw the pin connections. Thanks

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

      Fritzing

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

      @@denon9000cd Thanks, just got it and its great. now i can do it on the computer instead of scraps of paper ;-)

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

    Nice

  • @eduardogomes6272
    @eduardogomes6272 4 ปีที่แล้ว

    Could you help with ax-12a servo with arduino??

  • @user-kj4tg3vr7s
    @user-kj4tg3vr7s 2 ปีที่แล้ว

    i feel bad for the 2nd servo being slapped by the 3rd one

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

    Can we make a dog form this

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

    Amazing video! God bless. Always remember Jesus Christ loves you!❤️🙏

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

    El sueño de conoserte

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

    While this is interesting, unfortunately running servos one at a time has no real applications, unless you only have one servo to control something very simple. Have you tried to run at least 2 of them simultaneously?

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

    Cutie

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

    I2c single bus addressing basically. You guys look it up. You'll thank me later

  • @Aperekahaziq
    @Aperekahaziq 4 ปีที่แล้ว

    Tats not control.. Control means using keybod, joystick etc.. This is more of a demo.

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

    What os is install on de rpi