I bought the Lynxmotion wireless ps2 controller but I am having trouble trying to get it to work, the green light is always a solid green and it does not sync up to the controller.
Check the sample code oyu are using. We suggest Bill Porter’s original PS2 library. Check that each of the appropriate pins one the receiver goes to the appropriate pin on the Arduino based on the sample code. V and GND seem to be fine.
You’ll use the Arduino Serial terminal to check that it works. billporter.info/2010/06/05/p … rary-v1-0/
After trying this I found a Debug mode in the code and it returns this in the log
“1:1 42:42 0:0 0:0 0:0 0:0 0:0 0:0 0:0 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:1 42:42 0:0 0:0 0:0 0:0 0:0 0:0 0:0 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 42
No controller found, check wiring, see readme.txt to enable debug. visit billporter.info for troubleshooting tips
Unknown Controller type”
Does this help at all, I followed Bill Porter’s guide orginally to get to where I am at right now but it offers no solution to the problem I seem to be having.
Without using the debug mode, were you able to follow the procedure in checking the code, ensuring the connections are correct and seeing what you get via the serial terminal?
Yeah this is what it is showing without debug mode:
“No controller found, check wiring, see readme.txt to enable debug. visit www.billporter.info for troubleshooting tips
Unknown Controller type”
The issue seems to be that the green light on the wireless receiver is on all the time almost like it is connected. But the controller is not powered, and when it is on it will not sync.
This really seems to be a wiring issue. In Bill Porter’s sample code (PS2X_Example),
CLK - digital pin 13
CMD - digital pin 11
ATT - digital pin 10
DAT - digital pin 12
… and GND to GND, V to 5V.
Can you triple check the wiring and re-confirm that the sample code was successfully uploaded? Normally these units are very reliable.
Sketch uses 6808 bytes (21%) of program storage space. Maximum is 32256 bytes.
Global variables use 1260 bytes (61%) of dynamic memory, leaving 788 bytes for local variables. Maximum is 2048 bytes.
This is what I get when I upload the code onto the arduino but it does still go on, I know because I added a blink into the loop and the arduino does blink when it is running.
So long as you verified the wiring and code, and everything seems to match, then this might be one of just a small number of cases where it’s defective.
The last thing yo check is that the batteries in the remote are fresh - if you leave the remote on, the batteries drain incredibly quickly.
If fresh batteries don’t help, contact us at [email protected] with a link to this topic, your order or invoice number, and we’ll proceed with an exchange.
One potential issue we have not explored (just in case) - is there a chance you are trying to use a different version of receiver with a different version of transmitter? Some people have several versions… If the PS2 unit is not from RobotShop / Lynxmotion, some have required the level shifter. robotshop.com/en/ps2-level-shifter.html
(with the connector robotshop.com/en/ps2-connector.html)