Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Stepper Motor wit mCU

Status
Not open for further replies.

eng.Electronic

Junior Member level 3
Joined
Jan 31, 2006
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Egypt
Activity points
1,525
mcu controlled stepper motor

Hello All ,
How can i calculate the delay for a stepper motor controlled with AT89c52 ?
Thanks In Advance
 

hi ;
i cant understand you what is the delay you mean?
by the way you can use ics l297 and l298 to drive stepper motor
thx
 
eng.Electronic said:
Hello All ,
How can i calculate the delay for a stepper motor controlled with AT89c52 ?
Thanks In Advance

do you mean the output waveform : squarewave and what should it frequency be?

In this case you should inspect the spec of the stepper.

there is a relationship between speed and torque: higher speed -> lower torque and vice versa.

So once you know the torque you need, you can apply the appropriate frequency.
 

Hello
Thanks at first for replay...i am connceted mCU with a Stepper motor via a Driver..
to move the motor in angel 20 degree..but i cant define the delay time between each sequence of the bits in the code..So..how can i calculate this delay_time ?
( By The Way ..it first times it work correctlt then moving in a random angels)
Thanks
 

If you can generate signal then, what's the big deal? if you use the simplest algorithm-
loop{
PIN1set
delay(time)
PIN1clr
PIN2set
delay(time)
PIN2clr
PIN1set
delay(time)
....
....}

This will create signal sequence.

I guess you are in trouble with generating sequence and wire configuration. what is your stepper motor type?how many wires are there? which driver are you using?

the following sites may be helpful to you-
https://www.cs.uiowa.edu/~jones/step/
https://www.epanorama.net/links/motorcontrol.html
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top