NRF24 works on breadboard, doesn't on pcb board.

Hi there, I’m trying to connect my nrf24l01+ mini to Arduino pro mini 3.3v. I would solder the wires onto nrf24 beforehand and check for continuity and shorts with multimeter then test it on a breadboard and if it worked weave the wires onto 3d printed (with PETG) PCB board and solder the wires to Arduino then again I would check if it works. This is the code to get the logs:

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

//
// Hardware configuration
//

// Set up nRF24L01 radio on SPI bus plus pins 8 & 10 

RF24 radio(8,10);

//
// Topology
//

// Radio pipe addresses for the 2 nodes to communicate.
const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0D2LL };

//
// Role management
//
// Set up role.  This sketch uses the same software for all the nodes
// in this system.  Doing so greatly simplifies testing.  
//

// The various roles supported by this sketch
typedef enum { role_ping_out = 1, role_pong_back } role_e;

// The debug-friendly names of those roles
const char* role_friendly_name[] = { "invalid", "Ping out", "Pong back"};

// The role of the current running sketch
role_e role = role_pong_back;

void setup(void)
{
  Serial.begin(57600);
  printf_begin();
  printf("\n\rRF24/examples/GettingStarted/\n\r");
  printf("ROLE: %s\n\r",role_friendly_name[role]);
  printf("*** PRESS 'T' to begin transmitting to the other node\n\r");

  radio.begin();

  // optionally, increase the delay between retries & # of retries
  radio.setRetries(15,15);

  radio.openReadingPipe(1,pipes[1]);

  radio.startListening();

  //
  // Dump the configuration of the rf unit for debugging
  //
  radio.printDetails();
}

void loop(void)
{

}
// vim:cin:ai:sts=2 sw=2 ft=cpp

I made 2 PCB boards and both show the same logs:

Image

While the working breadboard shows:

Image

Here are images of the pbc:

Image

Image

Image

Does anyone have any idea what could be going wrong ? I checked for continuity and shorts with a multimeter and there didn’t seem to be any.

Hi,
Attach your images as attachments, this shows you how to do this then post your images into your post.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Tom... :slight_smile: