4.47059

4.5 | 34 ratings Rate this file 149 downloads (last 30 days) File Size: 1.69 KB File ID: #7114

Interfacing Stepper Motor using LPT1

by Sourav Ray

 

11 Mar 2005 (Updated 04 Apr 2009)

No BSD License  

This is a simple yet powerful Program to drive Stepper Motor using Parallel Port.

Download Now | Watch this File

File Information
Description

This program is a good example use of DAQ toolbox instructions for hardware interfacing. The adapter chosen here is parallel port. Program contains a simple GUI to monitor the progress. LPT gives an O/p varying from 2.08 to2.35 volt. It is sufficient for ULN2003. Use a buffer before it. Hope you will find it helpfully .

Acknowledgements
This submission has inspired the following:
Fast stepper motor control GUI
MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files pSc/steppermotor.m,
pSc/UsersManual.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (40)
15 Mar 2005 Aslam K.

Nice work, but needed to be refined

26 Apr 2005 siddharth jangir

Excellent work, expecting new one 4m you

03 May 2005 prashant jamwal

Nice work pal! but the connection details of IC's are missing. Can u pl give the detail on speed control also?

23 May 2005 FRANKLIS DIAZ

EXCELLENT WORK

15 Jul 2005 Hadi Hosseinzadegan

Thak you, the file helped my project so much

19 Jul 2005 Luis Molina  
01 Aug 2005 mehmet erdivan  
20 Sep 2005 lestat pin

can you have it using vb6?

24 Sep 2005 Shashanka Gupta

It reali helped me in my project.

12 Nov 2005 Priya Sharma

Intelligent Programming!!!!!!!!!!

02 Jan 2006 sagar sabnis

good prog

02 Feb 2006 vijay labade

thanks a lot

11 Mar 2006 el-sayed soliman ahmed said  
18 Mar 2006 0pp pppp  
04 Apr 2006 john chen

cc

09 May 2006 Kenna Marcelo

thank you very much, i really need this

10 May 2006 ashok kumar

i need a matlab program which can read dxf file and control printer or motor
my project is : control of two axis using matlab

22 May 2006 M.S Ghamkhari

I need to control two dc motor using matlab for my project.
my project is video target tracking using a webcam.

28 May 2006 mohamed attia

hi give me the program

01 Jul 2006 nacer fathi  
11 Jul 2006 ahmed abdelwahab  
21 Jul 2006 mesheal tanious

there is something is absent which is the wirring digram itself and the interface between the port and the motor many thanks

30 Aug 2006 nestor baquero

ok

02 Sep 2006 manjunath kanni

thanks

18 Oct 2006 Adrian Pazon  
25 Oct 2006 Rene Saldana

Excelente para poder entender el uso de salidas digitales

01 Nov 2006 Louise Li

I need info

10 Nov 2006 Than Soe

This site is very informatics on average technical topics.

11 Jan 2007 Ran ama

Thanks lot,,,Its really helpfull

13 Jan 2007 avash raichaudhuri  
30 Jan 2007 Navid Hokmabadi  
16 Mar 2007 lunar light

gud effort

21 Mar 2007 Vijayanathan Munisamy

good !

01 Apr 2007 Tahir Ahmed Talpur

Nice and simple.

09 Apr 2007 juanita smith  
26 May 2007 h chitgar

basic of interfacing parallel port with matlab

11 Jul 2007 jackki lucky

Interfacing Stepper Motor using LPT1
 
 
is the one important testing program for a student who has never interfaced.

08 Aug 2007 ankur jha  
27 May 2008 Lu Ku  
12 Jun 2008 sisila abeywickrama

thank you

Please login to add a comment or rating.
Updates
04 Apr 2009

Ample Hout <ah2594@columbia.edu> reported a bug on line 83, the code is actually misleading one, because it does not guarantee a functional pause of 0.001 sec...
Pause of 0.01 sec is supported in most of the platforms

Tag Activity for this File
Tag Applied By Date/Time
example Sourav Ray 22 Oct 2008 07:43:04
application Sourav Ray 22 Oct 2008 07:43:04
prarallel Sourav Ray 22 Oct 2008 07:43:04
port Sourav Ray 22 Oct 2008 07:43:04
stepper Sourav Ray 22 Oct 2008 07:43:04
motor Sourav Ray 22 Oct 2008 07:43:04
driver Sourav Ray 22 Oct 2008 07:43:04
data acquisition Sourav Ray 22 Oct 2008 07:43:04
hardware Sourav Ray 22 Oct 2008 07:43:04
prarallel Arjun Gupta 22 Jan 2009 10:52:28
parallel Sourav Ray 06 Apr 2009 09:58:03
driver Hemant 27 Apr 2009 04:42:56
data acquisition Hemant 27 Apr 2009 04:43:19
stepper motor Syed Noman 08 Nov 2009 14:16:11
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com