- This topic has 5 replies, 3 voices, and was last updated 10 years, 10 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › C codes for generating pulse width for servo motor.
Please provide me the C codes for generating pulses for servo motor with pulse width varying from 1-2ms.Please help me, Im doing the project of servo motor control using keypad, everything is done as per given in the site but the motor isn’t running….its really urgent,Help me!!
hello rahman,
kindly let me know which controller and oscillator you are using. If possible, share your schematics Will provide you needed support to complete your task.
thank you!!!
hello rahman,
kindly let me know which controller and oscillator you are using. If possible, share your schematics Will provide you needed support to complete your task.
thank you!!!
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!
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!
Please share the link of the project from the site here.