renarsvilnis / motioneye-servo-controls

Add servo support to MotionEye using PCA9685 i2c board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MotionEye Servo Controls

Add servo support to MotionEye using PCA9685 i2c board and with the help of adafruit-circuitpython-servokit

Requirements

  • Requires Python >=3.8

Pin-hookup

Servo port mapping:

  • Port 0: Tilt Sensor
  • Port 1: Pan Sensor

Setup

# Download the project (using git will make it easier to update in the future)
git clone https://github.com/renarsvilnis/motioneye-servo-controls.git
cd ./motioneye-servo-controls

# Install dependencies
python3 -m pip install -r requirements.txt

# Configure ./config.json file

# Do setup of shell scripts for motion
python3 ./setup.py

About

Add servo support to MotionEye using PCA9685 i2c board


Languages

Language:Python 100.0%