Go to Post Dee and I pooling our brain cells almost make a full deck... - RoboMom [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 19-11-2005, 13:34
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Force Feedback

Quote:
Originally Posted by Andrew Blair
Okay, so use a capacitor to store the charge while you wait in autonomous, then use it during drive.Maybe only have it kick in in big collisions/current drops/whatever.
Exactly! A capacitor and a diode to prevent backflow could be used. You would probably need to limit the inrush to the capacitor when it is first plugged in as well.
__________________
1139 Alumni

Last edited by Rickertsen2 : 19-11-2005 at 13:36.
  #17   Spotlight this post!  
Unread 19-11-2005, 17:29
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Force Feedback

Alright then! One or two capacitor setups, wired into a motor controller, to the motors. This is looking pretty complicated. Maybe thats why nobody seems to have done it..........
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #18   Spotlight this post!  
Unread 20-11-2005, 15:24
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Force Feedback



There are 4 5VDC out pins I'm pretty sure that through programming you can control these. (correct me if im wrong but with some hard thinking it can be done)

For the feedback you would hack apart one of the old black joysticks FIRST used to give us. and add one of the 3 volt radioshack hobby motors connected with a thickish ruberband to some orst of pulley that will pull or push your joystick where the feedback is telling it to, and BOOM you have a forced feedback controller that you can still overpower.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.

Last edited by Cuog : 20-11-2005 at 15:26.
  #19   Spotlight this post!  
Unread 20-11-2005, 20:58
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Force Feedback

Quote:
Originally Posted by Cuog


There are 4 5VDC out pins I'm pretty sure that through programming you can control these. (correct me if im wrong but with some hard thinking it can be done)

For the feedback you would hack apart one of the old black joysticks FIRST used to give us. and add one of the 3 volt radioshack hobby motors connected with a thickish ruberband to some orst of pulley that will pull or push your joystick where the feedback is telling it to, and BOOM you have a forced feedback controller that you can still overpower.
Exactly what I was thinking. Where'd you get that sheet? I can't read it easily from the post. Lego stuff would actually work great for this.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #20   Spotlight this post!  
Unread 21-11-2005, 00:31
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Force Feedback

Quote:
Originally Posted by Andrew Blair
Exactly what I was thinking. Where'd you get that sheet? I can't read it easily from the post. Lego stuff would actually work great for this.
I was thinking of hacking an off the shelf force feedback joystick.

That pinout posted above is for a generic gameport. The joystick ports on the OI are slightly different. On ports 1&3 pins 5,8,9,15 are outputs designed for driving small LEDs. on ports 2&4 they are inputs for buttons. The diagram posted above shows these as being +5v which is incorrect for the OI. It is possible to configure these pins to output a voltage on ports 1&3, but they are current limited to 10ma each. That only gets you 80ma in addition to whatever small amount of power is available on pin 1 (5v). A standard lego motor draws a stall current of 300ma @ 5v according to http://www.philohome.com/motors/motorcomp.htm.
__________________
1139 Alumni
  #21   Spotlight this post!  
Unread 21-11-2005, 13:52
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Force Feedback

i found it just by googleing "gameport pinout" and it was like in the first 5,

Rickertsen2, thanks for pointing out the slight differences in the RC and computer joysticks i think that could have really messed something up
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #22   Spotlight this post!  
Unread 22-11-2005, 15:28
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Force Feedback

Quote:
The joystick ports on the OI are slightly different. On ports 1&3 pins 5,8,9,15 are outputs designed for driving small LEDs. on ports 2&4 they are inputs for buttons. The diagram posted above shows these as being +5v which is incorrect for the OI. It is possible to configure these pins to output a voltage on ports 1&3, but they are current limited to 10ma each. That only gets you 80ma in addition to whatever small amount of power is available on pin 1 (5v). A standard lego motor draws a stall current of 300ma @ 5v according to http://www.philohome.com/motors/motorcomp.htm.

How do you control the pins via programming?


Yes, I've been intriuged now I must build it,
Cuog
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #23   Spotlight this post!  
Unread 22-11-2005, 17:27
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Force Feedback

Quote:
Originally Posted by Cuog
How do you control the pins via programming?


Yes, I've been intriuged now I must build it,
Cuog
you use the variables :
Pwm1_green
Pwm1_red
Pwm2_green
Pwm2_red
Relay1_red
Relay1_green
Relay2_red
Relay2_green

Which pins these correspond to are listed in the IO reference guide. They are defined in ifi_aliases.h. To use them for something you must override their default behavior which is set up in user_routines.c. Unfortunately these variables are also control the lights on the OI itself, so if you use them for something else, you will no longer have the use of those lights for debug purposes.
__________________
1139 Alumni
  #24   Spotlight this post!  
Unread 22-11-2005, 17:30
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Force Feedback

Rickertsen, the hack would be much easier, I must agree. And if the current isn't there, it'll just be sub par. But thats alright, it'll still be give feed back probably.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein

Last edited by Andrew Blair : 23-11-2005 at 14:50. Reason: Info was wrong
  #25   Spotlight this post!  
Unread 22-11-2005, 19:34
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Force Feedback

Thanks, I have been learning the FIRST specific code and i just didnt know what commands controlled the pins
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #26   Spotlight this post!  
Unread 22-11-2005, 20:42
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,019
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: Force Feedback

Quote:
Originally Posted by Andrew Blair
I'm wondering if you can get power from the joystick outputs/inputs. It would seem to me that you could run a small, albeit small motor off 9 volts, 1.5 amps. Actually, thats quite a bit of power, if we could get to it. If I remember correctly you can run LEDs from them. Correct me if I'm wrong please!
According to IFI "The current limit of the +5V Aux from all 4 ports is about 100mA. The Aux Fault Led will start illumination when the current draw from the +5V Aux Outputs total about 120 mA and the +5V Aux voltage will have dropped to about 4.5 volts. Worse case, short condition: after about 30 seconds, the voltage will be at about 300 mV with a current of about 250 mA."

Now, I don't know if that means 100 mA from each port, or 100 mA from all four combined.

Don
__________________

I am N2IRZ - What's your callsign?
  #27   Spotlight this post!  
Unread 22-11-2005, 21:48
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Force Feedback

How does storing current on a capacitor work? I know that the voltage out will not exceed the voltage in (ex: 5 volt cap. with 2.5 volts applied will charge to 2.5 volts), but how does current charge?
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #28   Spotlight this post!  
Unread 23-11-2005, 07:29
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Force Feedback

Quote:
Originally Posted by Andrew Blair
How does storing current on a capacitor work? I know that the voltage out will not exceed the voltage in (ex: 5 volt cap. with 2.5 volts applied will charge to 2.5 volts), but how does current charge?
Capacitors store energy by building up a charge between two plates. The larger the value of the cap the more charge is stored. However, it is not an infinite amount nor anything approaching the charge stored in a battery or that delivered by the OI power supply. The LED outputs on the OI are current limited internally to prevent the OI from handling large amounts of current. In addition the OI +5 volt rail that feeds these outputs is derived from a three terminal regulator that is also current limited and temperature sensitive. IFI had to make some choices in the design and size was one of those. To give us high current, +5 volt outputs, would have required significant design changes and would have resulted in a much larger package. Until electrical rules will allow an external power supply and interface for the OI we will be limited in what we can do at the operator station. Remember, the OI & RC are about as bullet proof as they can be. They take a beating and keep on ticking when they are used as designed.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #29   Spotlight this post!  
Unread 23-11-2005, 07:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Force Feedback

Quote:
Originally Posted by Al Skierkiewicz
Until electrical rules will allow an external power supply and interface for the OI we will be limited in what we can do at the operator station.
So you're still safely within the box too, Al?

Come on, people, take off your blinders! The rules do let us connect externally-powered portable computing devices to the OI. The method is officially documented, and tools for doing it are officially available from IFI. I think it's a perfect way to implement force feedback, or just about any other kind of feedback you want.
  #30   Spotlight this post!  
Unread 23-11-2005, 08:13
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Force Feedback

Quote:
Originally Posted by Alan Anderson
The rules do let us connect externally-powered portable computing devices to the OI. The method is officially documented, and tools for doing it are officially available from IFI. I think it's a perfect way to implement force feedback, or just about any other kind of feedback you want.
Not quite:
Quote:
Originally Posted by R66
Teams are permitted to connect a portable computing device (Laptop computer, PDAs, etc.) to the RS232 Output of the Dashboard Port of the Operator Interface for the purpose of displaying feedback from the robot while competing in Competition matches. Please note that AC power will not be available at the playing field so these devices will have to run on internal batteries.
Quote:
Originally Posted by R69
All equipment connected to the Joystick Ports of the Operator Interface must be powered solely through the power available through the port. External power sources of any type are not permitted on any equipment connected to the Joystick Ports. Portable computing devices may not be connected to Joystick input ports on the Operator Interface.
You may only connect externally-powered devices to the dashboard port. Any device which is connected to the joystick ports may not use external power.

Now I suppose you could try to pull something off where you took a normal joystick and wired in some feedback motors that were controlled by signals coming from the dashboard, such that the feedback circuits were totally isolated from the joystick port circuits, but in my opinion this would really be bending the rules. I would consider such a contraption to be a single "device" and therefore it would not be allowed to be connected to the joystick port(s).
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
Concept of PID explained ConKbot of Doom Technical Discussion 11 27-01-2008 00:11
Queuing Feedback David Gaylord Championship Event 3 20-04-2004 08:58
UpForce Guyute Technical Discussion 18 14-01-2004 23:09
Chamionship Qualification - feedback needed ASAP! dlavery General Forum 97 11-10-2003 07:17
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


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

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