Quote:
|
Originally Posted by iwearshoes
ok, I want to rig an Xbox controller as the main interface for our robot. I have converted them to USB before and have a USB driver and i was wondering if any of you had wiring diragrams of serial ports so i can figure out how to power it and where all the handshakes are. If so please let me know where i can find them. Thank you. Also is it legal to make an xbox controller the interface?
|
This question comes up at least once every year, and there have been multiple threads about it. No offence, but if you are even asking this question i don't think you should attempt this. You CANNOT directly connect USB stuff to the OI no matter what kind of crazy software you right. This is a hardware restriction and there is no way around it without making a USB to gameport converter. This is not an easy task even for a seasoned hardware developer. USB is an extremely in depth and bulky protocol that is not for the faint of heart. I speak from experience. I have developed USB peripherals in the past. In order to interface with an Xbox controller, you would have to make a device that could act as a USB host. This is far worse than a peripheral. If you absolutely feel you need to to have an Xbox controller then i would rip it apart and see if you can bypass all of the control electronics. I have never opened one up but it probably boils down to mess of switches and potentiometers. If this is the case, you can just hook some wires up to the bottons/axis slap the proper DB15 connector on it and plug it directly into the OI.
BTW yes it is legal