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 / Hello,        Thanks for your

Hello,        Thanks for your

|

Microcontroller › 8051 › C codes for generating pulse width for servo motor. › Hello,        Thanks for your

May 14, 2012 at 5:39 am #7774
Nabeela Rahman
Participant

Hello,

 

       Thanks for your reply….my project is controlling of the servo position to user defined value entered through a matrix keypad. I’ve used 89c51 with 12 MHz oscillator circuit, I’ve interfaced a 3×4 matrix keypad and have used LCD in 4 bit mode. I’m using Futuba S3003 servo motor which has a specification of 1520usec(neutral position)….I just need the codes for the timer part to generate the required ON-OFF pulses according to the angle entered from 0 to 180 degree.

 

        I also need to know if suppose we need to generate 25usec delay using overflow of timer 1 in mode 2,do we need to load TH1= -25 for 12 MHz crystal?

 

        I’ll be very thankful if you can kindly help me, I need it urgently by this week….plz help!

RSS Recent Posts

  • Behringer MX 1602 mixer - reading block diagram May 23, 2025
  • STM32 checking self-written delay function May 23, 2025
  • Reclaiming missing motherboard header May 23, 2025
  • 12v battery, 18v magic May 23, 2025
  • Actin group needed for effective PCB software tutorials May 23, 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