Using non joystick controls with Operator Interface (Hacking Various Controllers)

Question: Has any atempted to use a non-joystick to control the robot? (Data must go through OI!) It doesn’t have to compete or work, you just need to tell us about it.

Examples: Mice (Serial, PS/2, or USB), Game Controllers (XBox, PS2, Dreamcast, N64, GameCube, Super NES :stuck_out_tongue: , …), or anything else NOT designed for a gameport.

Stories, descriptions, and links are apreciated!

Those of you feeling ambitious can write a White Paper or a How-to.

I’ve actually seen a steering wheel (I think it was 587 or 578) and I’m also planning to create a gas pedal system. I also thought about a GameCube controller, but I don’t think their data packets are the same. Really, with the GameCube (or any other controller) though, and I’m thinking of doing this for my team, you could just strip the contoller of it’s electronics and wire your own stuff for the serial ports, with simple buttons and such, but I’m not sure you how to do the joysticks, however.

Hey, maybe even a FIRSTwiki entry?
:smiley:

I was thinking maybe you can use the EDU for serial to Ana/Dig conversion. Is this legal? And does it work?

for my lego creations, ive hand made all of my controls.
i just get a bunch of resistors and arrange them so a switch or button runs a current with different voltage. (the lego RCX senses different voltages) and can use that as input. resistors you can find in any kind of old electronic device so its cheap. actually, free. just go aound saying youll take anything electrical that they dont need. youll be suprised how much junk people have… :ahh:

and also not that its really probable for awhile, but controlling a robot with a touch screen would be COOL!!!.
have a field on the screen and touch a point on the screen and the robot moves to there. crab drive might be useful for this. omnis too.
oh the possibilities!

it is portable. Haven’t you heard of a tablet PC?

Is it legal? If the 2k4 rules hold, then yes. It’s pretty much open range for controls, as long as you don’t break any other rules in the process.

Would it work? That’s the part I dunno…but it seems within the realm of possibility.

A few years ago I interfaced a Playstation dualshock controller to a Basic Stamp 2. Wasn’t too bad - it uses SPI, but the documentation on the net for the vibration motors was too sketchy to figure out analog control for them.

-Brandon Heller

Gateway Team 931
Blair Robot Project 449 Alum

Ok, so I’m not gonna yell at you to search before you post, cause you are asking for different applications but…

http://www.chiefdelphi.com/forums/showthread.php?t=22845&highlight=Sega+Genesis+Controller

yes this has been discussed but just like to add a team in the newton divison called ET not certain of there number but they used a actually phone to control there arm it was really cool like 2 was up 5 was grab or something like that it was really cool and the kid was really good at it they were picked for a alliance but i dont know how far they went

It was a general question. I just listed what I thought of. To get an idea just how ambitious people are about controls.

i was actually considering using a PS1 duel shock that i have left over because it seems that joysticks aren’t very intuitive anymore, but everyone has used a PS2 or Xbox or gamecube controller and would more than likely be more efficient with one. The reason i didn’t is because someone told me that you could only use the joysticks, so the controller would have just been confusing and illegal… But please i would still like to do it if you could go to a competition with a PS2 controller and use it, if this person misspoke when i was talking to them.

The person misspoke.

AFAIK, you can pretty much whatever you want with the OI and control system, as long as it’s safe, doesn’t block anyone’s view, and doesn’t break any rule in the manual de l’année. That’s how you get teams with switches in their controls, or who-knows-what-else. (I will give a Krispy Kreme-shaped trophy to anyone who uses a wearable control system in 2005 with any degree of success. I guess the big challenge there would be to put in a quick-connect of some sort so you can still stand behind the line. Oh, and make it actually do something worthwhile.)

I know there are a couple of teams that have created a wearble control system for previous competitions: We did gloves FIRST?

Not sure if this will work, but it may be of some relevance…

http://pcworld.pricegrabber.com/search_techspecs.php/masterid=433440

It won’t be anything that we use this year (I doubt it is really practical), but I am working with one of our students to create a controller that reads the electrical impulses of a muscle (say a bicep squeeze) and converts it into a useable signal. If it works we plan to have a demonstration model at the St. Louis regional.

116 has used a steering wheel with an attached throttle control. It was mounted on the same board as the switches. It worked and we competed with it in 2001. I couldn’t tell you more about how they implemented it.

Wetzel

Just a side note, is this really FIRST legal? I can understand modifying a couple pins in a joystick is easy(I don’t know about legal, see rules below), but using a game controller is more than likely illegal. Unless it was specially designed for standard 15-pin joystick ports without MIDI In, chances are slim to work. I can’t speak for all controllers, but I know the N64 & Gamecube would require special circuitry to operate.

Steven

P.S.
N64 Controller Interface
GCN Controller Interface

(Quoted from Section 5 - The Robot, Rev- C Incorporated 3-3-04)
5.2.8 Custom Circuit Rules
<R49> Additional electronics must be wired to their ATC breaker using a 16 AWG or larger diameter wire.
<R50> The use of additional electronics is intended to allow teams to construct custom circuits for their robots. The custom circuits may be used to indirectly affect the robot outputs, by providing enhanced sensor
feedback to the Robot Controller to allow it to more effectively decide how to control the robot. The custom circuits must draw power from a 20A circuit breaker. Smaller value fuses may be incorporated into the custom circuits for additional protection. All outputs from the custom circuits must be connected
to the analog inputs, digital I/O, TTL Serial Port, or Program Port on the Robot Controller.
<R51> Inputs to custom circuits may be connected to the following sources:
• Circuit breaker outputs
• Speed Controller or Relay module outputs
PWM or Relay outputs on Robot Controller
• Switches, Potentiometers, the outputs from Current Sensors, Optical Sensors, Motors, and other additional electronics allowed
<R52> Custom Circuits may not:
• Interfere with the operation of other robots
• Directly affect any output devices on the robot, such as by providing power directly to a motor, supplying a PWM signal to a speed controller or supplying a control signal to a relay module. (Custom high impedance voltage monitoring or low impedance current monitoring circuitry connected to the robot’s electrical system are acceptable, because the effect on the robot outputs should be inconsequential.)
• Be used for wireless communication, such as sending or receiving a signal to and/or from the alliance station
• Connect to the radio or tether ports on the Robot Controller

I know there is much talk of what has been done by teams in previous years and I know a lot of it has been pretty cool but what I don’t see are diagrams and white papers. If your team has used alternatives to the standard joysticks then please post a white paper or a wiring diagram or something.

BTW, If anyone is interested, I posted a wiring diagram for a joystick last year. It wasn’t much but it is still floating around on CD somewhere.

Steven,

Those rules apply to the custom circuits that are on the robot itself, not what you use in the player station. I am currently traveling and am unable to locate the rules from 2001, but I know that it was legal then. I will see if I can find anyone on the team that remembers how it was implemented.

Wetzel