firmware/general/package/gpio-motors
Signor Pellegrino 413d34d65f
[no ci] Update README with new device info and corrections
Added information for T31, Jooan Q3R-U device and updated existing device names.
2025-08-27 17:49:43 +03:00
..
src [no ci] Package: add select pin support for gpio-motors (#1866) 2025-08-23 21:15:56 +03:00
Config.in Update gpio-motors (#1744) 2025-03-13 22:24:10 +03:00
Readme.md [no ci] Update README with new device info and corrections 2025-08-27 17:49:43 +03:00
gpio-motors.mk Consolidate motor packages - create gpio-motors (#1739) 2025-03-08 15:20:05 +03:00

Readme.md

Introduction

This package is created and intended for unification and use in all firmware and on various processors where the method of connecting motors via GPIO is used.

Configuring known devices

GK7205V200 (unknown model)

fw_setenv gpio_motors '52 53 56 57 69 70 59 58'

GM8136, Faleemi

fw_setenv gpio_motors '51 52 53 54 55 28 29 30'

HI3516CV200, FDT

fw_setenv gpio_motors '60 61 37 38 54 55 56 57'

SSC337DE, Foscam

fw_setenv gpio_motors '1 2 12 13 62 63 64 65'

We will add more information as soon as possible after testing.

T31, Jooan Q3R-U

fw_setenv gpio_motors 53 52 54 14 17

This type of device has only 4 GPIOs intended for controlling motors at one time and 1 additional GPIO for switching the Horizontal/Vertical mode. It is on this device that temporary incorrect operation of the camera's diagonal movement is possible.

Using the utility

gpio-motors <pan steps> <tilt steps> <delay (ms)>
gpio-motors 20 0 30
gpio-motors -20 0 30
#
gpio-motors 0 20 30
gpio-motors 0 -20 30
#
gpio-motors 20 10 30
gpio-motors -20 10 30

More info