Ok, I recently put together a small project trying together my Arduino and Max by Cycling 74. While sending serial information from Max to Arduino is amazingly trivial, doing it the other way is not.
If you want to send information from Max to arduino, its sufficinat to just create a serial object and set the correct boud rate (for me I type in [serial c 9600] where c is port 3 and 9600 is the boud rate). Then you could connect i.e. a slider, and *magic* your sanding information. In arduino all you have to do is initilazie the serial and then use serial.read
Ok, the other way round proved to be a bit more tricky (though possibly, once I had figured it out, possibly easyer than serial communication with processing, and thats quite easy)
I made to template files. One for Arduino and one for Max. If you load the .pde file into arduino and open the Maxpatcher, you should be able to send date the other way round. There are instructions in the .pde file on how to set things up
click here to download
(this works on a p.c. running windows 7 it should work on any other operating system as well, but honestly I have no idea.)
I used this here
Hope someone out there finds this helpful.
Cheers
p.
Labels
Aarhus
acceleration of time
actuators
animated origami
animated paper
Apolit
Arduino
Arduino input-tool
arduino mega
arm-bot
art exhibit
Artificial Neural Nets
BerryBase
bio-muscle
books
cable management
change in society
change in technology
coca201
Code
computer interface
cyclin74
data
data analysis
design
Digital Urban Living
DIY
Dul
DUL Radio
electronic art
electronic music
embodied interface
etching
flex sensor
flexible circuits
flexible electronics
flexpoint
follow the leader
Friendly Plastic
gothic
hands on
hardware
imagesco
infra red
instructions
Interactive Art
interface
ir sensor
lamp
landbouwbelang
literature
lovecraft
low tech
low temperature thermoplast
max/msp/jitter
Minke Props
mocap
mountains of madness
msp
music
name
Nao
nitinol
nitinol memory wire
off topic
origami birds
PEERS
phidgets
Polymorph
Presentation
Processing
prototype
Radio
rgb led-strip
robotics
sci-fi
sensors
serial
sewing
ShadowCoat
Signal Processing
skiing
smart clothing
sound
sound generation
statistics
Streifeneder
stretch sensor
tangible interface
TEI2012
Theory
Thermoplast
time
translation
Turbocast
Video
visualization
webcam
Wireless
xBee
Abonnieren
Kommentare zum Post (Atom)
Just was pointed here
AntwortenLöschenhttp://www.arduino.cc/playground/Interfacing/MaxMSP#arduino2max
By MikeR77 of the arduino forums.
A much nicer and more comprehensive solution than what I offer here...