How to connect a servo to a Raspberry Pi and Arduino!

Sdílet
Vložit
  • čas přidán 3. 12. 2018
  • Learn how to connect a servo to a Raspberry Pi AND Arduino! In this episode we show you how to do just that. As well as provide all the code you need on GitHub.
    In this video we cover:
    ► Connecting a servo directly to an Arduino
    ► Connecting a servo to an Arduino with external power source
    ► Arduino Code
    ► Connecting a servo to a Raspberry Pi with external power source
    ► Python code with standard GPIO Library (RPi.GPIO)
    ► Python code with wiringpi library.
    In this video we go over everything described above. We cover the physical connection of a servo to both boards, as well as go through the code. We also learn how to calibrate our Raspberry Pi code for our specific servos!
    As promised, all the code in this video is provided on GitHub:
    github.com/makersdigest/T01-S...
    Parts that were used in this video:
    SG90 Servo: amzn.to/2SoFqci
    Arduino: amzn.to/2QgREHv
    Rapsberry Pi Kit: amzn.to/2Piy7kn
    Jumper Wires: amzn.to/2PkWxcX
    Breadboard: amzn.to/2QikbMQ
    Now go get creative! Share what you have made with me. I can be found at
    ● Facebook: / makersdigest
    ● Instagram: / makersdigest
    ● Twitter: / makersdigest
    ● Patreon: / makersdige
    If you liked this video, please consider subscribing. You can enable notifications for new videos when they are posted!
    See ya next time!
    #arduino #raspberrypi #makers
  • Jak na to + styl

Komentáře • 4

  • @deathschmelda
    @deathschmelda Před 3 lety +1

    so helpful!

  • @adrianrevolotaipe3855
    @adrianrevolotaipe3855 Před 3 lety

    very helpful, thanks

  • @kylebatson5971
    @kylebatson5971 Před 9 měsíci

    Hey so I have a hi wonder jet max robot arm that uses servos. When I connect one of the servos it crashes the raspberry pi. Any ideas why this may be happening?

  • @Videogame9559
    @Videogame9559 Před rokem

    Hi could you do video arduino and raspberry pi zero w and flysky controller to help stop biter