Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.6 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.6 KB

Tally Lights for Camera Control

The tally lights are status lights for the cameras that tell the camera operators when their camera is live. In this configuration, red meanns the camera is live blue means the camera is being previewed. This is intended to work with our 24 neopixel strip (with 8 pixels per camera). If the strip is yellow, it means there is a connection issue.

Installation

  1. git clone [email protected]:gafirst/TallyLights.git
  2. sudo apt-get install python3-pyaudio
  3. sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
  4. sudo pip3 install --force-reinstall adafruit-blinka
  5. sudo pip3 install board

Yes, we are deliberately calling pip as root. This is because root access is required to access the RPi peripherals, so the script will run as root, and it needs to access these modules.

Operation

The neopixel strip must be plugged into the control Pi and an external 5V converter. The strip needs to connect to the Pi's GND pin (pin #6) and GPIO18 (pin #12). The diagram below shows what this looks like:

Pi pinout and wiring

Running the script is simple; however, you must use sudo permissions in order to allow the Pi to control the GPIO.

sudo python3 tally-lights.py

How it Works

The script connects to vMix via a TCP socket. vMix sends a message any time the output/preview gets updated. The script parses this for the camera statuses and displays it on the appropriate strip.