ESP8266 Bridge to transfer WiFi/MQTT messages to RS232/VISCA.
I use Cisco PrecisionHD (TTC8-02) cameras for development. Might work with other cameras.
Here are some examples how to use the MQTT interface:
Topic | example JSON | Outcome |
---|---|---|
visca/command/moveto | {x:400, y: 212, z: 0, f: 420, cam: 0 } |
Camera 0 moves to 400, 212, zooms all the way out, sets the focus to manual |
visca/command/settings | {backlight: true, flip: true, mirror: true, mmdetect: true } |
Camera 0 turns on backlight compensation, flips and mirrors the image and enables EMFDP |
visca/command/picture | {wb:7,iris:-1} |
Camera 1 sets whitebalance to 7 and enables auto exposure |
visca/command/blinkenlights | {led: 1, mode: 2, cam: 0 } |
Camera 0 turns on LED 1 in blinking mode. |
- D1 mini (any other ESP8266 will work. Haven't tested ESP32 boards yet)
- max3232 breakout board (The DB9 version will also work)
Somewhat important note: Do not use software serial for VISCA. Doesn't work. Makes you bang your head against the wall.
If you are looking for the rest of the documentation: this is the documentation so far. It ends here. Still a work in progress.