Two MFRC522 modules from different batches, same firmware, same card: one reads at 5 cm, the other barely at 2 cm.
You don't need a lot of hardware or complex coding to create practical ESP32-based devices. A single sensor, a battery, and a ...