ESP32 S3 WROOM freenove

Hello...
am trying to connect ESP32 S3 WROOM freenove with RC522 and use the dumpit example... am struggling with pins connections...
I've attached the pin layout of the esp32 model, appreciate guiding me on:
what pins on this esp32 model shall i connect the following to:
SDK, SCK, MOSI, MISO, RST

should i define all or just RST and SDK..

#define RST         ?          // Configurable, see typical pin layout above
#define SDK          ?         // Configurable, see typical pin layout above

You're topic has been moved to a more suitable location on the forum. The Nano ESP32 section of the forum is only for questions related to the Arduino Nano ESP32, not for other ESP32 based boards.

Check out the sample sketches for the RC522. Hook that up, run the code to make sure the board works and the wiring is correct.

1 Like

The default SPI pins for the ESP32S3 are;

MOSI: 11
SCK: 12
MISO: 13

But on the pin map you posted those pins are used by the camera.

So you will need to define other pins for MOSI, SCK and MISO.

2 Likes

That was the exact issue, I ended up using different gpios and it worked... The gpios that worked for this model were:

RC522 Pin ESP32-S3 Alternate Pin
RST GPIO 9
SDA (SS) GPIO 14
MISO GPIO 37
MOSI GPIO 35
SCK GPIO 36
1 Like

Check the pinout you posted.

Those are the pins used by the PSRAM .................

True, double checked and it works fine on GPIO (35, 36, 37), also tried pins (38, 39, 40) and works as well..

#include <SPI.h>
#include <MFRC522.h>

#define RST_PIN  9  // Alternate RST pin
#define SS_PIN   14 // Alternate SDA (SS) pin

MFRC522 mfrc522(SS_PIN, RST_PIN);  // Create MFRC522 instance

void setup() {
  Serial.begin(115200);
  SPI.begin(39, 40, 38, SS_PIN);  // Initialize SPI with alternate pins
  mfrc522.PCD_Init();             // Initialize MFRC522
  delay(10);                       // Optional delay for stability
  mfrc522.PCD_DumpVersionToSerial();  // Show version details
  Serial.println(F("Scan PICC to see UID, type, and data blocks..."));
}


Until you use PSRAM for the Camera which other people reading this thread, in the future, might well be doing.

Might be the reason why on your board pis 35, 36, 37 are marked differently ......

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.