Code Monkey home page Code Monkey logo

m5stickc-tally's Introduction

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.

m5stickc-tally's People

Contributors

simonhaenisch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

m5stickc-tally's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.