Usefull book:
Processing for artists and visual designers: MIT.Press.Processing.A.Programming.Handbook.for.Visual.Designers.and.Artists.Sep.2007.pdf
Getting started with the code:
- Getting data from the ultrasonic range finder sensor (done in test no.1)
- Controling the video
- Getting data from the sensor and controling the video
- Working with High Definition video (g-streamer)
Usefull links
- http://sheepdogguides.com/arduino/aht1a.htm
- http://processing.org/reference/libraries/video/index.html
- http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/ultrasound.html for the ultrasonic sensor
- Test no.1 with the PING))) Ultrasonic Range finder (Parallax) we have at c:art:media:
We used the code of the arduino and ultrasonic range finder example found here: http://www.arduino.cc/en/Tutorial/UltrasoundSensor
The arduino was getting values and the example worked perfectly BUT as we read in the documentation (PING-v1.5_documentation.pdf) of the PING))) Ultrasonic Range finder (Parallax) the range is between 2cm and 3m AND it has a narrow acceptance angle.
It is better to order the Ultrasonic Range Finder - Maxbotix LV-EZ1 which has a range from 0 to 6.45m and little or no dead zone, as described in the specifications or one of the Devantech Sonic Range Finders.
Test no.2 with the PING))) Ultrasonic Range finder (Parallax) we have at c:art:media:
We tried to use the code of this example (http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/ultrasound.html) with no result. The code for processing might be out of date and is too complicated to work with at the moment so we skipped this example.
Test no.3 with the video loop example:
We got it to wo rk but with a very bad quality of image. Tried to fix it by changing the frame rate with no result when using video from the mac built in camera. Maybe we would have results by using good quality video from normal camera and by using g-streamer (installed someway by using mac ports).