intro.to physical computing(Project 2)
#Audio Guide in Museun
COLORS & SOUNDS
The color board and audio guide remind me of the conversions of form: Colors are converted into numbers, pictures /objects are converted into sounds. How about the conversion between sounds and colors? Music has 7 basic notes and pictures have 7 basic colors. Maybe there are some connections between them. Based on this, I came up with the following two ideas.
#Color picker & Sound
My idea about project2 is to use serial output to make a color picker. Getting the color information of the pixel on p5.js, then through Arduino, lighting up the RGB LED lights in the same color. At first, I connected the p5 to the Arduino, but the color displayed by the LED light was completely different from the color I selected on the canvas. I knew that it was a fluke that the light was able to turn on at the time, and I later discovered that the color data was not transmitted correctly at all.
Then I modified the sketch on p5 so that the color data can be printed out. The P5.serialcontrol application also showed that the data were transmitted, but the Arduino still did not receive it. The colors displayed by the LED lights are still random.
Later I found out that my previous Arduino code received the red, blue, and green value of the LED lights separately, so Arduino may not be able to receive data in the correct order which transmitted from p5. It may cause lights display random colors or even not work. With the help of Echo, I used Serial.parseInt to allow red, blue and green value to be received in order. The LED lights could light up again.
However, the colors displayed by the LED light were still inaccurate, especially when the color is yellow and green. Moreover, the colors of LED lights are completely different when viewed from different angles. After asking Tom, I learned that the cause of this situation is more complicated than I thought. Tom mentioned colorimetry and told me that this problem can only be solved by improvin
But I used some tricks to add diffusion to the LED lights while fabricating, at least it could solve the problem of “different colors from different angles”. The thing I used were milk cups! (I bought a large cup of coffee in the middle of the night) Then I organized the circuit and made the shell with PVC board. (making shells while considering the circuit and devices is so much difficult. This must be the difference between making things in art school and making things in ITP)
Finally finished the fabrication! (In order to make the shell more stable, I used nails, which would make the shell difficult to open, so I also made a small door for the circuit)
Lights effects and p5 canvas
Some wrong effects
Things to improve:
1. By doing project2, I found that I still have some problems with serial output /input, especially about the code. I must figure all of them out and solve them as soon as possible.
2. The LED light is a very interesting thing. I’m sorry that I did not completely solve the problem about it this time. Hope that I can keep working on it.
3.The original idea of this project will use a physical speakers, but in the early stage it met the same problem like LED lights. Because didn’t have enough time, I had to use computer speakers. Hope to realize this idea later.