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 using 8051

stepper motor using 8051

|

Microcontroller › 8051 › stepper motor using 8051

  • This topic has 2 replies, 3 voices, and was last updated 13 years, 10 months ago by D.V.G. Krishna.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 6, 2012 at 2:02 pm #1520
    tubai chakraborty
    Participant

     i want to rotate the motor with intensity of light using 8051.plz help me out.

    also i was going through the project control of stepper motor using  8051 but i could not understand how to programe the 8051 micro controller using c language.please help me out about this program also.

    April 12, 2012 at 9:31 am #7419
    AJISH ALFRED
    Participant

    Connect any kind of ambient light sensor to the ADC of the microcontroller. Drive the motor using PWM method. All you have to do is to vary the low time of  the pulse with the ADC value.

    April 13, 2012 at 9:46 am #7433
    D.V.G. Krishna
    Participant

    if you want to control the speed of motor then follow the logic

     

    use a LDR(light dependent resistor)

    commet one end to Vcc and other end to a 10K resistor. other end of resistor to ground.

    take out put from LDR and resistor interface

    give it to an ADC

     

    to drive the stepper motor use ULN2003 IC

     

    read adc

     

    motor port =0x01;

    delay(adc value);

    motor potr=0x02;

    delay(adc value);

    motor port=0x04;

    delay(adc value);

    motor port=0x08;

    delay(adc value);

  • 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

  • Do i need a buffer? February 7, 2026
  • FM Radio circuits February 7, 2026
  • wall transformer polarity February 7, 2026
  • To buy or DIY? February 7, 2026
  • engineering analysis of shmidth trigger without simulation February 6, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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