Forum

Arduino Ultrasound and VVVV

hi
just got my arduino board and ultrasound device.
i uploaded the code to my arduino board:

–>
http://www.arduino.cc/en/Tutorial/UltrasoundSensor

and i have the following ultrasound detectors:

–>
http://www.robot-electronics.co.uk/htm/srf05tech.htm

so, how do i connect them to the arduino board? i am a newbie…

ARDUINO > SRF05

5v power to > 5v supply
Gnd > 0v ground
pin 7 > trigger input
pin 6 > echo output

and connected to arduino with the RS232 module.
settings are here set, so it should be working:

like baud rate 9600 , right com port and so on.

–> in VVVV there is this gaussian blur code where i can deform the blur with moving my mouse.i would like to replace the mouse by this ultrasoundcontroller. is this possible?

thanx for any help!!!

regards from london

ARDUINO > SRF05

5v power to > 5v supply
Gnd > 0v ground
pin 7 > trigger input

ok, after research I found the solution :-)

I guess the SRF05 thing is covered in the paper-based book “physical computing” by Tom Igoe.
Recommended in any case: http://tigoe.net

–> in VVVV there is this gaussian blur code where i can deform the blur with moving my mouse.i would like to replace the mouse by this ultrasoundcontroller. is this possible?

of course! you’ll get a value (presumably 0…1024?) out of your arduino, then use mapRange to scale it values.
hm. will the srf05 deliver only a trigger… or a scalar value??

good question, I do not know.
problem is that I cant connect the outpin of the rs232 node to the mapRange node …

AsValue will convert strings to numerical values

yes, THANX again!!! its working perfectly