building a simple theremin

Zach Cusimano
loriscode
Published in
2 min readMar 24, 2017

In creating a theremin I was able to combine my love for code, weird synth sounds and the arduino all for one awesome project.

A theremin is an early electronic musical instrument controlled without physical contact. It typically creates some eery space noises and the thereminist looks fairly foolish while “playing” it.

general vibes

However instead of the traditional setup of controlling two metal antennas for frequency and amplitude, we’ll be using a program to set the frequency and a photoresistor to detect the amount of light for the amplitude.

The Circuit Setup

The circuit utilizes a piezo to create the sound, a photoresistor and a 10-kilohm resistor.

The Program

First create variables in order to calibrate the sensor.

Set digital pin direction and turn it to high.

Compare sensor values for calibration.

Read and save sensor value.

Map sensor value to a frequency and play!

BEHOLD THE BEAUTIFUL SOUNDS OF THE THEREMIN (volume warning)

Enjoy making your own creepy noises!

--

--