Arduino Hat Design Inquiry

Part selection is underway. I found a PN532 RFID IC and a 5 V relay with verified 120 VAC-capable contacts; the wide-input buck IC search needs a library fallback because the first pass only found module-style entries.
Main ICs are added. I’m now adding the required passives and will wire power, SPI level shifting, microSD, relay driver, and safe relay contact terminals.
I started the fully integrated Arduino Uno shield schematic and renamed the project to Arduino RFID SD Relay Shield.
Completed:
  • Added PN532 RFID IC, microSD socket, relay, relay driver, flyback diode, MP1584 buck, 3.3 V LDO, SPI level shifter, terminal blocks, Arduino header placeholders, and support passives.
  • Wired the initial 28 V input, 5 V rail, 3.3 V rail, SPI level-shift path, relay driver, and relay contacts.
  • Created:
Important: the schematic is not layout-ready yet. Review still reports unresolved floating pins, mainly because the MP1584 buck support network and PN532 crystal/antenna/matching/reset circuitry need to be completed from the datasheets before moving to PCB layout.
Complete missing circuits
Fix ERC warnings
Improve Arduino headers
Add protection features
Prepare for layout
J_D8 Pin_5 - U_LVL 2A
K1 COM - J_RELAY 1
K1 NC - J_RELAY 3
U_LVL 3Y - J_SD D3
R_RELAY_B P2 - Q1 B
U_LDO VOUT - C_LDO_OUT P1
U_LDO EN - K1 COIL_1
K1 COIL_2 - Q1 C
K1 NC - J_RELAY 3
R_RELAY_B P1 - J_D8 Pin_8
K1 NO - J_RELAY 2
U_LDO VOUT - C_LDO_OUT P1
U_LDO EN - K1 COIL_1
J_D8 Pin_6 - U_LVL 1A
R_RELAY_B P1 - J_D8 Pin_8
U_LVL 2Y - J_SD CMD
U_LVL 3Y - J_SD D3
J_IN 1 - C_BUCK_IN P1
R_RELAY_B P2 - Q1 B
K1 NO - J_RELAY 2
J_IN 1 - C_BUCK_IN P1
U_LDO VOUT - C_LDO_OUT P1
U_LVL 3Y - J_SD D3
K1 COIL_2 - Q1 C
K1 COIL_2 - Q1 C
U_LDO VOUT - C_LDO_OUT P1
J_D8 Pin_4 - J_SD D0
U_LDO VOUT - C_LDO_OUT P1
L_BUCK P2 - C_BUCK_OUT P1
U_LVL 2Y - J_SD CMD
U_LDO VOUT - C_LDO_OUT P1
J_D8 Pin_4 - J_SD D0
U_LVL 1Y - J_SD CLK
U_LDO VOUT - C_LDO_OUT P1
K1 COM - J_RELAY 1
L_BUCK P2 - C_BUCK_OUT P1
U_LVL 2Y - J_SD CMD
J_D8 Pin_6 - U_LVL 1A
U_LDO EN - K1 COIL_1
U_LVL 1Y - J_SD CLK
J_D8 Pin_5 - U_LVL 2A
U_LDO VOUT - C_LDO_OUT P1
L_BUCK P2 - C_BUCK_OUT P1
R_RELAY_B P2 - Q1 B
U_LVL 1Y - J_SD CLK
U_LDO VOUT - C_LDO_OUT P1
J_D8 Pin_2 - U_LVL 4A
U_BUCK SW - L_BUCK P1
U_LVL 4Y - U_RFID NSS/P50_SCL/HSU_RX
U_BUCK SW - L_BUCK P1
J_D8 Pin_2 - U_LVL 4A
J_D8 Pin_4 - J_SD D0
L_BUCK P2 - C_BUCK_OUT P1
U_LVL 4Y - U_RFID NSS/P50_SCL/HSU_RX
J_IN 1 - C_BUCK_IN P1
J_D8 Pin_3 - U_LVL 3A
J_D8 Pin_3 - U_LVL 3A
U_LDO VOUT - C_LDO_OUT P1
U_LDO VOUT - C_LDO_OUT P1
U_BUCK GND - C_BUCK_OUT P2
U_RFID DVSS - U_RFID AVSS
U_BUCK GND - C_BUCK_OUT P2
Q1
U_LVL
C_BUCK_IN
Capacitance
10uF
R_RELAY_B
Resistance
1.0kΩ
C1
Capacitance
0.1uF
J_SD GND - J_SD GND
C_LVL
Capacitance
0.1uF
U_BUCK GND - C_BUCK_OUT P2
U_RFID TVSS2 - U_RFID EP
GND
U_RFID TVSS2 - U_RFID EP
U_BUCK GND - C_BUCK_OUT P2
J_SD GND - J_SD GND
U_LVL *2OE - U_LVL *3OE
U_RFID DVSS - U_RFID AVSS
GND
GND
U_RFID TVSS2 - U_RFID EP
Q1 E - R_RELAY_PD P2
U_RFID TVSS2 - U_RFID EP
U_BUCK GND - C_BUCK_OUT P2
GND
U_BUCK GND - C_BUCK_OUT P2
U_LVL *2OE - U_LVL *3OE
C_LDO_OUT
Capacitance
1.0uF
U_RFID DVSS - U_RFID AVSS
U_BUCK GND - C_BUCK_OUT P2
C2
Capacitance
0.1uF
U_BUCK GND - C_BUCK_OUT P2
GND
R1
Resistance
100kΩ
R_RELAY_PD
Resistance
100kΩ
C_LDO_IN
Capacitance
1.0uF
Q1 E - R_RELAY_PD P2
U_RFID TVSS2 - U_RFID EP
C_BUCK_OUT
Capacitance
22uF
J_RELAY
J_D8
U_LDO
U_BUCK
J1
J_PWR
J_SD
K1
D_FLY
Not Recommended for New Designs
J_IN
U_RFID
Not Recommended for New Designs
L_BUCK
Inductance
10uH

Refine this doc
Ask about this doc
Design Notes — Arduino RFID SD Relay Shield
Requirements
  • Arduino Uno shield form factor.
  • Fully integrated IC/socket design, not plug-in modules.
  • 13.56 MHz RFID reader.
  • microSD card reader.
  • Relay for a 120 VAC signal circuit.
  • 28 VDC input bucked to 5 VDC.
Selected Architecture
  • RFID: NXP PN532 13.56 MHz NFC/RFID controller, SPI interface to Arduino.
  • Storage: microSD socket in SPI mode.
  • Logic level strategy: Arduino 5 V SPI/control outputs pass through SN74LVC125A powered from 3.3 V; MISO is returned to Arduino from 3.3 V devices.
  • Power: MP1584 buck regulator from 28 V to 5 V, then MIC5504-3.3 LDO for 3.3 V logic/RFID/microSD.
  • Relay: 5 V PR2 relay driven by MMBT2222A low-side transistor with flyback diode.
Preliminary Power Budget

Table


LoadRailEstimate
Arduino Uno from shield 5 V rail5 V150–250 mA typical allowance
PR2-5V relay coil5 V450 mW / 5 V ≈ 90 mA
PN532 + RF front end3.3 VTODO: verify final current from PN532 datasheet/application circuit
microSD card3.3 Vup to ~100–200 mA transient depending on card
SN74LVC125A3.3 Vlow mA
Preliminary design target: size the 5 V buck for at least 1 A available output current. At 28 V input and 85% efficiency, 5 V / 1 A output implies about 210 mA input plus margin.
Current Schematic Status
  • Main components and initial support passives have been added.
  • Power, SPI, relay driver, and relay contact nets are partially wired.
  • ERC still reports unresolved floating pins.
Open Design Items Before Layout
  1. Complete MP1584 datasheet extraction from direct PDF and add the exact feedback divider, bootstrap capacitor, compensation network, frequency setting, catch diode if required, and final inductor/capacitor values.
  2. Complete PN532 reference design: 27.12 MHz crystal/load capacitors, reset/strap pins, TVDD/PVDD/VBAT/VMID filtering, antenna matching network, and loop antenna layout.
  3. Replace placeholder Arduino headers with accurate Uno R3 shield headers and pin naming.
  4. Add test points for VIN_28V, 5V, 3V3, GND, relay drive, SPI_SCK_3V3, SPI_MOSI_3V3, and SD/RFID chip selects.
  5. Verify 120 VAC creepage/clearance in PCB layout; keep relay contact copper isolated from SELV logic copper.
  6. Re-run ERC until all violations are resolved or explicitly justified.
  • Requirements

  • Selected Architecture

  • Preliminary Power Budget

  • Current Schematic Status

  • Open Design Items Before Layout

Arduino RFID SD Relay Shield

Arduino RFID SD Relay Shield thumbnail
Fully integrated Arduino Uno shield with 13.56 MHz RFID reader, microSD card interface, isolated relay output for a 120 VAC signal circuit, and 28 VDC to 5 V buck power input.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$2.40–$2.78

Digi-Key

$1.67–$1.71

HQonline

$1.07

LCSC

$4.33–$4.39

Mouser

$20.76–$20.84

TME

$0.00

Verical

$10.81–$14.69

Controls