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
 

mostafa_elwakeel

Member level 1
Joined
May 30, 2004
Messages
33
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
egypt
Activity points
228
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
 

banh

Advanced Member level 1
Joined
Dec 16, 2004
Messages
458
Helped
17
Reputation
34
Reaction score
5
Trophy points
1,298
Activity points
3,937
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.
 

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
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
 

fireball003

Full Member level 3
Joined
Oct 28, 2005
Messages
181
Helped
8
Reputation
16
Reaction score
3
Trophy points
1,298
Activity points
3,157
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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top