1
0
Fork 0

GPIO libs, misc notes

main
Jeff Moe 2023-03-26 09:44:27 -06:00
parent af0712316c
commit 034399b314
1 changed files with 46 additions and 3 deletions

View File

@ -8,7 +8,24 @@ No proprietary applications, SDKs, or similar are used.
![Photo of Bescor MP101 motorized pan head.](img/bescor-mp101.jpg)
# Introduction
The Bescor MP101 is a very low cost motorized pan/tilt head.
It ships with a wired remote.
The software in this repo, with a custom built cable, enables
software control of the MP101 with a Raspberry Pi or Arduino.
# WARNING
Doing any of the below can fry your device.
# Development Setup
Two different boards have been tested so far.
One for Arduino-like setup.
One on a Raspberry Pi.
## Arduino
The development setup is using a LattePanda 3. It is an Intel
based board with an Arduino Leonardo built on board.
@ -16,6 +33,31 @@ This should be similar to using other Arduino devices plugged
into USB ports.
GPIOs on the Arduino can be controlled thusly:
* Natively.
* Various libraries.
## Raspberry Pi
Testing on a Raspberry Pi is using a Pi 4 running
Raspbian (Debian stable/bullseye 11).
GPIOs on the Pi can be controlled thusly:
* Natively.
* pigpiod.
https://abyz.me.uk/rpi/pigpio/
* RPiGPIO.
https://pypi.org/project/RPi.GPIO/
* Various libraries.
# Pins
Not all cables have the same color pin out. In fact, most have different
pinouts, so each cable should be tested.
@ -217,9 +259,10 @@ Pinout info:
# Status
Early alpha. It moves in four directions, but doesn't stop or
have regular controls yet. Just mapped out the pins to
Arduino software.
Minimally works with both an Arduino and a Raspberry Pi.
Moves in four directions on both.
Speed control under the Pi.
No interface or API or anything like that yet.
# Disclaimer