Arduino theremin - Theremino!

The Theremin is an electronic musical instrument controlled without physical contact by the thereminist (performer). It was invented about 90 years ago.

Original instrument's controlling section usually consists of two metal antennas that sense the relative position of the thereminist's hands and control oscillators for frequency with one hand, and amplitude (volume) with the other. The electric signals from the theremin are amplified and sent to a loudspeaker.

Our Theremino will be little different. We will use HC-SR04 ultrasonic distance sensor to measure hand position and will translate distance readings into a sound frequency. In this version volume will not be controlled. Instead of volume control we will use push button. Theremino will play only when buttons is pressed down. Also, sound will turn off when hand it too far from the sensor.


  • Learn how HC-SR04 sensor works
  • Learn how to generate sounds with the Arduino
  • Have a fun!


Wiring Diagram

Arduino Theremin schematics

Source Code

Following scatch uses NewPing v1.5 and toneAC v1.2 libraries.