Go Down

Topic: How to control a stepper motor via maxuino. (Read 1 time) previous topic - next topic

murrayshimada

According to this website: http://bildr.org/2011/06/easydriver/
I have tested a stepper motor which is done, and then eventually want to control it via maxuino.
I am no good at arduino sketch, do prefer to use max/msp, so would be great if i was able to control rotation degree & speed of it in maxuino.
However, I have no idea how to programme a firmata sketch in arduino.
Please someone share that sketch with me if you are kind.
I am kind of in emergency, need to overcome this problem as soon as possible.
Please!

Regards


PaulS

There are no Firmata sketches that include the Stepper library. I'm not sure you will be able to control the stepper from Max/MSP.

murrayshimada

Thanks PaulS!
That's so shame if so.
huuuuuuuu.

Cheers

3alexander3

#3
Jul 21, 2012, 01:47 pm Last Edit: Jul 21, 2012, 01:51 pm by 3alexander3 Reason: 1
Dear Murray!

That's very much not true.

You CAN control steppers with max msp through maxuino.

I had exactly your same problems a month ago and now I did some steps in forward, though i am also looking for some help.


Basically if you just connect your easy driver and upload the standard firmata to your arduino you'll be able to control the stepper from maxuino 009 (i've been doing it 5 minutes ago), just by sending PWM signals to the pin you connected to STEP on your easydriver (every "1" message would be a step on the motor) and normal HIGH-LOW signals to the pin connected to DIR.

But the motor doesn't work so smooth, when you get to higher speeds (because of "message" communication) and there seem to be a better way to control it with a stepper firmata, that you can download here: http://www.maxuino.org/downloads

but i'm not able to make it work and i'm struggling with it..


please let me know as soon as you can, if you succeeded somehow

thanks

Alexander

p.s. i mean, how can it not be possible, the web is full with material.
this guy for instance has the same family name of yours: http://www.maxuino.org/archives/121

Go Up