Cov txheej txheem:

ESP32 Raws Li RFID Reader Nrog Kov Zaub: 7 Cov Kauj Ruam
ESP32 Raws Li RFID Reader Nrog Kov Zaub: 7 Cov Kauj Ruam

Video: ESP32 Raws Li RFID Reader Nrog Kov Zaub: 7 Cov Kauj Ruam

Video: ESP32 Raws Li RFID Reader Nrog Kov Zaub: 7 Cov Kauj Ruam
Video: #171 Arduino Guide to Infrared (IR) Communication also for ESP32 and ESP8266 2024, Kaum ib hlis
Anonim
ESP32 Raws Li RFID Reader Nrog Kov Zaub
ESP32 Raws Li RFID Reader Nrog Kov Zaub
ESP32 Raws Li RFID Reader Nrog Kov Zaub
ESP32 Raws Li RFID Reader Nrog Kov Zaub

Ntawm cov lus qhia me me no kuv yuav qhia yuav ua li cas thiaj tsim tau yooj yim RFID nyeem ntawv nrog TFT tso tawm rau phab ntsa mounting siv ESP32 DEV KIT C module, RC-522 raws tus nyeem ntawv pcb thiab AZ-Touch ESP cov khoom siv. Koj tuaj yeem siv tus nyeem ntawv no nkag mus rau qhov rooj los yog cov tub sab nyiag lub tswb. Nws yog qhov yooj yim los txuas qhov kev tsim qauv yooj yim no rau cov ntawv thov nyuaj dua thiab xa cov ntaub ntawv wireless.

Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom

Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Cov ntaub ntawv:

  • ESP32 DEV cov khoom siv V3
  • RC522 Daim npav nyeem ntawv module
  • AZ-Touch ESP cov khoom siv
  • hlau xaim
  • selfadhesive daim kab xev
  • qhwv hlau

Cov Cuab Yeej:

  • cam khwb cia hlau
  • hlau stripper & cutter

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Tom qab sib dhos ntawm AZ-Touch ESP cov khoom siv, koj yuav tsum xaim RFID nyeem ntawv pcb. Hauv cov duab hauv qab no koj yuav pom daim duab kab hluav taws xob thiab qee cov duab ntawm kuv qhov kev daws teeb meem tiag. Hauv txhua qhov xwm txheej nws tau pom zoo kom siv txuas ntawm RFID nyeem ntawv pcb thiab AZ-Touch pcb.

Kauj Ruam 3: Kev npaj RFID PCB

Kev npaj ntawm RFID PCB
Kev npaj ntawm RFID PCB
Kev npaj ntawm RFID PCB
Kev npaj ntawm RFID PCB

Rau kev teeb tsa ntawm RFID pcb koj yuav tsum npaj pcb nrog daim kab xev nws tus kheej thiab muab nws lo rau saum lub plhaub ntawm AZ-Touch enclosure

Kauj Ruam 4: Mounting ntawm AZ-Touch PCB

Mounting ntawm AZ-Touch PCB
Mounting ntawm AZ-Touch PCB
Mounting ntawm AZ-Touch PCB
Mounting ntawm AZ-Touch PCB

Tam sim no peb tuaj yeem txhim kho TFT ntawm ArduiTouch pcb, txuas RFID pcb thiab nce AZ-Touch pcb hauv lub plhaub sab saum toj ib yam

Kauj Ruam 5: Txhim Kho Firmware

Cov piv txwv xav tau Arduino IDE thiab qee lub tsev qiv ntawv ntxiv. Thov teeb tsa cov tsev qiv ntawv hauv qab no los ntawm Arduino Tus Thawj Saib Xyuas Tsev Qiv Ntawv.

  • AdafruitGFX Lub Tsev Qiv Ntawv
  • AdafruitILI9341 Lub Tsev Qiv Ntawv
  • MFRC522Library

Koj tuaj yeem rub tawm lub tsev qiv ntawv tseem ncaj qha raws li ZIP cov ntaub ntawv thiab uncompress lub nplaub tshev hauv qab koj tus lejduinosketchfolder/cov tsev qiv ntawv/Tom qab txhim kho Adafruit cov tsev qiv ntawv, thov rov pib dua Arduino IDE.

Kauj Ruam 6: Custom Settings

Hauv qhov chaws koj tuaj yeem teev tus lej ntawm tus paub transponder:

byte blue_uid = {0x09, 0x8D, 0x9D, 0xA3};

Koj yuav tsum hloov qhov no mus rau UID ntawm ib qho ntawm koj cov transponders. (UID ntawm koj cov transponders yuav pom hauv "Access tsis pom zoo" screen)

Kauj ruam 7: Khiav Demo:

Image
Image

Thov qhib cov qauv no hauv Arduino IDE. Tom qab muab tso ua ke thiab rub tawm (thov kaw Jumper JP1 ntawm AZ-Touch pcb rau upload) koj tuaj yeem tso koj lub transponders nyob rau sab saum toj ntawm AZ-Touch enclosure thiab koj yuav pom qhov "Access tsis pom zoo" screen rau cov tsis paub transponders thiab "Access access" rau tus paub transponder.

Pom zoo: