Discussion in "8051 Discussion Forum" started by    zen bEaR    Oct 23, 2007.
Tue Oct 23 2007, 09:16 AM
hi guys.. this post isnt exactly about microcontrollers but is a bit relavent....
i'm trying to control a stepper motor for my project using the 8051.. my requirement is that the motor have a minimum speed of 10 revolutions per second with a stepping angle of 3 degree or less..
I went to sp road ( in bangalore) and got myself a 2nd hand stepper motor..its unipolar, with 5 wires...one is given to supply and the others grounded as required to step it.

while running the motor(i'm using the pc's parallel port for now) i cannot give a delay of more than 3 ms between steps. if i reduce it, the motor gets stuck and only oscillates a bit. with 3ms delay between each stepping sequence, i'm getting only 1.3 revs/sec.
How do i increase the speed of the stepper motor?

ps:thanks for being patient and reading through the entire post..it got lengthier than i intended it it be

Tue Oct 23 2007, 09:29 AM
i'm sorry, i meant- i cannot give a delay of LESS than 3 ms-
Tue Oct 23 2007, 09:44 AM
hmm... are you using a full step sequence of half step sequence? if you take a look at the tutorial of stepper motor its explained that in half step sequence the step angle reduces to half and so take more time.. so i want to know are you using full step or half step..
Tue Oct 23 2007, 11:50 AM
i think i'm using full stepping..
the sequence i give is :

and so on
btw, anyone here knows how to use cd rom motors? is it possible to use them? are they really stepper motors?
Tue Oct 23 2007, 03:12 PM
yeah u can use them.. just you need to find out the wires thats all rest everything is same as normal stepper motor
Tue Oct 23 2007, 10:51 PM
exactly... there are about 15 leads. i have no idea which is what..
i have come across people controlling a floppy drives motor using the ide connector at the back of the drive. one paticular pin conrols the speed and another the direction.. is it possible to do this with a cd rom drive??
please help!!!!
Wed Oct 24 2007, 07:51 AM
we need specifications of the motor.. then ofcouse we can do it..
I will try to search in google if i get any information about the motor.. you also try to search if you can find any helpful information about the motor leads and other specification.. even in general information is acceptable.. so just look for whatever infomation you can get..

Get Social


Powered by e107 Forum System


Fri Nov 15 2019, 08:19 AM
Allison Wink
Want to submit your business on 1000's of Advertising sites monthly? For a small monthly payment you can get virtually unlimited traffic to your site forever!For details check out: http://www.submitmyadnow.tech
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html



Wed Nov 13 2019, 06:25 AM
Mon Nov 11 2019, 01:31 PM
Sun Nov 10 2019, 04:42 AM
Sat Nov 09 2019, 03:41 PM
Fri Nov 08 2019, 10:06 AM
Fri Nov 08 2019, 07:28 AM
Tue Oct 15 2019, 04:32 PM
Tue Oct 15 2019, 02:27 AM


Guests: 41, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38103
Newest member: Casmir
Forum Activity
Jeanbusatta Avatar
Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
wimac Avatar
Posted By wimac
Mon Oct 21 2019, 09:18 AM
I’ve been following this thread and looking at the...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Oct 18 2019, 09:18 PM
Hopefully you understand some of the program.Which...