I recently wrote a German tutorial (https://plantprogrammer.de/esp32-rfid-and-mqtt/) that describes on how to use an ESP to publish UIDs of RFID-tags into an MQTT ...
ติดตั้ง library ของ RFID module โดยพิมพ์คำว่า MFRC522 ในช่องค้นหา library แล้วเลือกติดตั้ง "MFRC522 by GithubCommunity" เวอร์ชัน 1.4.10 ...