RDM6300 125 kHz RFID reader with ESP32

Supply 5 V Bus GPIO
TXRXNCGND5VANT1ANT2LEDVCC2GND2

Pins and ESP32 wiring

PinRoleESP32 pinNotes
TXOutput (the part drives it)D25UART 9600 baud at 5 V level: use a voltage divider to an ESP32 RX pin
RXNot wired to the ESP32—Not used
NCNot wired to the ESP32—Not connected
GNDGroundGND
5VPowerVIN5 V only
ANT1Not wired to the ESP32—Antenna coil
ANT2Not wired to the ESP32—Antenna coil
LEDNot wired to the ESP32—Card indicator output, optional
VCC2Not wired to the ESP32—Second 5 V pin (same as 5V)
GND2GroundGND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

This module is sold for 5 V. Its outputs may be 5 V: use a level shifter or a voltage divider on ESP32 inputs.

Starter code (Arduino)

void setup() {
  Serial.begin(115200);
  pinMode(25, INPUT);  // TX
}

void loop() {
  Serial.println(digitalRead(25));
  delay(100);
}

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.