0

Compatibility of Motor Shield v2.3 with NRF24L01 module ?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Compatibility of Motor Shield v2.3 with NRF24L01 module ?

by yannlossouarn on Fri Feb 01, 2019 5:01 am

Hi,

I started setting a small 2WD radio-controlled vehicle based on :

RX side, for the vehicle :
- Vehicle + DC motors : https://www.amazon.fr/gp/product/B079JQ ... UTF8&psc=1
- NRF24L01+ transceiver module + 5V-to-3.3V voltage regulator module (driven with TMRh20 v1.3.1 RF24 library)
- Adafruit Motor Shield v2.3 (with DC motors on M1 and M2 slots, driven with Adafruit Motor Shield V2 v1.0.5 library )
- Arduino Uno (powered through the Adafruit Motor shield)


TX side, for the wireless remote controller :
- Funduino Joystick shield v2.4
- Arduino Uno
- NRF24L01+ transceiver module + 5V-to-3.3V voltage regulator module

At this point, my hardware setup allows radio communication between the remote controller and the vehicle OR running DC motors by Adafruit Motor shield, but not at the same time. Apparently, there is something in my radio code that prevents the Motor Shield from running ok.

The NRF24L01 wiring is made on pins D9-D13 (CE & CSN are respectively on D9 and D10).

Do you see a reason for this ? AFAIK, this setup would be a problem for running a servo motor from the motor shield, but I have no servo there.

Thank you in advance! :)

Best regards,
Yann
yannlossouarn
 
Posts: 19
Joined: Mon Oct 04, 2010 7:12 pm

Re: Compatibility of Motor Shield v2.3 with NRF24L01 module

by adafruit_support_bill on Fri Feb 01, 2019 7:13 am

Apparently, there is something in my radio code that prevents the Motor Shield from running ok.

If you post your code, we can take a look.

The motor shield uses only the i2c bus for communication to run DC motors. Other pin usage should not affect it.

adafruit_support_bill
 
Posts: 74049
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.