|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Force Feedback
Quote:
Last edited by Rickertsen2 : 19-11-2005 at 13:36. |
|
#17
|
|||||
|
|||||
|
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..........
|
|
#18
|
|||||
|
|||||
|
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. Last edited by Cuog : 20-11-2005 at 15:26. |
|
#19
|
|||||
|
|||||
|
Re: Force Feedback
Quote:
|
|
#20
|
||||
|
||||
|
Re: Force Feedback
Quote:
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. |
|
#21
|
|||||
|
|||||
|
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 |
|
#22
|
|||||
|
|||||
|
Re: Force Feedback
Quote:
How do you control the pins via programming? Yes, I've been intriuged now I must build it, Cuog |
|
#23
|
||||
|
||||
|
Re: Force Feedback
Quote:
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. |
|
#24
|
|||||
|
|||||
|
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.
Last edited by Andrew Blair : 23-11-2005 at 14:50. Reason: Info was wrong |
|
#25
|
|||||
|
|||||
|
Re: Force Feedback
Thanks, I have been learning the FIRST specific code and i just didnt know what commands controlled the pins
|
|
#26
|
|||||
|
|||||
|
Re: Force Feedback
Quote:
Now, I don't know if that means 100 mA from each port, or 100 mA from all four combined. Don |
|
#27
|
|||||
|
|||||
|
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?
|
|
#28
|
|||||
|
|||||
|
Re: Force Feedback
Quote:
|
|
#29
|
|||||
|
|||||
|
Re: Force Feedback
Quote:
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
|
||||
|
||||
|
Re: Force Feedback
Quote:
Quote:
Quote:
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). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |