Sunday, September 23, 2007

Physical Computing Lab 3

For lab 3 we were to use the potentiometer to regulate the light coming from the LEDs. I did that last week so to continue, I took apart a toy cell phone and disconnected its speaker. Then I attached the speaker to the breadboard and then used the potentiometer to make the sound coming from the speaker to get louder and softer which worked, but also to change the frequency of the sound. On the Arduino page there is a code for a melody and I cut and pasted this to get the sound. I would like to be able to do this programming myself instead of cutting and pasting but I guess that will come later. Below are some images of this assignment. Sorry for the poor quality of the images, My camera does not do well in low light nor does it focus close.







This image represents my idea:



What I want to eventually be able to do is to go back to my toy phone--and use the key press as a button (or switch) to have LEDs light up to make a figure (or a word or series of words).

Right now step one will be for me to connect the inside of the phone back to the speaker and when the buttons are pushed the sound (now connected to the breadboard) plays. Once this works, I can try to use the phone as a trigger for LEDs. Mouna said to set up a grid of 9 switches and have them each light up different or sequences of LEDs on the bread board. Once I get this to work I can go back and "hack" the phone and use it as the switch. where each of its different button causes something else to happen. I would also like to be able to build a nice looking object abotu 4 x 4 inches that has this grid of LEDs but thic can come later. I will try to get to the first few steps of this idea soon and then move 1 step at a time. Its all so foreign to me. I know what I would like to see but do not really have a clue how to get there.

No comments: