|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Rotating Servo HS322 over 90 degrees
I dont really know what happens; the servo does not move!! do I have t odefine pwm11 just like the default code did for 13-16?
Can anyone shed some light? Im just using the stock default code and added in the code from post #1 |
|
#2
|
||||
|
||||
|
Re: Rotating Servo HS322 over 90 degrees
To get the Hitec HS322HD servos to rotate more than 90 degress takes a hardware modification of the servo. It's not a software issue. Check out Hitec's website.
|
|
#3
|
|||
|
|||
|
Re: Rotating Servo HS322 over 90 degrees
I just want them to rotate 90 degrees! It has to be my program right? Its just the default code with the lines from post #1 slapped on.
|
|
#4
|
|||||
|
|||||
|
Re: Rotating Servo HS322 over 90 degrees
Quote:
If the servo doesn't seem to be doing anything at all (i.e. when you try to turn it to a different position, it doesn't "fight back") then I would speculate that the problem is that either the servo is not properly wired to the correct PWM output, or a charged 7.2V backup battery isn't connected to the RC. The servo motors get their power from the backup battery (not the main 12V battery) so a 7.2V battery needs to be connected to the RC for the servos to function at all. Best Regards, --ken |
|
#5
|
|||||
|
|||||
|
Re: Rotating Servo HS322 over 90 degrees
Quote:
Code:
pwm11 = p3_wheel; Use a Dashboard Viewer program to see what value pwm11 is actually being set to on the robot. That'll help narrow it down between software and hardware issues. |
|
#6
|
||||
|
||||
|
Re: Rotating Servo HS322 over 90 degrees
What I did to test-move some servos was remap joystick buttons to the PWM in which the servo was plugged. Basically, I deleted the original mapping (as mentioned above) and instead added code for two buttons, and it worked like a charm.
Also, try using the values 254 and 0, instead of 255, k? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servo Values to Degrees... How? | mogunus | Programming | 16 | 11-04-2007 02:03 |
| How do you get servo numbers into Angle Degrees | Cow Bell Solo | Programming | 3 | 18-02-2007 12:16 |
| engineering degrees | sciguy125 | Career | 18 | 17-03-2006 23:44 |
| Turn 90 Degrees | Mike | Math and Science | 16 | 05-12-2004 22:22 |
| Rotating Light - not rotating :-/ | MrB | Technical Discussion | 17 | 08-02-2002 20:36 |