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

Status
Not open for further replies.

pratti

Member level 3
Joined
Jun 15, 2013
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
471
can anyone help me with the code in8051 microcontroller to rotate stepper motor in clockwise and anticlockwise direction.on what factor does the delay tine and angle is determined?
for eg,
po=0xaa;//this aa or whatever the value is but how can we decide this?
delay(75);/how to determine the delay time
plz help me
 

delay time that u write is basically the multiple of 1275 microseconds cuz of crystal oscillator. so use accordingly.. whateva de value u write fr delay under brackets if u want delay in seconds.
e.g., delay(100) wud b equal to around 1 second delay

and aa value that u write is hexadecimal..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top