HELLO,
I'M VERY NEW TO MAX AND I AM HAVING A HARD TIME FIGURING OUT HOW TO SET-UP 4 TO 6 SENSORS ON THE DUEMILANOVE THEN TALK TO MAX.
I CAN PROGRAM IN THE BOARD IN THE ARDIUNO ENVIRONMENT BUT HAVE NO IDEA HOW TO SET-UP MAX.
REASON I AM USING MAX IS TO TRIGGER (PLAY) DIFFERENT SOUND FILES FROM DIFFERENT FOLDERS; ONE SENSOR TO ONE FOLD OF AUDIO FILES; LIVE COMPOSING/SOUND/SCAPE.
I GOT A PATCHER FROM THIS SITE (BY ROBB LOVELL & GREG CORNESS- CALLED ARDUINO-READBOARD). BUT I JUST DON'T KNOW WHERE TO START.
I'M NOT LOOKING FOR A HAD-OUT, BUT I KEEP READING THAT THIS IS REALLY EASY, I'VE WORKED WITH PROCESSING AND ARDUINO SOFTWARE AND IT SEEMS A BIT MORE STRAIGHT FORWARD THAN MAX; I'M I CRAZY?
I am looking to use sensor "A" to trigger an audio file from folder "A", and have 6 to 10 sensors to audio folders total. This is for an art installation working off of the presence through motion, pressure, and light.
The signal only has to be enough for MAX to play an audio file from the folder mapped to the sensor.
Type of sensor I'm in the middle of working on (not sure which), motion seemed the best, but read another thread where the person said they had tried PIR motion sensor (to do the same as I am wanting) and was having issues (not enough for MAX to read &/or false signal w/out motion).
Also, tried the MAX forum and just got a patcher sample nothing on arduino stuff, the board is great, but the main issue is the communication between it and MAX; that's is my struggle.
Sorry,
The way I am hoping to have the sensors talk to MAX via human interaction by pressure, motion, IR, and piezo. So, I need to send data to MAX from a sensor, but not sure which sensor will be the best for an installation (motion, IR, etc.) for human interaction or presence.
Mainly, walking through, but also touching some props in the space. I have made piezo buzzers into mics and read in one of these threads that it was enough signal to send to MAX depending upon the action (pressure, vibration, etc.)
The big thing I am having trouble with is I can program in the Arduino environment, and set-up patches in MAX, but talking to one another is confusing me.
Sending sensor data from the Arduino to MAX involves many steps.
Select the correct sensor
Connect it to the Arduino
Read the sensor data on the Arduino
Send the sensor data from the Arduino to the serial port
In MAX, read the data from the serial port.
It appears that you are having trouble with more than one of these steps. If you can clarify which steps you are having trouble with, and what the trouble is with each step, that would be great.
Paul,
Again thanks for entertaining my issues (I mean it!). Yes I do have more than one step that I'm trying to work through.
The first is figuring out which sensors will read in MAX with a simple action, I thought a simple motion sensor would do most of what I'm trying, but have read it's signal is too low or erratic for MAX properly trigger a sound file.
I have downloaded and loaded Maxduino on the board in the Arduino environment and have a patcher for MAX that shows all the boards pins and sliders for adjustment but this is where I am (sad to say) looking for a video or screen shots as to how it is do. I've read a lot but it's not clicking :-[
I thought a simple motion sensor would do most of what I'm trying, but have read it's signal is too low or erratic for MAX properly trigger a sound file.
A motion sensor outputs either HIGH (there was motion) or LOW (no motion). I don't know that can be considered too low or erratic for MAX to read.