Theremin Agudo

by LeoMartinsTSk8 in Circuits > Arduino

928 Views, 8 Favorites, 0 Comments

Theremin Agudo

20160206_233416286_iOS.jpg

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

Materials

20160206_234017723_iOS.jpg
20160206_233854911_iOS.jpg
20160206_233848034_iOS.jpg

1 - Arduino Uno .

2-Protoboard

3-Jumpers

4- LDR Sensor

5-10k Resistor

Links Arduino on the Breadboard

Sem título.png

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);

}

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);

}

Pictures for Project

20160206_233411008_iOS.jpg
20160206_233416286_iOS.jpg

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