Go to Post hmmm... big open space between arena and pits... thousands of poof balls...thousands of high school kids hopped up on sugar and robotics.... sounds a little dangerous. - Courtneyb1023 [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-05-2005, 17:50
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
servo range of motion

Hi;

I am using a HiTEC HS-322HD servo connected to the PWM Out port of the Edu controller.

I wonder if it is possible to make the servo turn more than it turns now.

Right now I am using code like ...
pwm08 = 0;
or
pwm08 = 255;
(those being the extremes) and the servo turns a total of about 180 degrees.

I see some sample code in the default code like this ...

Example: The following would generate a 40KHz PWM with a 50% duty cycle on the CCP2 pin (PWM OUT 1):
CCP2CON = 0x3C;
PR2 = 0xF9;
CCPR2L = 0x7F;
T2CON = 0;
T2CONbits.TMR2ON = 1;
Setup_PWM_Output_Type(USER_CCP,IFI_PWM,IFI_PWM,IFI _PWM);

but search as I might, I do not see anything telling what this is all about.

Is this type of code used to have better control over servos?

Apparently Setup_PWM_Output_Type() is defined in ifi_library.c which I do not see that file in the distribution.

Any pointers appreciated.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with motion detector chantilly_team Programming 13 31-01-2006 22:10
Servo Compact Design Problems!!! Dominator_Legen Electrical 22 07-04-2005 18:15
Servo Help Dominator_Legen Motors 3 11-03-2005 19:50
Camera Range Finding russell Programming 9 31-01-2005 19:54
Anyone received their EDUs already? Manoel Robotics Education and Curriculum 34 21-11-2003 10:28


All times are GMT -5. The time now is 20:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi