EmbeddedRelated.com
Forums

Help RCM3100

Started by paulacalgarin October 13, 2004

Hi
Im new here. Im working right now in a program using a RabbitCore
3100, to move a step motor. Does any one have info that can help me
with my program?

Thanks!



Look at imaginetools.com site - they have some pretty examples on that.

> -----Original Message-----
> From: paulacalgarin [mailto:paulacalgarin@paul...]
> Sent: Wednesday, October 13, 2004 10:07 PM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Help RCM3100 >
>
> Hi
> Im new here. Im working right now in a program using a RabbitCore
> 3100, to move a step motor. Does any one have info that can help me
> with my program?
>
> Thanks! > ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM
> --------------------------
> ------~- > Yahoo! Groups Links





> Does any one have info about the rabbit core 3100 working with a
two
> phase motor??

You should start with something like a UC3709 (from Digikey) as a
buffer on 4 digital outputs. If more than 1A and 40V is needed then
you'll need bigger FETs after the UC3709.

The waveforms for stepping the motors can be found many places on
the web, I'll dig up a link if you need it.



Hi!
Thanks for answering.04.gif
The stepper motor, of 4.5V working with 1.1A. I know the rabbit have a PWM output of 3.3V. The UC3709, it would be use to give the secuense (i dont if i wrote that right 25.gif)?.-
Please do send me the links!
pau
 
 
--- basicnode
escribi > > > Does any one have info about the rabbit core 3100> working with a > two > > phase motor??> > You should start with something like a UC3709 (from> Digikey) as a > buffer on 4 digital outputs. If more than 1A and> 40V is needed then > you'll need bigger FETs after the UC3709.> > The waveforms for stepping the motors can be found> many places on > the web, I'll dig up a link if you need it.> > > >





Paula,

Stepper motors work with steps - every step moves motor' shaft by a fixed
angle. By controlling how fast you supply steps (they call it "pulse train")
you control how fast your motor rotates.

Stepper motors (usually) have power amplifiers, with step and direction
inputs - this is where one's usually connects his controller. So, you have
to find (or build) a suitable applifier for your motor. This is hardware
part of your ptoject.

Software part would require writing a program which can output this pulse
train to the amplifier, based on some parameters (eg required speed etc).
You also have to make calculations for acceleration and deceleration ramps
(your car does not starts moving at 60mph, neither it stops abruptly...:),
that is you have to raise and lower frequency of those pulses gradually.

Generating this pulse train has nothing to do with the PWM. PWM is
fixed-frequency pulse-width modulated stream. It hase much more to do with
precise timings, which in turns involves working with interrupts - not an
easy taslk for a beginner.

About two years ago, there was a project (open-source?) discussed for using
Rabbits as pulse-train generator, check Yahoo groups for geckodrive (or
something similar).

You are facing a lot of reading during the weekend, I'm afraid...

Regards,
George

-----Original Message-----
From: Paula C Algarin [mailto:paulacalgarin@paul...]
Sent: Friday, October 15, 2004 10:41 PM
To: rabbit-semi@rabb...
Subject: Re: [rabbit-semi] Re: Help RCM3100 Hi!
Thanks for answering.
The stepper motor, of 4.5V working with 1.1A. I know the rabbit have a PWM
output of 3.3V. The UC3709, it would be use to give the secuense (i dont if
i wrote that right )?.-
Please do send me the links!
pau --- basicnode
escribi > > > Does any one have info about the rabbit core 3100> working
with a > two > > phase motor??> > You should start with something like a
UC3709 (from> Digikey) as a > buffer on 4 digital outputs. If more than 1A
and> 40V is needed then > you'll need bigger FETs after the UC3709.> > The
waveforms for stepping the motors can be found> many places on > the web,
I'll dig up a link if you need it.> > >


Paula:
 
Im using a L293 from ST to drive a two-phase stepper motor.
 
It works very fine.
 
Ernesto.
 
-----Mensaje original-----
De: Paula C Algarin [mailto:p...@yahoo.com]
Enviado el: viernes, 15 de octubre de 2004 16:41
Para: r...@yahoogroups.com
Asunto: Re: [rabbit-semi] Re: Help RCM3100

Hi!
Thanks for answering.04.gif
The stepper motor, of 4.5V working with 1.1A. I know the rabbit have a PWM output of 3.3V. The UC3709, it would be use to give the secuense (i dont if i wrote that right 25.gif)?.-
Please do send me the links!
pau
 
 
--- basicnode
escribi > > > Does any one have info about the rabbit core 3100> working with a > two > > phase motor??> > You should start with something like a UC3709 (from> Digikey) as a > buffer on 4 digital outputs. If more than 1A and> 40V is needed then > you'll need bigger FETs after the UC3709.> > The waveforms for stepping the motors can be found> many places on > the web, I'll dig up a link if you need it.> > > >




I agree with the other posters that when driving a stepper motor you
will be driving it rail to rail (ie. GND and positive voltage). PWM
would be used for a DC motor to vary speed.

If you haven't found any other links for it, check page 33 in the
manual on our implementation using a RCM3700.

http://www.coridiumcorp.com/basic/manuals/BASICnode%20Manual.pdf

Depending on the stepper motor, you may also need some snubber
diodes, examples can be found in spec for the UC3709.