Home › Forums › PS2X PlayStation 2 Controller Library Support Forum › Controller mode not matched (got 1/got 63)
- This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by Bill.
-
AuthorPosts
-
December 28, 2012 at 8:16 pm #1748AnonymousInactive
Dear Bill,
first of all, thank you for your library and the support you’re giving to it.
I’m new to your library, but not to Arduino and electronics. Actually, I’m using an Arduino clone – specifically, a JeeNode v6 – that runs on 3.3V so I think there’s no issues that could be related to pullup resistors & co, and I’ve done my job of mapping the PSX-port pins to wire colors, then to the controller pin, then to Arduino numbering convenctions: actually I can comunicate with the controller, but I can’t get your library to work.
I have a silver SONY-branded SCPH-10010 DualShock 2 Analog Controller. Turning on debug mode, running your sample sketch unmodified (except for the pin mappings, changed to 5,16,15,6) when the controller’s led is off I see this communication going on:
OUT:IN
1:FF 42:1 0:10 0:FE 0:FF 0:FF 0:FF 0:FF 0:FF 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
OUT:IN
1:FF 42:1 0:10 0:FE 0:FF 0:FF 0:FF 0:FF 0:FF 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
Controller mode not matched or no controller found
Expected 0x41 or 0x73, got 1
No controller found, check wiring, see readme.txt to enable debug. visit http://www.billporter.info for troubleshooting tips
Unknown Controller typethen I press the “analog” button so that the led turns on, then I reset the micro without powering off the controller, so that the led stays on, and I see this different communication:
OUT:IN
1:FF 42:63 0:10 0:FE 0:FF 0:70 0:62 0:78 0:4 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
OUT:IN
1:FF 42:63 0:10 0:FE 0:FF 0:70 0:62 0:78 0:4 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
Controller mode not matched or no controller found
Expected 0x41 or 0x73, got 63
No controller found, check wiring, see readme.txt to enable debug. visit http://www.billporter.info for troubleshooting tips
Unknown Controller typeDo you have any suggestions? Any help would be appreciated.
Cheers!
Carlo
January 2, 2013 at 9:27 pm #1788BillMemberDid you try all the steps in the troubleshooting guide yet? This looks like it could be a pullup or clock problem.
January 4, 2013 at 2:36 pm #1794AnonymousInactiveDear Bill,
I’m sorry to have annoyed you: seeing that your library already turns on the internal pullup on the data line, and given that my MCU was running at 3.3V I tought no additional pull-ups would be needed… and deliberately skipped the step about pull-ups in the troubleshooting guide.
Thank you so much,
Carlo
January 4, 2013 at 2:38 pm #1795AnonymousInactiveWell… I forgot to mention that now, with a 10k pull-up wired between data-line and 3.3V, it’s working properly. At first I tried with a 20k pull-up (first resistor that came to my hand) but it wasn’t enough.
Carlo
January 7, 2013 at 5:50 pm #1807BillMemberNo annoyance. Just wanted to make sure you tried everything before continuing! Glad you got it working.
-
AuthorPosts
- You must be logged in to reply to this topic.