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 / Replies / if you want to control the

if you want to control the

|

Microcontroller › 8051 › stepper motor using 8051 › if you want to control the

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);

RSS Recent Posts

  • What is involved to convert a small town to fiber optic? December 13, 2025
  • Measuring controller current output with a meter December 13, 2025
  • Oshonsoft MSSP simulation question December 13, 2025
  • Droplet1 December 12, 2025
  • Help to Identify capacitor fault December 12, 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