Hand Glove Light Theremin

Hand Glove Light Theremin © GPL3+

Homemade theremin for a glove using Arduino Nano, light sensor and piezo.

  • 1,937 views
  • 0 comments
  • 8 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

Not long ago I saw in gearbest an Arduino Nano. I already used arduino uno and I love open hardware and gadgets, so I bought one to have some fun. Yesterday it arrived in home and I decided to make hand theremin I can dance and play with. Instead of using the breadboard like in most of my projects, if I wanted to use it in the street comfortably, I would need to weld some parts. First of all, I used:

  • Piezo
  • Light sensor + 20 KOhm
  • Arduino nano

The Piezo needs to connect both to GND and to a digital pin, the light sensor to an analog pin, 5V and Ground. My light sensor is a bq module prepared for wiring, but in my schematics I provide the welding instructions for a normal sensor.

Code

light thereminC/C++
using light sensor and piezo in D5 and A0 for creating music with light. Piezo can only create one tone at a time.
//sensor value and its limits
int sensorValue;
int sensorLow = 1023;
int sensorHigh = 0;

//for connection checking, no need to put the led in the actual circuit
const int ledPin= 13;

void setup() {
  pinMode(ledPin, OUTPUT);
  digitalWrite(ledPin, HIGH);
  while (millis() < 5000) {
    sensorValue = analogRead(A0);
          if (sensorValue > sensorHigh) {
                    sensorHigh = sensorValue;
          }
          if (sensorValue < sensorLow) {
                    sensorLow = sensorValue;
          }
  }//end of while.
  digitalWrite(ledPin, LOW);
 }

void loop() { 
  sensorValue = analogRead(A0);

  int pitch = map(sensorValue, sensorLow, sensorHigh, 50, 4000);
  // I connected the piezo in digital 5
  tone(5,pitch,20);
  delay(10);

}

Custom parts and enclosures

light Theremin for glove
Untitled sketch pcb wckpj58gut

Schematics

light theremin
fit it in a glove
Untitled sketch esquematico ik7b03344z

Comments

Similar projects you might like

Nano Light theremin

Project tutorial by jbrandstater

  • 1,138 views
  • 0 comments
  • 1 respect

Real Theremin Using Open.Theremin Shield for Arduino

Project showcase by Urs Gaudenz

  • 12,486 views
  • 8 comments
  • 19 respects

Light Sensitive Theremin

Project tutorial by 3 developers

  • 1,819 views
  • 0 comments
  • 3 respects

How to Make a Remote Controlled Robotic Hand with Arduino

Project showcase by Gabry295

  • 37,299 views
  • 5 comments
  • 117 respects

Controlling LED light intensity using smartphone light senso

Project tutorial by Nikola Travis

  • 2,021 views
  • 0 comments
  • 3 respects

Arduino Audio Reactive Desk Light

Project tutorial by Haziq Azri

  • 12,606 views
  • 5 comments
  • 30 respects
Add projectSign up / Login