1 / 19

Stepper Motor - Parallel Port Interface

Stepper Motor - Parallel Port Interface . By: Jose Rene Flores and Jaime Zavala ECE 345 Project #49. We’ve always been told that all engineering fields are interrelated, but rarely do we get to see this in action.

vail
Download Presentation

Stepper Motor - Parallel Port Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stepper Motor - Parallel Port Interface By: Jose Rene Flores and Jaime Zavala ECE 345 Project #49

  2. We’ve always been told that all engineering fields are interrelated, but rarely do we get to see this in action. Our project aims to incorporate mechanical, electrical, and computer engineering. Introduction

  3. Objective • To design a mechanical device and the logic circuits to control the rotation of a mirror. • Use a stepper motor through a laptop computer’s parallel port interface

  4. Overview Drive circuitry Computer Stepper Motor

  5. Stepper Motor • Astrosyn mini angle stepper motor • 5V per phase • 1A per phase • 1.8 degrees per step • unipolar type • 200 total poles • available at ECE shop

  6. Unipolar operation

  7. Drive Circuitry • Resistors cannot draw more than a few milliamps of current • Needed a device that could withstand fast current switching

  8. Drive Circuitry • ULN2003 NPN Darlington transistor arrays • 500mA peak current output • deliver the required current to stepper motor • provide protection against problems associated with inductive loads • well suited for driving lamps, relays, printer hammers, and many industrial applications

  9. Computer Interface • Motor coils require a sequence of alternating current pulses • Manual operation is too slow • Computer ‘s parallel port is ideally suited for signal transmission • 25 pin male, 36 pin female printer cable

  10. Interfacing the PC • Must know the port’s addresses • needed to write out data with a C program • PC’s have 3 basic types of internal ports • Data - 8 data signals possible (D0-D7) • Status - 5 input signals • Control - 4 signals

  11. Get with the program! • Used C coding for motor control • controls pulse sequence to motor • provides position of motor at all times • gives user the choice of direction to turn • user has choice of degree increments • range from 45 to 180 degrees in 45 degree increments

  12. Testing • Voltage and Current Outputs • Max torque possible from shaft • frequency of operation

  13. Original Design/Concept • Wanted to use a control circuit from ECE 249 • processor and controller • All hardware, no software • Reluctant to attempt a program for control!

  14. Taking the first steps • Generating the required sequences with the 249 circuit using a single input was not possible • Became increasingly clear that a computer program was necessary

  15. Other ideas • ‘Moon shade’ project spinoff • possible use of 5.25 inch disk drive circuitry • Disk drive facilitates using fewer data ports • decide against it, C program easier to implement

  16. Challenges • Apprehensive about programming • How do you work this thing! • darlington array operation

  17. Recommendations

  18. Conclusion • Learned that research is a big part of the design process • Initial designs/concepts probably wont work • Engineering is a continuous learning process

  19. QUESTIONS

More Related