Skip to content

Turn an M5StickC into a Tally for Blackmagic Switchers.

License

Notifications You must be signed in to change notification settings

equippers/m5stickc-tally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5StickC Tally for Blackmagic Switchers

Turn an M5StickC into a Tally for Blackmagic Switchers. You can change the input and label with the buttons.

Setup

  1. Install the Arduino IDE (brew install arduino).
  2. If you're using VS Code, install the Arduino extension.
  3. If you're using the Arduino IDE, open the preferences and set the sketchbook location to this folder, then add https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json to the list of additional board manager URLs.
  4. Using the Arduino Library Manager, install the "M5StickC" library.
  5. If you're using the Arduino IDE, choose the "M5Stick-C" board (max supported upload speed is 1500000).
  6. Clone or download kasperskaarhoj/SKAARHOJ-Open-Engineering.
  7. Apply the ATEMbase patch by running the following in the cloned/downloaded folder:
git apply path/to/ATEMbase.patch
  1. Either symlink or copy the folders ATEMbase, ATEMstd and SkaarhojPgmspace from ArduinoLibs into this project's libraries folder.

Build

  1. Open m5stickc-tally/config.hpp and adjust the SWITCHER_IP and Wifi SSID and PASS.
  2. Connect the M5StickC via USB.
  3. Select the serial port.
  4. Upload (Action "Arduino: Upload" in VS Code).

Use

  • Press power button (left) to turn on and hold for 4 secs to turn off.
  • Button A (the big one) changes the input.
  • Button B (right) changes the label.

The battery level shows the current voltage, which is around 4.15 V when fully charged (the device turns off if it drops to 3 V). A + indicates that the battery is charging and a - that it's discharging.

Disclaimer: The input and label are stored in NVS (non-volatile storage) so that they are persisted when the M5StickC is turned off and on. NVS has a limited number of write cycles before degrading.

Links

License

MIT.