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 / c program

c program

|

Microcontroller › 8051 › c program

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 9 months ago by Priyanka Jain.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 7, 2014 at 5:48 am #3210
    Priyanka Jain
    Participant

    I need to write an embedded c program to rotate a stepper motor in 15 degree step angle ie., completes one 360 degree rotation in 24 steps using 8051 in keil software.

    August 7, 2014 at 7:08 am #11987
    Ashutosh Bhatt
    Participant

    first tell me what is step angle of your motor?

    is it 1.8 deg, 7.2 deg, 15 deg, 18 deg or any other?

     

    for example if motor is 15 deg then it will rotate 15 deg for each applied pulse. also you have to apply atleast 4 pulse to all four coils. so motor will rotate 60 degree.

     

    as per your requirement you want to rotate motor 15 deg. so you need a motor with 15/4 = 3.75 deg. 

    another option is choose motor with 7.5 degree. it will rotate minimum 30 degree when 4 pulses are applied.

    but if you run it in half step mode then it will rotate for 15 deg.

    August 9, 2014 at 4:52 am #11998
    Priyanka Jain
    Participant

    I need to run the motor in 12.75 degrees actually…plz reply as soon as possible…

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

RSS Recent Posts

  • going out on a limb and praying the schematic is correct May 24, 2025
  • Can't get a small CRT display to focus May 24, 2025
  • Capacitive Touch On The Profile May 24, 2025
  • Easy PC Demo version Schem and Layout program questions May 24, 2025
  • nicd charger for li-ion May 24, 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