Can't get anywhere with the nRF24L01+

Hello,

Hopefully someone here can spot something I'm doing wrong or make a suggestion for where to turn next.

I'm trying to get a simple transmitter and receiver going using the nRF24L01+ modules. I've installed the RF24 library using the Arduino IDE Library Manager feature. It claims it has installed RF24 by TMRh20 version 1.1.6.

Tried multiple UNOs and RF24 modules. I am using the base modules with the 3.3V regulator on it.

Wired as follows:

GND -> GND
Vcc -> 3.3V
CE -> 7
CSN -> 8
SCK -> 13
MOSI -> 11
MISO -> 12
IRQ -> n/c

Can't seem to get the RF24 module to take any settings. Everything comes back as 0. For the moment I have nothing in loop().

Code:

#include <SPI.h>  
#include "RF24.h" 
#include <printf.h>

// (Create an instance of a radio, specifying the CE and CS pins. )
RF24 myRadio (7, 8); // "myRadio" is the identifier you will use in following methods

/*-----( Declare Variables )-----*/
byte addresses[][6] = {"1Node"}; // Create address for 1 pipe.
int dataTransmitted;  // Data that will be Transmitted from the transmitter
int Channel=10;
boolean state;


void setup()   
{
  // Use the serial Monitor (Symbol on far right). Set speed to 115200 (Bottom Right)
  Serial.begin(115200);
  printf_begin();
  Serial.println("RF24/Simple Transmit data Test-Transmitter");
  dataTransmitted = 100; // Arbitrary known data to transmit. Change it to test...
  state = myRadio.begin();  // Start up the physical nRF24L01 Radio
  Serial.print("State: ");
  Serial.println(state);
  myRadio.setChannel(108);  // Above most Wifi Channels
  Serial.println("Channel is: " + String(myRadio.getChannel()));
  // Set the PA Level low to prevent power supply related issues since this is a
  // getting_started sketch, and the likelihood of close proximity of the devices. RF24_PA_MAX is default.
  myRadio.setPALevel(RF24_PA_MAX);
  myRadio.openWritingPipe( addresses[0]); // Use the first entry in array 'addresses' (Only 1 right now)
 myRadio.printDetails();


}

void loop()  
{
 

}

This is what is returned:

RF24/Simple Transmit data Test-Transmitter
State: 0
Channel is: 0
STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x00
RF_CH = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MIN

Thanks,
Todd

You might find this thread useful: nRF24L01+ demo using ackPayload - Networking, Protocols, and Devices - Arduino Forum

Solution: Vcc on the Base Module needs to be connected to 5V.