Skip to content

Repository files navigation

Motors

Various code to manage motor hardware

Anjoy motor control

anjoy-motor drives the zoom/focus/iris lens motors and the pan/tilt head of Anjoy AF camera modules over their motor-MCU UART (Pelco-D-style frames), and decodes the MCU's live position reports. Protocol recovered from a live MTF45-4G_AF.

Zenointel SD-2N-4G pan/tilt

zenointel-sd2n4g drives the pan/tilt stepper head of the Zenointel SD-2N-4G (Goke GK7205V510) directly over memory-mapped PL061 GPIO — no vendor kernel module and no vendor app, so it also runs under OpenIPC. The GPIO map, half-step phase table and per-axis config were reverse-engineered from the stock firmware (motor.ko/gpioStep.ko). The lens is fixed — no motorized zoom/focus on this model.

Pelco-D configuration TUI

pelcodtui is an ncurses interface for Pelco-D PTZ controller settings and manual movement. Camera profiles describe controller-specific commands without hard-coding them in the application.

Some theory behind

Basic autofocus algorithms

Learning approach for autofocus

Improving the accuracy and low-light performance of contrast-based autofocus using supervised machine learning


Various links


Similar projects on Github

About

Motor control tools for IP cameras — pan/tilt/zoom/focus/iris and autofocus across HiSilicon, Ingenic and Xiongmai SoCs

Topics

Resources

Code of conduct

Stars

35 stars

Watchers

3 watching

Forks

Sponsor this project

Contributors

Languages