Go to Post FIRST is nothing short of a community. - karinka13 [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-11-2011, 11:02
gotrobot?'s Avatar
gotrobot? gotrobot? is offline
Head Coach
FTC #5037 (got robot?)
Team Role: Coach
 
Join Date: Sep 2011
Rookie Year: 2008
Location: Elgin, IL
Posts: 30
gotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to all
[FTC]: De-energizing a Hitech Servo

Does anyone know how to de-energize a Hitech servo so it will "go limp" and NOT hold their position while the robot is powered. We're using a couple servos that we would like to "float" (coining a motor command from NXT-G) to give them a little extra protection from accidental contact while they're not in use.

We're programming with RobotC 3.X

Thanks!
__________________
2014-15 Cascade Effect: World Championship Inspire Finalist

www.facebook.com/gotrobot
Reply With Quote
  #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
  #3   Spotlight this post!  
Unread 06-11-2011, 18:45
FTC-4077's Avatar
FTC-4077 FTC-4077 is offline
Registered User
AKA: TomTom Fogwell
FTC #4077 (M.A.S.H)
Team Role: Driver
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Philadelphia
Posts: 32
FTC-4077 is an unknown quantity at this point
Re: [FTC]: De-energizing a Hitech Servo

On the opposite note, does anyone know how to have a servo STAY energized after a match is over? We have our servos on a crate and if they turn off, the crate will drop.

Is it possible? Thanks!
__________________

We are a veteran team based out of Chester Springs, Pennsylvania.
2011-2012: PA State FTC Champions, State Connect Award, World Championship Finalists


LIKE OUR FACEBOOK PAGE! Team MASH 4077!
Reply With Quote
  #4   Spotlight this post!  
Unread 06-11-2011, 19:50
team F.T.C 4240's Avatar
team F.T.C 4240 team F.T.C 4240 is offline
Two cookies, one robot, all awesome
AKA: Derrick Maust
FTC #4240 (Techno Clovers)
Team Role: Driver
 
Join Date: Sep 2010
Rookie Year: 2008
Location: Maryland
Posts: 94
team F.T.C 4240 has a spectacular aura aboutteam F.T.C 4240 has a spectacular aura about
Re: [FTC]: De-energizing a Hitech Servo

Quote:
Originally Posted by FTC-4077 View Post
On the opposite note, does anyone know how to have a servo STAY energized after a match is over? We have our servos on a crate and if they turn off, the crate will drop.

Is it possible? Thanks!
I'm almost positive unless you turn the 12Volt off it will stay energized and hold position.
__________________
"Like" us on Facebook to get info and updates on the team: http://www.facebook.com/FTCTechnoClovers
2008-09: MD Finalist Alliance Captain, MD Inspire Award Winner, Worlds Division Finalist.
2009-10: MD Winning Alliance Captain, MD Think Award Winner, OH Winning Alliance Captain.
2010-11: MD Finalist Alliance Captain, MD Innovate Award Winner, DE Winning Alliance Captain, Worlds Edison Division Finalist Alliance Captain.
2011-2012: MD Annapolis Qualifier Winning Alliance, PTC Design Winner.
DE State Inspire Award Winner.
MD State Winning Alliance Captain, PTC Design Winner.
World Championship Franklin Winning Alliance, Thanks Landroids and Cougar Robotics!
Reply With Quote
  #5   Spotlight this post!  
Unread 06-11-2011, 20:02
FTC-4077's Avatar
FTC-4077 FTC-4077 is offline
Registered User
AKA: TomTom Fogwell
FTC #4077 (M.A.S.H)
Team Role: Driver
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Philadelphia
Posts: 32
FTC-4077 is an unknown quantity at this point
Re: [FTC]: De-energizing a Hitech Servo

I think that's only if the program continues to run. In a match, if the FTA's "stop program" won't the servos return to their orginal state?
__________________

We are a veteran team based out of Chester Springs, Pennsylvania.
2011-2012: PA State FTC Champions, State Connect Award, World Championship Finalists


LIKE OUR FACEBOOK PAGE! Team MASH 4077!
Reply With Quote
  #6   Spotlight this post!  
Unread 12-11-2011, 10:19
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: De-energizing a Hitech Servo

Quote:
Originally Posted by team F.T.C 4240 View Post
I'm almost positive unless you turn the 12Volt off it will stay energized and hold position.
The default template code turns OFF all the motors and powers down the servos when a "Disable" state is issued from the FCS.

If the Teleop program is halted before receiving a "Disable" the Servos will hold their position until the internal watchdog kicks in (2.5 seconds I think), but if the "Disable" is sent first (which it should be for safety reasons) then the servos will go limp immediately at the end of the match.

You may need to install some sort of mechanical latch to hold the crate in it's upper most position.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor

Last edited by PhilBot : 13-11-2011 at 00:40.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-11-2011, 14:16
surly surly is offline
Registered User
no team
 
Join Date: Sep 2011
Location: austin
Posts: 4
surly is an unknown quantity at this point
Re: [FTC]: De-energizing a Hitech Servo

The watchdog actually only exists for the DC motors, not servos.

NI is planning a patch to address the current behavior that forces servos to go limp when the FCS issues a disable signal. This will help robots hold up crates after the match ends. It will also help certain robots that require energized servos to stay within the size constraints at the start of the match.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-11-2011, 17:33
gotrobot?'s Avatar
gotrobot? gotrobot? is offline
Head Coach
FTC #5037 (got robot?)
Team Role: Coach
 
Join Date: Sep 2011
Rookie Year: 2008
Location: Elgin, IL
Posts: 30
gotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to allgotrobot? is a name known to all
Re: [FTC]: De-energizing a Hitech Servo

Quote:
Originally Posted by surly View Post
The watchdog actually only exists for the DC motors, not servos.

NI is planning a patch to address the current behavior that forces servos to go limp when the FCS issues a disable signal. This will help robots hold up crates after the match ends. It will also help certain robots that require energized servos to stay within the size constraints at the start of the match.
Is there an ETA for when this patch will be available?
__________________
2014-15 Cascade Effect: World Championship Inspire Finalist

www.facebook.com/gotrobot
Reply With Quote
Reply


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


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

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