Introduction: Theremin Agudo

Many people do not know this instrument, it is one of the first musical instruments
full electronics that do not need physical contact to make the musician sounding notes . Of course , using the components and processing speed we have on our plate , we will not have very defined notes

Step 1: Materials

1 - Arduino Uno .

2-Protoboard

3-Jumpers

4- LDR Sensor

5-10k Resistor

Step 2: Links Arduino on the Breadboard

Step 3: CODE !

int ValueSensor= 0;
int note = 0;

const int Buzzer = 5;

void setup(){

}

void loop(){

ValueSensor= analogRead(A0);

note = map(ValorSensor, 1023, 0, 1000, 6000);

tone(Buzzer, note, 20);

delay(10);

}

Step 4: Tune the Code According to the Light Received by the LDR .

Cover the brightness LDR and uncover with the hand slowly to hear how different
Frequencies to bell. This code And Pretty basic , but agora, WITH ITS Knowledge, fast You can calibrate the sensor and let the instrument more in tune.

You can use this code to see what the value received by LDR in the monitor serial ..And adapt the code , for have best results...

const int LDR = 0;

int ReadValue = 0;

void setup() {

Serial.begin(9600);

}

void loop() {

ReadValue= analogRead(LDR);

Serial.print("Value read for LDR = "); Serial.println(ReadValue);

delay(500);

}

Step 5: Pictures for Project

Thank you leave a comment on what liked the project and new ideas .. Thanks

Comments

author
gert3d (author)2016-02-09

It looks like information on the tone() and map() functions are missing

author
LeoMartinsTSk8 (author)gert3d2016-03-28

Sorry ! :\

author
ThomasK19 (author)2016-02-07

Actually a theremin reacts on electromagnetic fields, not on light. You have two inputs: one for the frequency and one for the volume.

author
LeoMartinsTSk8 (author)ThomasK192016-03-28

Thank you, For the tip: D

About This Instructable

408views

7favorites

License:

More by LeoMartinsTSk8:RC Bluetcar Organic Garden in Your GardenTheremin Agudo
Add instructable to: