GPIO libs, misc notes
parent
af0712316c
commit
034399b314
49
README.md
49
README.md
|
@ -8,7 +8,24 @@ No proprietary applications, SDKs, or similar are used.
|
||||||
![Photo of Bescor MP101 motorized pan head.](img/bescor-mp101.jpg)
|
![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
|
# 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
|
The development setup is using a LattePanda 3. It is an Intel
|
||||||
based board with an Arduino Leonardo built on board.
|
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.
|
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
|
# Pins
|
||||||
Not all cables have the same color pin out. In fact, most have different
|
Not all cables have the same color pin out. In fact, most have different
|
||||||
pinouts, so each cable should be tested.
|
pinouts, so each cable should be tested.
|
||||||
|
@ -217,9 +259,10 @@ Pinout info:
|
||||||
|
|
||||||
|
|
||||||
# Status
|
# Status
|
||||||
Early alpha. It moves in four directions, but doesn't stop or
|
Minimally works with both an Arduino and a Raspberry Pi.
|
||||||
have regular controls yet. Just mapped out the pins to
|
Moves in four directions on both.
|
||||||
Arduino software.
|
Speed control under the Pi.
|
||||||
|
No interface or API or anything like that yet.
|
||||||
|
|
||||||
|
|
||||||
# Disclaimer
|
# Disclaimer
|
||||||
|
|
Loading…
Reference in New Issue