Firmware [THEREMON]

Firmware

The firmware for Theremon was written in Visual Studio (Community 2017) with the Visual Micro plugin. However, It should compile just fine in the Arduino IDE. In case you’re wondering, I choose to work in Visual Studio for the Intellisense feature – basically like a real time spell-checker for code. In the Arduino IDE, you have to compile the firmware before you’re alerted to errors.

Firmware upload

There are two methods for programming the Teensy 3.2. For both methods you will need to install the Arduino IDE, as well as the Teensyduino software add-on. Please follow the installation instructions at the links. Note that you need to install the Arduino IDE before installing Teensyduino. Also check at the Teensyduino link above for the most recent version of the Arduino IDE that is supported.

  • Method 1: Upload a precompiled firmware file
    This method is the quickest and best if you just want to install the latest firmware version.
    1. Download the most recent firmware .hex Theremon_v1.1
    2. Unzip the .hex file
    3. Locate and open Teensy.exe – on my Win 10 PC it’s located in the Arduino installation folder at C:\Program Files(x86)\Arduino\hardware\tools\teensy.exe
    4. Connect Theremon to your computer via a USB cable and press the button on the Teensy to put it into program mode (you’ll need to unscrew the bottom enclosure plate for access).
    5. Open the downloaded and unzipped .hex file
    6. Upload the .hex file
    7. Reboot Theremon
    8. All done!
  • Method 2: Compile the Theremon project and upload from the Arduino IDE
    You only need to use this method if you’re interested in making your own changes to the Theremon firmware. It’s not too complicated, but it does require that you have downloaded and installed the required libraries.

Version history

Theremon v1.1 (October 4, 2019)
  • Download: Theremon_v1.1 [Hex] / Theremon_V1.1 [Source]
  • Adds the ability to invert the direction of the pitch and volume sensors so that bringing the hand closer to the instrument raises the pitch, or lowers the volume
Theremon v1.0 (July 1, 2019)