View Single Post
  #2   Spotlight this post!  
Unread 03-11-2011, 22:02
kz2zx kz2zx is offline
Ruthlessly Insufficient
FTC #5246
Team Role: Coach
 
Join Date: Sep 2011
Rookie Year: 2011
Location: AZ
Posts: 14
kz2zx will become famous soon enough
Re: [FTC]: De-energizing a Hitech Servo

All servos on a controller may be disabled at once:

Quote:
Address Type Contents
48H byte PWM enable

The PWM enable field is used to control the PWM output. If it is set to zero (00H), it will enable the PWM outputs, causing the servos to be active, and start a ten second timeout running. If it is set to 255 (0FFH), it will disable the PWM outputs, causing the servos to be inactive. If no I2C communication is received during the ten second timeout period, the PWM enable field will automatically revert to 255 (0FFH), disabling the servos. If the PWM enable field is set to 170 (0AAH), it will enable the PWM outputs, causing the servos to be active, and disable the ten second timeout. The PWM enable field is set to 255 (0FFH) during power up and after the timeout has elapsed.
There are 6 outputs, so the bit pattern 10101010 (0xAA) doesn't seem to map to each output and a timer disable for each output.

Hope it helps!
Reply With Quote