Today is...
Thursday, December 18, 2014
Welcome to Control.com, the global online
community of automation professionals.
Advertisement
Featured Video...
Featured Video
A quick introduction to EtherCAT for motion control and I/O...
Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
Visual basic 6 source code for a stepper motor
Need some examples of source code in Visual Basic 6 for driving a stepper motor

I need some examples of source code in Visual Basic 6 for driving a stepper motor via the parallel port of a PC. Any help would be great.

archie

By Eric Simmons on 10 March, 2002 - 3:11 pm

Your P-Port does not have enough power to run a stepper motor, not even a small one, at least I've never got one to work....Even the stepper
motors in your floppy drive and printers need external power right? There are easy to make boards that will connect with your port and let
you run a stepper. You can get all the info you need on doing this many different ways by doing a search on google.com {vb code stepper
motor} and you can read for days...good luck.
Eric Simmons
kahuna@soon.com

By Peter James on 10 March, 2002 - 3:24 pm

Im doing something similar with an I/O card. in any case it depends on the circuit you are using to drive the stepper motor. If you go to
http://www.aaroncake.net/electronics/vblpt.htm
You will find some usefull info but no sample code but, still read the content of that webpage it shows you the basics. If you send me some
data on your circuit at pejames@nmsu.edu I can help you with the code:)

By Peter James on 10 March, 2002 - 3:25 pm

Im doing something similar with an I/O card. in any case it depends on the circuit you are using to drive the stepper motor. If you go to
"http://www.aaroncake.net/electronics/vblpt.htm":http://www.aaroncake.net/electronics/vblpt.htm
You will find some usefull info but no sample code but, still read the content of that webpage it shows you the basics. If you send me some
data on your circuit at pejames@nmsu.edu I can help you with the code:)

By Bluexcell on 29 March, 2002 - 1:19 pm

This site also lists methods of using the PC to control simple circuits, and has an excellent explanation of what does what...
http://et.nmsu.edu/~etti/fall96/computer/printer/printer.html

By Dave Hudson on 13 May, 2002 - 3:26 pm

If you are looking for an easy to use / off the shelf solution, go here:

"http://63.225.122.41/mercurygroup/index.htm":http://63.225.122.41/mercurygroup/index.htm

I ordered one a few months ago and it works great. Comes with a simple interface written in VB, but no source code.

If you email me, i can send you the VB source code i wrote to control the motor. (I am using this to add PC controlled focus to my telescope).

email: dave@davehudson.net

By Irfan Ahmed on 14 July, 2002 - 10:15 pm

Hello.
Here are some links that can provide help for your project, I have also same project.

"http://209.41.165.153/stepper/dh1.htm":http://209.41.165.153/stepper/dh1.htm

"http://kellyware.com/download/download.shtml":http://kellyware.com/download/download.shtml

"http://209.41.165.153/stepper/Tutorials/Tutorials.htm":http://209.41.165.153/stepper/Tutorials/Tutorials.htm

"http://kellyware.com/links/links.shtml":http://kellyware.com/links/links.shtml

Hello. I am doing some sort of project that you would like to do. Maybe we can exchange some ideas. The difference is I am going to control my stepper motor by using Visual C++ and VB as GUI.

arleen77@hotmail.com

By maharanas on 24 May, 2003 - 9:40 am

hello.I am doing some sort of project that u would kike to do.can you send me the source code you have written to control a stepper motor using vb?
maharanas@yahoo.com
sandhya_m4@rediffmail.com