FAB ACADEMY
2015

HOME

ASSIGMENTS

CONTACT

DOWNLOAD FILES

FINAL

PROJECT

Output Device

For this assignment I decided to complete the first idea I had in the previous assignment , in addition to start preparing my final project to verify the feasibility of the idea.

 

To control the serial communication and burn  the program, I used the Arduino platform , this way I could test the project , finally, I built a Fabduino with variants made by Jose De Los Rios , an Exstudent of the Fab Academy 2014 , you can see his work HERE .

 

 

15
17

Finally I made several tests of conductive materials vibration ranges to find information and compare the tonal ranges , I'm still experimenting with these variables. I consider that it is necessary to amplify the signal from the piezoelectric , because it can´t  captures the very low vibrations yet.

18

I add a 100k resistor between the piezoelectrc terminals to eliminte the generated charge.

The Arduino code

int datoRead, datoWrite=0;

 

 

void setup() {

 

    Serial.begin(9600);

    pinMode(7, OUTPUT);

}

 

void loop() {

 

datoRead = analogRead(A0);//declara el pin de entrada

datoWrite= map(datoRead, 0,100,100,1500); //mapeodel rango de la señal con el rango de tonos

Serial.println(datoRead);//monitoreo de datos de entrada

if (datoRead>10){//condición

tone(7,datoWrite);}//entonces emite tono

 

if (datoRead>10){//condición

delay(50

);//entonces el tono dura este tiempo

}

noTone(7);//si la señal es menor a 10 no hay tono

}

 

14