SENSOR TO ARDUINO TO MAX MSP

t.a's icon

Hello,

First of all I am new with arduinos and sensors.
I use a zilog epir sensor. I have used a code for arduino that I found online (here http://www.macherzin.net/article17-Arduino-Sensoren-Infrarot-ePIR). With this code the sensor works (the led on arduino that it is supposed to turn on and off when motion is detect. it does).

How can I get data now on max msp? I found some patches like maxuino and stuff however they require a different code for arduino (when I upload the arduino with these codes the sensor doesn't work).

Any advice is going to be really appreciated
thanks

Wetterberg's icon

you can use it with maxuino without any extra arduino code, from what I can tell - set it in hardware mode and connect pin 5 to a digital input, and follow the wiring instructions for hardware mode otherwise.

You won't be able to do the fancy serial control, but it'll be instant gratification :)

Oli Mason's icon

I have used Maxuino and Sensorbox and both work well but I found sensor box to be the easiest a least complecated.

Oli Mason's icon

btw, Sensorbox will only get data INTO Max  so might not suit you needs but still worth checking out.