1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Sensors

Posted by joão Menezes on Nov 26, 2009

Hi there,

I'm working in a project which approach movement sensors and accelerometers via arduino to Max.

My question : is possible to nodebox to receive these data (0sc packets) and apply it to real time processing, with SVG library for instance, in a 'stable' way ?

Best regards,
João Menezes


 
Posted by lievn on Dec 01, 2009

hi,
it is. you should create a listerer in nodebox and bind it to a read function. have a look at the fftEquiliser example included in the osc zip. (example on communication between puredata and nodebox)
another possibility is to connect your arduino directly to nodebox over pyduino. Since you can send messages over serial (from your arduino board) you could also just use a serial library.
http://code.google.com/p/pyduino/
http://pyserial.sourceforge.net/
good luck



Posted by João Menezes on Dec 09, 2009

Thanks Lievn ;)