I use NRF24L01+PA+LNA with arduino pro mini 5v
For powering NRF24L01+PA+LNA I use this power adapter board and I connected it to 5v adaptor (not powering with pro mini board ,I United the grounds of arduino and nrf )
To wiring it :
NRF power adpater pin pro mini pin
CE 9
CSN 10
SCK 13
MOSI 12
MISO 11
After a while I realized that the receiver's Arduino chip gets very hot during operation and after a while The connection stopped client side send data but receiver doesn't get , I checked the nrf module (on the receiver side) with a multi-meter, CE and GND Pin are in short circuit. Why did this happen? NRF is burned?
I tested it with this code :
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <printf.h>
// Set the pins up
#define CE_PIN 9
#define CSN_PIN 10
// A pipe is needed
const uint64_t pipe = 0xE8E8F0F0E1LL; // Define the transmit pipe
// Create a Radio
RF24 radio(CE_PIN, CSN_PIN);
void setup()
{
// Start Serial
Serial.begin(9600);
while(!Serial);
// Saying hello to you
Serial.println("NRF24L01P test Script starting...");
Serial.println("If you do not see a long message after this line, something is not right!");
// This is needed so that radio.printDetails(); actually works!!!!
printf_begin();
// Start the radio
radio.begin();
// Start the radio, again set ti min & slow as I'm guessing while testing theire really close to each oth
radio.setPALevel(RF24_PA_MAX); // RF24_PA_MIN ,RF24_PA_LOW, RF24_PA_HIGH, RF24_PA_MAX
radio.setDataRate( RF24_250KBPS ); // RF24_250KBPS, RF24_1MBPS, RF24_2MBPS
radio.setChannel(50); //0-124
// Set the pipe
radio.openReadingPipe(1,pipe);
// Start listening
radio.startListening();
// And cruically print the details
radio.printDetails();
}
void loop()
{
radio.printDetails();
// Serial.println("here");
delay(10000);
// nothing here on purpose :)
}
The output is:
17:23:33.556 -> STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
17:23:33.590 -> RX_ADDR_P0-1 = 0x3130303030 0xe8e8f0f0e1
17:23:33.657 -> RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
17:23:33.691 -> TX_ADDR = 0x3130303030
17:23:33.725 -> RX_PW_P0-6 = 0x20 0x20 0x00 0x00 0x00 0x00
17:23:33.759 -> EN_AA = 0x3f
17:23:33.793 -> EN_RXADDR = 0x02
17:23:33.793 -> RF_CH = 0x32
17:23:33.827 -> RF_SETUP = 0x27
17:23:33.827 -> CONFIG = 0x0f
17:23:33.860 -> DYNPD/FEATURE = 0x00 0x00
17:23:33.893 -> Data Rate = 250KBPS
17:23:33.893 -> Model = nRF24L01+
17:23:33.928 -> CRC Length = 16 bits
17:23:33.961 -> PA Power = PA_MAX