Max MSP control Arduino

McNamara's icon

Hey,

I just started using Arduino, so I don't know much. I have managed to piece together my first sketch to control a DC motor's speed and direction. Now I want to control the motor from Max MSP.

I have no idea how to do this. I will post what I coded for Arduino but I feel it isn't close to what I should have done:

I was wondering if anyone could direct me to a tutorial with in depth description of how to control Arduino from Max MSP. All I can find online so far is how to get information from the Arduino. A lab or something to take me through the steps as I am not at level where just discussing concepts helps.

I would start slow with Arduino but I just started using it to realize a project I already had in my head.

There might be another thread about this so sorry but you can redirect me there if you know about it!

Thanks

brendan mccloskey's icon

Hi
The Arduino Cookbook will be a good investment for you. Search this forum for solutions too, try keywords like: stepper, Arduino control, maxuino etc.

This specific question has appeared here before so you're in the right place.

brendan mccloskey's icon

Not sure if you are describing a stepper motor (no experience here), but look around here:

brendan mccloskey's icon

and a quick trawl via DuckDuckGo returned these:

HTH

Brendan

...one day.....soon, I'll write something like SensorBox, but called MaxToArduino......no time now tho

Julien Bloit's icon

Hi
Did you checkout Maxuino?

Julien

McNamara's icon

Hey guys,

Both of your advice is great. I actually used the physical computing lab on DC motor control with an H-bridge to set up my circuit.

I was trying to avoid Maxuino so I could attempt to program the arduino myself just so I could understand it better. But I might just use Maxuino since it seems to be easy to understand and use.

McNamara's icon

I also found this on the arduino site, in case anyone wants to see more options Arduino suggests