Go to Post Your iphone may be more intuitive for some of your students than a screw driver. - Isaac501 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2007, 12:49
cardinalman86's Avatar
cardinalman86 cardinalman86 is offline
0001 0101 0010 1001 System Lead!!
AKA: Corey
FRC #1529
Team Role: Leadership
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Southport,Indiana
Posts: 112
cardinalman86 will become famous soon enough
Send a message via Yahoo to cardinalman86
Reverse Ramps???????

Hey, we were just wondering if there was any way to slow a pwm down after a certain point. It would be almost like a reverse ramp we were thinking. I'm new at programming so I don't really know how i would do it. I also know that this is like a last minute thing so a quick reply would be great. Thanks in advance to anyone who helps.

Ps: this is so we don't bust our limit switch
__________________
Before you practice zen, a bowl is a bowl and a cup is a cup. During zen, a bowl is not a bowl and a cup is not a cup. After practicing zen, a bowl is a bowl and a cup is a cup.
  #2   Spotlight this post!  
Unread 18-02-2007, 16:41
Tureyhall Tureyhall is offline
Registered User
AKA: Thomas Hall
FRC #0668 (Apes Of Wrath)
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2004
Location: San Jose
Posts: 40
Tureyhall will become famous soon enoughTureyhall will become famous soon enough
Re: Reverse Ramps???????

Quote:
Originally Posted by cardinalman86 View Post
Hey, we were just wondering if there was any way to slow a pwm down after a certain point. It would be almost like a reverse ramp we were thinking. I'm new at programming so I don't really know how i would do it. I also know that this is like a last minute thing so a quick reply would be great. Thanks in advance to anyone who helps.

Ps: this is so we don't bust our limit switch
we use a pid (proportional input device?) for this. It speeds itself up the farther it is from its destination. However, you'll need an encoder or something for this.

If you can't find code for a pid loop on Kevin Watson's site, tell me and I'll see what I can do for you.
__________________
/*Nerd Camouflage*/

2005 SVR - 668+1072+840 - Semifinalists.
2006 SVR - 668+1280+1693 - Finalists.
2007 SVR - 668+604+624 - Quarter-finalists, Xerox Creativity Award, two highest scores (290-2, 128-0) at SVR.
2007 Nat's - TBA.
  #3   Spotlight this post!  
Unread 18-02-2007, 18:11
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Reverse Ramps???????

Your LIMIT SWITCH should not also be serving as a HARD STOP. Overshooting the limit should not do anything to the switch. If your switch will be damaged by a movement, then your design is incorrect - move the switch out of harm's way.

Don
__________________

I am N2IRZ - What's your callsign?
  #4   Spotlight this post!  
Unread 18-02-2007, 18:25
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,813
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Reverse Ramps???????

Quote:
Originally Posted by Don Rotolo View Post
Your LIMIT SWITCH should not also be serving as a HARD STOP. Overshooting the limit should not do anything to the switch. If your switch will be damaged by a movement, then your design is incorrect - move the switch out of harm's way.
And that's ANY movement. You'd think that mounting one to stop our arm would be fine. Nope. We mounted it too close to the backside's swing and then went to check the position of the one for the other side. Whirr (motors backdriving) tip (we tilted the bot forwards) click (throw arm hitting the floor). Followed by: "Uh...I think we need a new limit switch..." The switch still worked, but its arm was twisted and out.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

Closed Thread


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
Robots with Ramps UlTiMaTeP General Forum 6 17-02-2007 19:33
Bottoming out on ramps? flamefixed General Forum 35 29-01-2007 11:57
ramps for robotics rijo664 Technical Discussion 2 16-01-2007 11:12
Ramps ideas Andrew Schuetze Technical Discussion 2 14-01-2007 01:20
Gate Ramps KWB@FIRST General Forum 14 17-10-2006 23:38


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

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