Maestro Servo Controller (Raspberry Pi)
by piddlerintheroot in Circuits > Raspberry Pi
7658 Views, 29 Favorites, 0 Comments
Maestro Servo Controller (Raspberry Pi)

Basic tutorial of how to setup a Maestro Servo Controller with the Raspberry Pi.
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...
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
Code

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

Online Guide: https://www.piddlerintheroot.com/maestro-servo-con...
Maestro Control Center/Documentation: https://www.pololu.com/product/1354/resources