Introduction: Maestro Servo Controller (Raspberry Pi)

About: the Raspberry Pi is Awesome!

Basic tutorial of how to setup a Maestro Servo Controller with the Raspberry Pi.

Step 1: Parts

PARTS:

RPI Zero W (Barebones Kit) – https://goo.gl/fSioxP

4 Amp Power Adapter – https://goo.gl/fSioxP

16GB Micro SD – https://goo.gl/fSioxP

120 pcs jumper cable: https://goo.gl/fSioxP

5.5×2.1mm Male+Female DC Power Socket: https://goo.gl/fSioxP

Micro USB to DC barrel converter: https://goo.gl/fSioxP

Mini USB to USB cable: https://goo.gl/WmXsfy

Maestro Servo Controllers: https://www.pololu.com/category/102/maestro-usb-s...

Step 2: Setup

5V -> 5V

GND -> GND

TX -> RX

RX -> TX


1. Disable console serial

sudo raspi-config select interfacing options -> Serial -> No -> Yes save & exit

2. Install pyserial

python -m pip install pyserial (may be a bit slow)

3. Clone Repo

git clone https://github.com/FRC4564/Maestro

4. Disable bluetooth uart

sudo nano /boot/config.txt

append to bottom: dtoverlay=pi3-disable-bt

save

5. Reboot RPI

sudo reboot

Step 3: Code

Maestro Python Library: https://github.com/FRC4564/Maestro

Step 4: Additional Info