Thursday, November 01, 2007

Experimentation using sensors and arduino.

After much deliberation of what my RE project would be about i choose Reaction.
Being that the nature of my project is about visualisations being reactive, i decided to experiment with various sensors to produce different displays on screen.
Here are some results of sensory displays.

Experiment #1 - Simple ellipse changing size.

You can see how the ellipse changes size in relevance to the current running through the 5v port on the arduino. This is an early stage in the experimentation, so there isn't much control over the size change and appears quite erratic. There isn't a sensor in place to vary the size it is simply on when i place the wire into the 5v port or off when i remove it.



Experiment #2 - Ellipse changing using a Potentiometer

In this experiment i have much more control as i have used a potentiometer, which allows me to change the amount of current running through the potentiometer producing a different size ellipse every time i rotate the knob on the potentiometer.



This video displays the readings taken from the potentiometer.


Experiment #3 - Ellipse changing using a light sensor

Here rather than using a potentiometer to govern the size of the ellipse displayed i used a light sensor, so the more light the sensor receives the larger the ellipse appears on screen.




Experiment #4 - Using an on/off switch


This is a very similar experiment to the ones above, but rather than a sensor in place, there is a simple button.



Experiment #5 - Multiple sensors in use simultaneously

I have previous used sensors on there own, which is quite simple, but when using multiple sensors the coding is a lot more complicated. and gave me a lot more trouble.
In this experiment the sensor readings are simply displayed in a bar chart. The first two columns are for the two light sensors on the breadboard and the third columns is a potentiometer.

No comments: