Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   xbox controller (http://www.chiefdelphi.com/forums/showthread.php?t=63357)

borabora 05-02-2008 20:36

xbox controller
 
Hey,

My team wants to use an xbox controller. I know we have to use the usb chicklet. We have one already, but there is one problem.

The chicklet does not allow you to use all of the buttons and the two axis on the controller all at the same time. Is there a way we can use them?

I was thinking of splicing the wire for the xbox controller and finding out which wires are used for which button. Then just take a 15 pin connector and solder them onto the proper ports that the oi board will recognize and attach that to a different com port.

Will this work? We dont want to ruin a controller over this...

thanks!

Miner 05-02-2008 20:42

Re: xbox controller
 
Quote:

Will this work? We dont want to ruin a controller over this...
I actually have no idea, but it might be risky. If I remember correctly, you can change settings in the programming code that work specifically for the OI. There are also settings if you use IFI Dashboard, which is available at the IFI website.

http://www.ifirobotics.com/dashboard_viewer.shtml

It is a great program that will tell you what buttons are doing what, which axis are controlling what, battery levels, and other helpful things. I highly suggest it.

Good luck,
Jacob

Binome 05-02-2008 22:10

Re: xbox controller
 
You can configure it to a variety of modes using the process explained in the datasheet, located at http://www.ifirobotics.com/docs/usbc...ual-rev1-2.pdf

65_Xero_Huskie 05-02-2008 22:24

Re: xbox controller
 
Quote:

Originally Posted by Binome (Post 692957)
You can configure it to a variety of modes using the process explained in the datasheet, located at http://www.ifirobotics.com/docs/usbc...ual-rev1-2.pdf

Yep. Our team used both sticks last year for 2 different motions.

borabora 05-02-2008 23:37

Re: xbox controller
 
I understand the different modes, but each mode does not include every button and analog stick there is.
For our drive train we need them all. Is there any way i can use them all?

Alan Anderson 05-02-2008 23:54

Re: xbox controller
 
A joystick port has four analog inputs and four switch inputs. The Chicklet can repurpose analog inputs to encode four more switches. So far as I can tell, supporting more than two analogs and twelve switches simultaneously is simply not possible. It's a hardware limitation of the OI's joystick ports.

borabora 06-02-2008 19:43

Re: xbox controller
 
what if we were to take out one of the analog wires and wire them to another com port?

Would it then be possible to use everything on that xbox controller?

Alan Anderson 06-02-2008 20:48

Re: xbox controller
 
Quote:

Originally Posted by borabora (Post 693493)
what if we were to take out one of the analog wires and wire them to another com port?

Take out one of what analog wires? Take it out from where?

Wire them to what other com port? And what "them" are you talking about?

I don't understand the question.

If you're talking about gutting the controller and wiring it directly to the OI, it could work, but I think the xbox controler's innards are not very easy to connect to. The analog controllers in particular are a very poor match for what the OI joystick inputs expect.

borabora 06-02-2008 21:52

Re: xbox controller
 
Sorry for the sloppy question.

But you still understood correctly. We opened up an xbox controller today and saw how the analog is wired and compared it to the joysticks first provides. It seems like exactly the same thing, but on a smaller scale.

I guess we will try to connect them and see if it works. I was wondering if it was possible and i guess it is. We will test the "poor match."

Ill put up the results once we are done.

Thanks.


All times are GMT -5. The time now is 14:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi