Author Topic: servo angle determining help  (Read 2208 times)

0 Members and 1 Guest are viewing this topic.

Offline aruna1Topic starter

  • Supreme Robot
  • *****
  • Posts: 381
  • Helpful? 4
  • I'm an Ordinary guy
servo angle determining help
« on: January 13, 2009, 07:01:02 AM »
I'm new to this and i have a problem about how servo works
my question is is it possible to get intermediate angles of servo?
example

for a servo:

when inputs 1ms PWM it goes to zero angle
when inputs 1.5ms PWM it goes to 90 angle
when inputs 2ms PWM it goes to 180 angle

my question is is it possible to get angles like 36 degrees of 130 degrees (other than above fixed angles)
if it is possible how to calculate relevent PWM?
thanks

I'm Me

Offline jka

  • Full Member
  • ***
  • Posts: 78
  • Helpful? 4
Re: servo angle determining help
« Reply #1 on: January 13, 2009, 10:19:29 AM »
Yes. If the pulse is 1.25, for example, the angle should be 45 etc. You have a span of 1ms from 0 to 180 (2ms - 1ms), so to calculate the required pulse width, do 1+((1/180)*V).
« Last Edit: January 13, 2009, 10:20:24 AM by jka »

Offline aruna1Topic starter

  • Supreme Robot
  • *****
  • Posts: 381
  • Helpful? 4
  • I'm an Ordinary guy
Re: servo angle determining help
« Reply #2 on: January 13, 2009, 10:22:53 AM »
Yes. If the pulse is 1.25, for example, the angle should be 45 etc. You have a span of 1ms from 0 to 180 (2ms - 1ms), so to calculate the required pulse width, do 1+((1/180)*V).
thank you very much :)
I'm Me

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
4345 Views
Last post March 24, 2008, 12:23:02 PM
by benji
1 Replies
2216 Views
Last post February 08, 2009, 07:11:17 PM
by galannthegreat
2 Replies
870 Views
Last post October 06, 2010, 08:14:51 PM
by Soeren
19 Replies
1038 Views
Last post August 05, 2012, 09:49:54 AM
by Webbot


Get Your Ad Here