Lilypad

ben wiesner's icon

Hi, I am new to the lilypad/arduino boards. I am trying to get my lilypad to talk to max. Has anyone got any patches that have done this, or can anyone point me to where I may find some. I have gone through CNMAT downloads and maxuino too, having trouble making sense of them. Also still a newbie to max.

Luke Woodbury's icon

Haven't played with lilypad, but thinking its the same process as Arduino?

Just to check the obvious, did you upload the code to your Arduino without any problems?

brendan mccloskey's icon

Hi Ben
the problem in addressing this type of question is the number of variables in your set up. Different responses to the following questions will produce different/unique issues:
1. Are you using the lilypad for input, for output or both?
2. What types of sensors/actuators are you using? DIY or off-the-shelf?
3. Which IDE (programming tool) are you using?
4. What is your OS?

Are you looking for tutorials on building a circuit or programming the lilypad (I'm not familiar with lilypad but I am conversant in Arduino/Max) or both?

Look at this recent thread for tips (re Arduino):
https://cycling74.com/forums/max-msp-and-arduino

Brendan

ben wiesner's icon

Hi Brendan,

Thank you for your reply.

1. Very basically, I am using the Lilypad to collect sensor data to be used in Max/msp and jitter.

2. The sensor's I am using at the moment are off the shelf(lilypad brand) x,y,z accelerometers.

3. The IDE i am using I think is the arduino programming software.

4. I am using an i5, macbook pro, 4gig ram, OS 10.6.4

I looked at the post you suggested and have started to go through the tutorials.

I seem to be able to upload patches to the arduino, but all I get is noisy information when using maxuino and CNMAT patches and externals.

Thanks

ben

brendan mccloskey's icon

Noisy input is often the result of 'voltage bleed' (?), from unused ungrounded analog inputs. Ground these unused inputs and see if the serial data is still noisy