A tiny digital theremin I created as a test of the Seeed XIAO thumb-sized microcontrollers and a laser range-finder, as well as battery use and my soldering.
Hardware required:
- Seeed Studios XIAO ESP32-S3 microcontroller (or equivalent)
- Adafruit VL53L1X laser ranging breakout board (or equivalent)
- Adafruit PS1240 piezo buzzer (or equivalent)
Soldered together, it should look something like this:
Since Seeed Studio have somehow managed to cram in battery management to their tiny board, I also attached a small rechargeable battery (3.7V 100mAh 601120) and an on/off dip switch to the bottom of the board for stand-alone operation:
A simple code to make it play is here; you will also need to download the header file that defines note frequencies.
If all goes well, it should end up sounding something like this.


