Hey guys, student here that needs help with ESP32-S3-Wroom1 Clone to connect with NRF24L01+ module.
I connected as follows:
SCK -> GPIO 12 (pin 11)
MISO -> GPIO 13 (pin 12)
MOSI -> GPIO 11 (pin 10)
CE -> GPIO 10 (pin 9)
CSN -> GPIO 9 (pin 46)
I've already checked that everything is connected well and I lowered the SPI Mhz to 1Mhz from 10Mhz.
The NRF24l01+ Module is powered separately through a 5V source on the break-out board (It is safe for 5V with regulator).
**Attached to this post is the result of printDetails command.
Code ran:
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define VSPI 3
const int VSPI_MISO = 13; // MISO D
const int VSPI_MOSI = 11; //MOSI Q
const int VSPI_SCLK = 12; //CLK
const int VSPI_SS = 9; //CSN
SPIClass vspi = SPIClass(VSPI);
RF24 radio(10, 9); // CE, CSN
const byte address[6] = "00001";
void setup() {
vspi.begin(VSPI_SCLK, VSPI_MISO, VSPI_MOSI, VSPI_SS);
radio.begin();
radio.setAutoAck(false);
radio.setDataRate(RF24_250KBPS);
radio.openReadingPipe(0, address);
radio.setPALevel(RF24_PA_MIN);
radio.startListening();
Serial.begin(9600);
}
void loop() {
if (radio.available()) {
char text[32] = "";
radio.read(&text, sizeof(text));
Serial.println(text);
Serial.println("available");
}
if (radio.isChipConnected()) {
Serial.println("Transmitter NF24 connected to SPI");
} else {
Serial.println("\n\nNF24 is NOT connected to SPI");
}
radio.printDetails();
delay(1000);
}
I am not able to achieve such results.
May you please send me a Pinout connection for NRF24L01+ with ESP32-S3-DevKitC-1 OR ESP32 Dev Module (I tried Both and still no progression).
Also an Rx Code and Tx Code, something simple like to produce a hello world.. I've yet to manage. Thank you in advance.
EDIT:
my Arduino Interface is 2.3.2 and the RF24 Lib I'm using is 1.4.9, Could this be the issue?
So far Everything has been "NF24 is NOT connected to SPI"
Thank you for your guidance It helped a lot.
The biggest problem was the NRF24L01 Break-out board, it required a 10uF Electrolytic Capacitor from the + to - of it as the Vdrop was too high.