![]() |
Re: Question about controller/joystick method.
I am not sure where you can get a diagram of the serial port, hopefully you will get it, and I am almost certain that you can use an Xbox controller legally.
But USB is digital isnt it... and the serial port is analog. |
Re: Question about controller/joystick method.
Yeah, the digital/analog swith would be enough to steer me towards playstation, but i dunno
|
Re: Question about controller/joystick method.
I thought Serial cables were both digital and analog.
If you need it the wiring for USB is as follows: 5V / Red D+ / Green D - / White Ground / Black Lets say we forget about the pressure sensetive buttons (255 levels of sensitivity to be exact) and just wanted to use them as toggels. I know I can get a driver for it, the only thing I need is a way to wire it to a serial port. Does anyone know of an adapter or crossover that would work? I thought about PS2 but everyone knows xbox is superior. Alright, thanks for the help so far. (P.S. If you want your game system modified [LEDs, Paint Jobs, other crazy stuff, Preformance Xbox mods, etc.] let me know.) |
Re: Question about controller/joystick method.
Search before you post:
http://www.chiefdelphi.com/forums/sh...+controlle rs But since I'm a nice guy, I'll tell you--unless you are up for some serious hacking and programming, you are not going to get an XBox controller to interface with the 2005 FRC OI to much success. It's mainly because the DB15 (gameport) connector used is rather old-school. Many others have looked for a way to do it. None have done it yet. Don't take this as bashing--take it as a challenge. (And of course, IFI provides some resources to aid you in your effort.) Every good thing in FIRST has happened because someone wanted to do a particular task a better/cheaper/faster/more interesting way. (Hence we have the kitbot this year!) |
Re: Question about controller/joystick method.
Sorry about not searching for the post guys...... I just assumed this was kinda random and not many people would talk about it... oh well....
Well, if anyone knows the wiring schematics of the DB15 than let me know. |
Re: Question about controller/joystick method.
Quote:
BTW yes it is legal |
Re: Question about controller/joystick method.
Quote:
|
Re: Question about controller/joystick method.
Quote:
|
Re: Question about controller/joystick method.
Quote:
|
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)
Well, we're a rookie team and I just wired up a playstation controller to our robot yesterday. It took about an hour and a half once I got the d-sub conectors in the mail. Anyway, it's really cool to drive the robot with.
|
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)
I'm trying to figure out how to wire and program a non joystick device for controlling the robot. I'm not sure how many switches we would use, though it will probably be 3 or 4, depending on what exactly we use for/on our arm. Does any know if I need to take any special considerations when deciding where to wire these on a serial port and what pins match up for the different controls on the ports? Any help is appriecated, and if a thread already exists for this, I can't find it, so point me there.
|
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)
Quote:
Switches are connected and mapped through the four joystick ports on the OI not the serial port. If you check in the OI manual you will find the pinout for the four ports and the buttons they call in the OI and default software. |
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)
OK, so will I need to ground all of my switches on 4 and 12? Or do I just need to connect the ends of the switches to the pins?
|
Re: Using non joystick controls with Operator Interface (Hacking Various Controllers)
Quote:
"Digital Inputs (see pinouts on pages 7-10) To utilize these inputs, wire buttons or switches between the desired digital input signal pin and any ground pin. A digital input senses a connection to ground to become active. Do not connect switches or digital inputs to 5V. Do not use lighted switches." Any switch will have one side wired to the desired digital input on one of the four ports and the other side of the switch will be wired to either/both pin 4 and/or 12 on any port. If you search you will find a reference that allows you to construct a "y" cable that will connecto two of the ports so that you can have a button box that has more switches than one port can provide. Also note that digital inputs are duplicated on two ports. See port 2 & port 4 pinout tables. |
| All times are GMT -5. The time now is 12:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi