Author Topic: digispark pro beta shield and RF24 shield  (Read 2838 times)

gkr

  • Newbie
  • *
  • Posts: 8
digispark pro beta shield and RF24 shield
« on: October 02, 2016, 04:52:21 am »
Hello,

I am trying to control a RC car using a pair of digispark and RF24 for the communication.

The driver part is working ok, using a digispark pro, a pro nRF shield, a boost shield and a motor shield

The controller part, giving the order is causing more trouble. Currently, I am using a digispark pro, a pro nRF shield, an RGB led shield and a button shield. Obviously, this provide some state of the art control over the car, namely forward and stop.

I tried to get some more refined control using a digispark pro beta shield but I have a couple of issue.
First, I assume I can't control the led matrix as it share the 4 SPI pin with the nRF shield.
Second is a deal breaker. The joystick don't play along with the nRF shield. X axis is fine but under some condition, the Y axis block transmission for the nRF shield. It happen if I push entirely the joystick toward the led matrix or if I push it a bit in the opposite direction.

I tried to set the joystick pin in output mode so it doesn't mess with the nRF shield but no luck.
If anyone have an idea of why the joystick could cause issue with the nRF shield, I would be happy to hear.