madsci1016 / Arduino-PS2X

Read a Playstation 2 Gamepad or Guitar Hero Controller using an Arduino
http://www.billporter.info/playstation-2-controller-arduino-library-v1-0/
364 stars 213 forks source link

Cant' use SPI device #14

Closed Vitorbnc closed 5 years ago

Vitorbnc commented 5 years ago

Hi, The library worked great when I was sending fata over wifi through ESP8266 and serial. Now, I tried using NRF24L01 and SX1278 LoRa, which are SPI devices. As soon as I try to send anything, the ps2 controller is disabled. I am using an Arduino Micro. How could I fix this?

Vitorbnc commented 5 years ago

I guess it was a power supply issue. I reduced spi speed to 250k and added big capacitors. Now the problem is gone.