Home e-Manual

NRF24 radio control and Arduino Uno

  1. What model(s) of servo are you using?

AX12W

  1. Describe your control environment.

Jetson Jetson nano, arduino IDE, dynamixel shield

  1. For programming posts, state any libraries or example code you are using.
    DynamixelShield, SPI, Radiohead.

Hello again. :raised_hand_with_fingers_splayed:

I am back with another question.

This time I am trying to receive joystick input over radio. I am able to receive and map the values from the remote. The issue is that with the NRF24 connected the motors wont turn. Even if I replace the velocity variable with a number.

Example.

dxl.setGoalVelocity(DXL_ID,600);

Will only spin if the NRF24 is disconnected from power.

Here is a link to some information.

https://www.airspayce.com/mikem/arduino/RadioHead/classRH__NRF24.html

I have it connected like this.
5V-----------VCC (3.3V to 7V in)
pin D8-----------CE (chip enable in)
SS pin D10----------CSN (chip select in)
SCK pin D13----------SCK (SPI clock in)
MOSI pin D11----------SDI (SPI Data in)
MISO pin D12----------SDO (SPI data out)
IRQ (Interrupt output, not connected)
GND----------GND (ground in)

Is this a serial communication problem? If so, can anyone recommend an arduino that will work? Maybe a mega?

1 Like