I have been having some issues trying to get my Lynxmotion PS2 Controller to work properly with my Arduino Uno R3. I have been using the lynxmotion PS2X library and the example code found at https://github.com/Lynxmotion/Arduino-PS2X. The controller seems to configure correctly and all of the other inputs seem to be working. I have double and triple-checked my connections and have the correct Baud rate because the serial monitor will tell me when the controller is connected and when I play with the other inputs. When I hold L1 and R1, the stick inputs never change from “0, 255, 0, 255” no matter the input that I have given it. Can anyone help me with this issue? I am hoping this is not a hardware problem.
Thank you for your reply. I noticed that there is a “mode” button in between the two joysticks, but pressing it when the controller is connected does not seem to change anything, or register any input on the serial monitor. After you mentioned this, I went to do a sanity check and noticed that when the controller was disconnected the mode light would alternate on and off with presses of the mode button, but reconnecting with the light both on and off did not seem to make a difference.
Thanks again, any further assistance is greatly appreciated.
Thank you for your input once more. I apologize, my wording was a little squirrely above. I have been pressing them individually and it does not seem to make a difference.
No problem dialfonzo! And yes, those are the only results I get when I try and view the stick values. All of the other inputs seem to work fine. Here is a link to a video demonstrating this.
I appreciate all of your efforts. I have tried the original library and the example code. The controller connected properly and I have been experiencing the same things. All of the inputs look alright, but the stick will not register any inputs regardless of the position that they are in. I believe that I may need a replacement.
Thank you and let me know how we will be proceeding from here.