https://github.com/dantappan/visca2pelco
ESP32/MicroPython Sony-Visca to PELCO-D translator for controlling a Pan-Tilt bracket
https://github.com/dantappan/visca2pelco
micropython micropython-esp32 pelco-d visca-over-ip
Last synced: 3 months ago
JSON representation
ESP32/MicroPython Sony-Visca to PELCO-D translator for controlling a Pan-Tilt bracket
- Host: GitHub
- URL: https://github.com/dantappan/visca2pelco
- Owner: DanTappan
- License: mit
- Created: 2025-03-17T19:16:49.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-05-15T16:12:02.000Z (5 months ago)
- Last Synced: 2025-07-10T06:09:15.516Z (3 months ago)
- Topics: micropython, micropython-esp32, pelco-d, visca-over-ip
- Language: Python
- Homepage:
- Size: 1.16 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visca2Pelco
ESP32/MicroPython code for controlling a Pan-Tilt bracketThis code implements a translator for using the [SONY VISCA over IP protocol](https://www.sony.net/Products/CameraSystem/CA/BRC_X1000_BRC_H800/Technical_Document/C456100121.pdf) to control a [Pelco-D](https://www.commfront.com/pages/pelco-d-protocol-tutorial) Pan-Tilt bracket, such as one [this one from AliExpress](https://www.aliexpress.us/item/3256806846839809.html)
The code supports both WiFi and the WT32-ETH01 ESP32 Ethernet board
The code provides a minimal Visca implementation for the functions supported by the bracket
- Camera movement, Pan / Tilt, commands are implemented
- programable presets are implemented
- Zoom, Focus, Iris change and On/Off commands are not implemented
- There are stub implementations of VISCA INQUIRY commands, enough to provide compatibility with an [AVKANS IP Joystick controller](https://avkans.com/products/avkans-super-ptz-camera-joystick-controller-ndi-camera-controller-keyboard-with-4d-joystick-for-live-streaming-onvif-visca-over-ip-rs422-rs485-rs232-pelco-d-p-support). It has not been tested with other joystick controllersThe code assumes an external RS485 adaptor module, [such as this one](https://www.amazon.com/dp/B0BXDJHFSP), by default connected to IO17 on the ESP32. Baud rate is set through configuration.
.