Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi everyone,

I am in posses of a microstepping driver SD-2H086MB, a driver board X220826 and a stepper motor 85BYGH450-012B.

I would like to control the stepper motor using a PC and a parallel port.

In this site I found a post which explains and gives some program to control a stepper motor using a parallel port. My question is, is this program ok for all the microcrontrollers or only for the case analysed in the post?

Because I am at the first experience to control a stepper motor, can someone suggest me a software or program to do it as simple as possible?

Thanks for the attention.
Regards

mattone76
Posted
Updated 4-Jun-11 8:27am
v2

Without seeing the software (or at least the place you got it from), how do you expect us to know?

The chances are that it will work to some extent: it will basically cycle through the parallel post, outputting an incrementing number using the eight data pins available. So as long as you are wired up correctly, it will probably work to some extent. I'd check the outputs match what you expect for your inputs to the driver board myself, though.
 
Share this answer
 
Comments
CPallini 4-Jun-11 10:34am    
[Moved OP 'fake' answer]: you're right, my mistake, I apology.

The link of the post is the following:
http://www.codeproject.com/KB/vbscript/Stepper_Motor_Control.aspx
OriginalGriff 4-Jun-11 10:45am    
:WTF: That is a first: the last thing I would expect anyone to do is use Excel to drive a stepper motor! :laugh:
mattone76 5-Jun-11 5:33am    
Hi OriginalGriff

I don't know a lot about stepper motor but it looks the guy used Excel to do it. Why are you surprised?
regards
mattone76
Your best bet is probably connecting the PC to a microcontroller (e.g. a Microchip PIC one) via RS232 (possibly using a USB adapter) and then interface the latter with the stepper motor driver.
Do a simple Google search, I'm sure you'll find a lot of examples about.
 
Share this answer
 
Comments
CPallini 4-Jun-11 10:35am    
[Moved OP fake answer]: the device X220826 is a microcontroller and it has also the RS232 connection for the PC. What I would like to know is what kind of software ( VB, C, Labview, etc) should I use to control the motor? And what I need to change in the PC configuration to send output data? I am still apology for my ignorance in matter.
CPallini 4-Jun-11 10:37am    
What kind of microntroller is the X220826? I cannot find anything about on the web.
If it provides RS232 connection, however, you may use the language you feel comfortable with to develop the application.
mattone76 5-Jun-11 5:31am    
Hi Cpallini,
thanks for the reply.

This is a link where people are talking about the device X220826

http://www.cnczone.com/forums/keling_products/123275-keling_db25_breakout_board_problem.html

mattone76
CPallini 5-Jun-11 8:36am    
From the link you provided: "The lesson I have learned from this is to do my research more diligently and not be impulsive about buying components for my project. If I had it to do over again, would I buy this board? NO I would not. Will I end up buying something else instead? Definitely. Any money I saved by cheaping out on this board was more than offset by the wasted time and frustration in trying to get a couple of simple answers to simple questions. Live and learn."
So you wouldn't probably find any documentation of the board (it is an interface board, not a microcontroller).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900