USB mouse wireless control LED

Hello:
I want to use USB Host Shield, Arduino UNO, nRF24L01 module to make a USB mouse wireless control LED.

At present, I can implement the functions individually: .
(1) UNO reads the data of the USB mouse.
(2) UNO wirelessly controls the LED.

However, since the USB Host Shield and nRF24L01 module communicate with UNO through SPI interface, UNO only has one set of SPI pins that can be used (USB mouse and NRF24L01 must operate at the same time). How can I modify it to use USB Host Shield and nRF24L01 module at the same time?

Thanks.

If they both cannot share the hardware SPI one can be changed to work with a software SPI.

To put the rf24 on soft SPI, see this thread, reply #5. There are more pages with a search for "rf24 software SPI"

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.