Servo Driver Module for Raspberry Pi Pico

This servo driver for Pico is ideal for controlling robotic arm or Hexapod walker

The world of robotics now meets the Raspberry Pi Pico. Supports common used servo like: SG90, MG90S, MG996R. With all the demo code available to get you started in your journey.

Pico Quick Start

Download Firmware

  • MicroPython Firmware Download
MicroPython Firmware Download.gif

Open Source Demo

MircoPython video example (github)
Raspberry Pi official C/C++ example program (github)
Raspberry Pi official micropython example program (github)
Raspberry Pi Pico Demo

Hardware connection

Connect the Driver board to Pico, please take care of the direction according to the USB silk screen printing.

Setup environment

Please refer to Raspberry Pi’s guide: https://www.raspberrypi.org/documentation/pico/getting-started/

Raspberry Pi

1. Open a terminal of Raspberry Pi
2. Download and unzip the demo codes to directory Pico C/C++ SDK

sudo apt-get install p7zip-full
cd ~
sudo wget  https://www.waveshare.com/w/upload/3/31/Pico_Servo_Driver_Code.7z
7z Pico_Servo_Driver_Code.7z -o./Pico_Servo_Driver_Code.7z
cd ~/Pico_Servo_Driver_Code

python

1. Flash the Micropython firmware and copy the pico_micropython_xxxxx.uf2 file into pico (detailed in the Windows tutorial below).

official firmware download
2. Open Thonny IDE on the Raspberry Pi (click the Raspberry Pi logo -> Programming -> Thonny Python IDE ), you can check the version information in Help->About Thonny.

  • To make sure your version has Pico support package, also you can click Tools -> Options… -> Interpreter to select MicroPython (Raspberry Pi Pico and ttyACM0 port.

As shown:

If your current version of Thonny does not have the pico support package, enter the following command to update the Thonny IDE.

sudo apt upgrade thonny

3. Click File->Open…->python/Pico_Servo_Driver_Code/python/servo.py to run the script.
As soon as the experimental phenomenon channel is connected to the servo, it will rotate from 0 degrees to 180 degrees, and cycle three times.

Simply click here add this great item to your cart now!

For any questions you can email us at [email protected]

Further reading

https://www.waveshare.com/wiki/Pico-Servo-Driver