ESP32 RFID Custom Casing Guide

This mechanical layout uses a standard 100 x 68 x 40 mm waterproof ABS junction box. It ensures there is no metal interference behind the RFID antenna coil to guarantee maximum reading distance.

Front External Face

100
mm
68 mm width

DA-ERP
09:41 AM
TAP CARD HERE

Inside Front Lid

OLED BACK
(I2C Pins up)

Side Profiling (Depth Management)

40 mm depth
Buzzer
ESP32 / PCB
5V PWR
CLEAR ZONE ≥ 20mm Gap Min. spacing required for RDM6300 magnetic field

Critical Assembly Rules

Mounting Base Guide

Bill of Materials (BOM) Checklist

Component Description
Casing100x68x40mm ABS Waterproof Junction Box
Base Plate5x7 cm FR4 Prototyping Perfboard
Headers2x 15-pin Female Headers (for ESP32)
AdhesiveHot Glue or 3M VHB Double-Sided Tape
Power5V 2A DC Power Adapter + Female DC Jack

Hardware Pin Wiring Guide

Connect your components to the ESP32 DevKit v1 board exactly as shown below.

1. RDM6300 RFID Reader (UART)

RDM6300 PinESP32 PinNotes
TX (Pin 1)GPIO16 (RX2)Serial connection for reading data
RX (Pin 2)Not Connected
GND (Pin 3)GNDCommon ground
VCC (Pin 4)5V / VINRequires 5V power, not 3.3V
ANT (Pins 5&6)Antenna CoilConnect the provided rectangular coil here

2. SSD1306 OLED Display (I2C)

OLED PinESP32 PinNotes
GNDGNDCommon ground
VCC3.3VStandard OLED power
SCLGPIO22I2C Clock
SDAGPIO21I2C Data

3. RGB LED (Common Cathode)

LED LegESP32 PinNotes
Longest Leg (-)GNDCommon ground
Red LegGPIO25Connect via a 220Ω resistor
Green LegGPIO26Connect via a 220Ω resistor
Blue LegGPIO27Connect via a 220Ω resistor

4. Active Buzzer

Buzzer PinESP32 PinNotes
Positive (+)GPIO32Signal pin (Active HIGH)
Negative (-)GNDCommon ground