xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Interfacing The Play And Charge Port, I am trying to interface the Play and Charge port
TheCaptain115
post Aug 31 2009, 06:33 PM
Post #1


X-S Enthusiast


Group: Members
Posts: 7
Joined: 31-August 09
Member No.: 418206



I am trying to interface the Play and Charge port on the Xbox 360 wireless controller. What I am trying to do is pretty simple, I want to read the USB signal coming from the controller that has the data for which buttons are pressed. I then want to take that signal, input it into a microcontroller and do various things for different buttons pressed.

I have been researching this for a few days and have understood that even when the Play and Charge cable is plugged in, the controller still transmits the data to the Xbox wirelessly. I found this pinout on this forum:
IPB Image
http://forums.xbox-scene.com/index.php?showtopic=663878

There are 7 pins total, and I am trying to figure out if any of those pins are actually data output pins for the USB signal. Using an oscilliscope, I have found that pins 2 and 3 (going from left to right in that picture above) have a signal coming from them, but I have no idea if it is the USB signal or not. I am hoping that the 4 pins left after the charge pins are the 4 pins required for USB transmission. I figured I would ask before trying it out and potentially scraping a perfectly good controller.

So, here is what I am looking for. If anyone has a pinout of exactly what all those pins do that would be awesome. If not, I will figure it out and let you guys know. If anyone knows for sure that you can, in fact, tap in to the signal that the controller outputs to the xbox please let me know how to do it.

Thanks!

This post has been edited by TheCaptain115: Aug 31 2009, 06:40 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rjburke377
post Aug 31 2009, 08:01 PM
Post #2


X-S Senior Member
**

Group: Members
Posts: 180
Joined: 16-October 04
Member No.: 156774
Xbox Version: v1.3
360 version: v1 (xenon)



This is not exactly what you are asking for but it may help. Try this link for USB and Wireless GamePad protocols: http://pingus.seul.org/~grumbel/xboxdrv/. Also look for free60 projects.

The protocol between the 360 and the controller is encrypted which I don't think is true when connecting to other hosts like Linux or Windows machines. You may run afoul of the DMCA when discussing details of 360 encryption in an open forum.

Please post anything you can. I am totally interested in this stuff.

/RJ

This post has been edited by rjburke377: Aug 31 2009, 08:07 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheCaptain115
post Aug 31 2009, 08:26 PM
Post #3


X-S Enthusiast


Group: Members
Posts: 7
Joined: 31-August 09
Member No.: 418206



Thanks for the link. Does anyone have a pinout of the PnC cable? I remember reading where people were using it to connect to their PC, and windows would recgonize it but it didnt work correctly.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RDC
post Aug 31 2009, 09:18 PM
Post #4


X-S Seraphic
************

Group: Head Moderator
Posts: 8705
Joined: 16-December 03
From: VA
Member No.: 82718
Xbox Version: v1.0
360 version: v1 (xenon)



So far as it's known, the Wireless controllers do not send that type of info over the USB lines, but also as far as it's known, no one has looked much into it, I haven't because if I wanted a Wired controller I'd use a Wired controller, not turn a Wireless one into a Wired one where you know for sure that info is there.

If ya want to have at it though the PnC pinout there is similar to a USB cable, 5v, D-, D+ (next 3 are for charging and status between the controller and PnC kit and wouldn't be used for what you're attempting) then Ground.

Good luck, be interesting to see what ya find there.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheCaptain115
post Sep 1 2009, 02:05 PM
Post #5


X-S Enthusiast


Group: Members
Posts: 7
Joined: 31-August 09
Member No.: 418206



Im going to hook it up and see if it is in fact D- and D+ today. Both lines are connected to the microcontroller, if you guys want to know what pins they are connected to let me know. If this works, I will have about 1/3 of my project completed.

Does anyone know if the controller will still transmit data (like button pushes) while it is unbound from the console? I dont have an xbox 360 here with me, I might have to get one for testing purposes.

This post has been edited by TheCaptain115: Sep 1 2009, 02:10 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rjburke377
post Sep 1 2009, 02:25 PM
Post #6


X-S Senior Member
**

Group: Members
Posts: 180
Joined: 16-October 04
Member No.: 156774
Xbox Version: v1.3
360 version: v1 (xenon)



QUOTE(TheCaptain115 @ Sep 1 2009, 09:05 AM) *

Im going to hook it up and see if it is in fact D- and D+ today. Both lines are connected to the microcontroller, if you guys want to know what pins they are connected to let me know. If this works, I will have about 1/3 of my project completed.

Does anyone know if the controller will still transmit data (like button pushes) while it is unbound from the console? I dont have an xbox 360 here with me, I might have to get one for testing purposes.

Do you have a micro-controller USB host protocol stack? I'd be interested in knowing more about this part of your project

/RJ
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheCaptain115
post Sep 1 2009, 02:53 PM
Post #7


X-S Enthusiast


Group: Members
Posts: 7
Joined: 31-August 09
Member No.: 418206



QUOTE(rjburke377 @ Sep 1 2009, 02:25 PM) *

Do you have a micro-controller USB host protocol stack? I'd be interested in knowing more about this part of your project

/RJ


No, not currently. What I plan on doing is connecting the wires to a USB cable and simply plugging it in to the PC and see if I can get anything out of it. If not, I'll try and talk to it through hyper terminal. I have already looked at the 2 pins that I am suspecting as being D- and D+ with an oscilliscope and got a nice sine wave. Once I know for sure there is in fact a signal there, thats when I will start programming a microcontroller to read the inputs and give me an output.

Going to solder the wires now, I'll post up the results before lunch.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RDC
post Sep 1 2009, 06:04 PM
Post #8


X-S Seraphic
************

Group: Head Moderator
Posts: 8705
Joined: 16-December 03
From: VA
Member No.: 82718
Xbox Version: v1.0
360 version: v1 (xenon)



I already told ya which were D- and D+ on the PnC connector there, and it depends on which version of controller you're actually using as to which leads on the MCU they go to, pins 49/50 on the Matrix and 69/68 on the CG respectively.


User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheCaptain115
post Sep 3 2009, 08:49 PM
Post #9


X-S Enthusiast


Group: Members
Posts: 7
Joined: 31-August 09
Member No.: 418206



QUOTE(RDC @ Sep 1 2009, 06:04 PM) *

I already told ya which were D- and D+ on the PnC connector there, and it depends on which version of controller you're actually using as to which leads on the MCU they go to, pins 49/50 on the Matrix and 69/68 on the CG respectively.


Yeah those are the correct pins.

I hooked it up, windows recgonized it but I cant find any drivers that work with it. I've tried the official windows driver and the XBCD drivers, neither work. I cant, however, connect to windows update (firewall settings) so maybe I could get something from there.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 21st May 2013 - 11:42 AM