Skip to content

The Clarity / BAAElectronics edition of @baaron 's ATEM Tally Controller (https://github.com/baaron/atem-tally-controller) - Originally created by @aaronpk (https://github.com/aaronpk/atem-tally-controller). Modification includes support for a Multi-Colored 4 pin LED and additional documentation.

Notifications You must be signed in to change notification settings

clarityam/ATEM_Tally_Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ATEM Tally Control for M5StickC-Plus ( Clarity / BAAElectronics )

Building from Source (Recommended for Updated Libraries)

  • Download the required libraries into your Arduino libraries folder
  • Your folder structure should look like this
    • Tally
      • Tally.ino
      • libraries/
        • M5StickCPlus/
          • (Uncompressed files of M5StickCPlus.h here)
        • SkaarhojPgmspace/
          • (Uncompressed files of SkaarhojPgmspace.h here)
        • ATEMbase/
          • (Uncompressed files of ATEMbase.h here)
        • ATEMstd/
          • (Uncompressed files of ATEMstd.h here)
  • Follow the instructions below on how to prepare the Arduino IDE

Downloading Pre-Assembled Version (Not Recommended)

  • Download from Releases
    • Recommended to Build from Source for Updated Libraries
  • Follow the instructions below on how to prepare the Arduino IDE

Preparing the Arduino IDE

Adjusting the project settings (Tally.ino)

  • Required Adjustments:
    • (Line 26) IPAddress switcherIp(0, 0, 0, 0); // Change this to your ATEM's IP Address (Static Recommended)
    • (Line 29) const char* ssid = "network"; // Change this to your Network's SSID
    • (Line 30) const char* password = "password"; // Change this to your Network's Password (Blank if none)
  • Optional Adjustments (Recommended to leave as is):
    • (Line 33) #define AUTOUPDATE_ORIENTATION 1 // Disable this for no orientation changes
    • (Line 37) #define previewLED 25 // Pinout for Green (Camera in Preview)
    • (Line 38) #define bothLED 0 // Pinout for Blue (Camera in Preview & Program)
    • (Line 39) #define programLED 26 // Pinout for Red (Camera in Program)
  • At the top of the IDE, click the Arrow once finished (Upload) and allow some time for the project to compile and transfer
    • Optional but Recommended: Set "Erase All Flash Before Sketch Upload" to 'Enabled' (Tools -> Erase All Flash Before Sketch Upload)

Adding the Multi-Colored 4 PIN LED ( BAAElectronics )

  • Ensure the RGB LED being used is of the common cathode type (meaning all cathodes of each emitter are tied together in a common ground). Check your LED's datasheet for the proper pinout. A common pin order is RED, GROUND (longest leg), GREEN, BLUE.
    • Connect each anode pin to the M5's G0, G25, and G26 outputs as shown in the schematic below.
      • G0 = blue "camera in preview/program" color by default.
      • G25 = green "camera in preview only" by default.
      • G26 = red "camera in program only" by default.
    • Connect the common cathode pin to the M5's GND header. Screenshot 2023-09-15 at 12 28 54 PM
  • For a common anode configuration, connect each cathode to G0, G25, and G26. Connect the anode to the M5's 3.3v output. In Tally.ino, flip the booleans of each LED parameter passed to drawLabel() so that when a pin is held HIGH, the voltage across that emitter is zero; otherwise, a pin held LOW will apply a 3.3v differential to the emitter, causing current to flow and the emitter to light.
  • DISCLAIMER: The common anode configuration has not been tested and is not supported by the current release of this project. Try at your own discretion. Common cathode RGB LEDs are cheap.

Troubleshooting

  • A fatal error occurred: Failed to connect to ESP32: No serial data -
    • Attempt the following:
      • Long press the power button, when the Logs show 'Connecting.....'
      • Set the Baud Rate to 115200
      • Bridging the GND to G0 connector
      • If not solved, contact the store you purchased your unit from

About

The Clarity / BAAElectronics edition of @baaron 's ATEM Tally Controller (https://github.com/baaron/atem-tally-controller) - Originally created by @aaronpk (https://github.com/aaronpk/atem-tally-controller). Modification includes support for a Multi-Colored 4 pin LED and additional documentation.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages