EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / stepper motor interfacing

stepper motor interfacing

|

Microcontroller › 8051 › stepper motor interfacing

  • This topic has 1 reply, 2 voices, and was last updated 14 years, 1 month ago by nikhiljain.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 2, 2011 at 9:15 am #1372
    Radha.P
    Participant

    Hai,

         I connected stepper motor to P1.0  to P1.3 and switch to P1.4 of 89s52  .First check the SW when this switch value is low it should rotate in  anticlock wise direction (ROTATE MOTOR IN ANTI CLOCKWISE DIRECTION TILL SW O/P IS 1(APPROXIMATELY 20 STEPS)),and if  IF SW==1   ROTATE MOTOR  IN CLOCK WISE TILL SW==0 OR 1100 steps. If SW==0 rotate motor 20 steps clock wise and, and again rotate motor in anticlock wise till SW==1.Plz send the code, i have written code but it is not reading switch value.

           Tank u

    November 3, 2011 at 5:49 am #6792
    nikhiljain
    Participant

    Hey you need to understand the concepts behind the working of the stepper motor. Read the article on stepper motor given in the site and the code is also given.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Quick question on capacitors value in UF December 9, 2025
  • EEPROM not being written or read on dsPIC30F2010 December 9, 2025
  • Want Thermal Camera with Fixed Thermal Span option December 9, 2025
  • Printer loop December 9, 2025
  • mechanism to shutdown feeding when sensor temperature rises December 9, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise