Building everything up

I have almost finished! On this part I will explain how I built everything up. First of all, a list of all the material that I needed to setup my installation:

1. The Processing console;
2. An Arduino board;
3. A breadboard;
4. 3 BDX53F transistors;
5. A 12V/1.5A adapter;
6. 3 computer fans;
7. 8 threaded bars;
8. A couple of blue […]

Final Processing Code

The final Processing code. To process the sound I used the ESS library that reads the spectrum of a sound source. The website of this library can be found here: Link.
The following code is taken by the library website, and changed by me to make it work with my installation
Here I import the Ess library […]

Final Arduino Code

On this post I will write the final Arduino code. It is set up to receive byte from Processing divided into three range of numbers. Probably is not the cleanest of the solutions, but unfortunately I did not manage to send strings of byte or to set up a protocol to read the three bands […]

An amplifier for Arduino

For my project, the Arduino output is not enough so digging on the net and asking to a friend some help, I managed to build an amplifier to feed my 3 computer fans.
This circuit can be used as an amplifier to switch on and off a DC motor and to regulate its spinning speed with […]

Problem 2 - Solved

The second problem is that the piezoelectric pad produce such a short signal that is quite impossible to read it and transform the signal into something visible. So I decided to use a microphone as the input device to read longer signal and to have a more representative way of the inner features of sound. […]

Problem 1 - Solved

As said on the previuos post, the flying toys won’t fly or at least they will not fly using the output that the Arduino board would feed them So I switched over to using fans instead. So I went to the electronics stuff show and asked about the biggest computer fan that they would have. […]

New ideas or a way to modify the old project

Unfortunately I didn’t manage to find any solution about the radio controller of the flying toy working only as a switch, so I have to, and forgive me for my play on words, switch idea.
Instead of having the toys fly when they receive the message from the radio controller, I will stop them, control them […]

Problem solved (How to control a PWM Arduino output with a Processing Slider)

Thanks to Carlo, a very good friend of mine, I finally made it work. Using the slider that I coded (you can find it here)
I managed to control one of the PWM Arduino output, using a slider coded with Processing. With this code, for example, you could control the intensity of an LED or for […]

I am struggling on how to get an analog output from a serial message

I have spent all the afternoon trying but no luck at all…
Here is the code that I have written:
int test;
void setup()
{
Serial.begin(9600);
}
void loop(){
while (serialAvailable()){
test = serialRead(); //read Serial
serialWrite(test);
analogWrite(9,test);
}
}
For some reason the analogWrite function does not want to read the test variable value which is the one that I send through serial […]

My Processing slider

To do a preliminary check on how to collect data from the Internet and control the Arduino board, I will first build a Processing slider that will simulate the differencies on the values read from the Internet. Once everything will work, instead of the Slider I will use real data.
So here I will explain how […]