0

I am trying to connect my wireless playstation 2 remote up to my arduino but I am facing one problem. Whenever I restart my program (by clicking the red button) the PS2 remote's dongle blinks at the exact same times as the blink light on the arduino blinks. But as soon as the arduino's light stops blinking, the RX light on the PS2 dongle (which was blinking), stops blinking. I saw a guide out there on potential ways of fixing this and one type of way of fixing it according to the documentation for the PS2 libary (which no longer exists on a website) was by doing some type of pull-up resistor (I am not 100% too sure what this is). I have checked the wiring and its fine. This was the website that I followed that shows the step by step instructions on how to program the controller with the arduino and how to wire it: https://create.arduino.cc/projecthub/electropeak/how-to-interface-ps2-wireless-controller-w-arduino-a0a813. Here is the schematic that I followed for the concept with the pull-up resistor: enter image description here

I have just tried removing the clock pin from pin 13 (which is already connected up to the clock pin of the PS2 controller).This got rid of the blinking of the dongle blinking directly at the same time as the arduino when restarting the program. The reason why I did this was because it seemed to get rid of the RX blinking issue. Here is a few images that might solve the confusion with the problem.enter image description here

enter image description here enter image description here

This is how my dongle is wired up to my arduino 🠕:

enter image description here

This is the PS2 dongle. The RX light is what keeps blinking synchronous to the arduino pin 13 light (This is the light that blinks each time you re-compile or restart the program). 🠕

enter image description here

This is the LED that I am referring to when I mention the LED on pin 13 of the arduino.

So when pin 13 on the arduino is blinking the RX light on the PS2 dongle is blinking synchronous to it.

The reason that I removed the clock pin from pin 13 on the arduino was because I knew that the pin 13's blinking LED connects up to pin 13 itself (which is wired up to the clock pin on the arduino), this did nothing.

What I am trying to aim to get is that the PS2 dongle

enter image description here

Is for it to be like this and for it to just stay on and NOT blink 🠕:

One final thing I forget to mention was that when the LED finished blinking (when restarting). the RX LED on the dongle went off.

5
  • You didn't really explain what the problem is, I think. From your text I have to think, that you don't like the receiver stop blinking. Maybe because you really like that blinking. But I don't think, that this is really the issue. Please explain more. Why did you remove the clock pin? SPI needs the clock. You won't get any data through without the clock connected. Of course you can use pullup resistors on the data wires (MISO/MOSI), though I cannot say, if that will help you.
    – chrisl
    Sep 18 '20 at 21:32
  • 1
    @chrisl To be fair, I do agree with you that I did not explain it well, fair enough. I will send some pictures that show my problems. Sep 18 '20 at 22:06
  • 1
    @chrisl Ok, I have now updated it. Sep 19 '20 at 18:56
  • That gives more context (though the images are very blurry), but still the problem is not clear to me. You say, that you want the RX LED on the dongle to stay on. You didn't state, why you want this. I don't know how the dongle works, thus I don't know, what the RX LED means. From your description, that it blinks sychronous with the clock line (LED on pin 13 of the Arduino) I guess, that it shows receiving data from the Arduino. It cannot stay on, when you don't send data all the time and why would you want that?
    – chrisl
    Sep 20 '20 at 20:56
  • You should work on how to focus your camera. Those images are pretty bad. I can't make out anything in any of them. Try to get some in-focus pictures.
    – Delta_G
    Sep 21 '20 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.