JESSIE ZHAI
Digital artist
A documentation page of rambling and experimenting.
@jessiehaseyes
jessiejiranzhai@gmail.com WEEK 03PCOMP WEEK3
Physical Computing
Lab 3Analog Output
With this week’s lab, I used speakers for tone output, as well as coding a bit more in Arduino. The most important thing I learned this week was to solder.
Tone Output
I first connected the speaker with a sensor, just a simple circuit that allowed the speaker to play a consistent ringing tone.
In the following play tones lab, I encountered some problems with the coding. The given code was not reading anything when I used serial.print to test it. I tried working on it with a resident, but neither of us were able to figure out why. After talking to some peers, they discovered that the map functions requires a constraint function to establish the range, in order for SensorReading to be working.
After that, I used a transistor to play some tones and melodies, as well as adjusting the audio.
Using three force sensing resistors to use different pressure as a three-key keyboard.
Servo Moto
Connetcing an analog input with a servomotor, through the FSR the speed of the servomotor can be controlled.
I only used the code that was given, but it would be great to use it on personal projects.