Cov txheej txheem:

Arduino RFID Reader Nrog TFT Zaub: 7 Cov Kauj Ruam
Arduino RFID Reader Nrog TFT Zaub: 7 Cov Kauj Ruam

Video: Arduino RFID Reader Nrog TFT Zaub: 7 Cov Kauj Ruam

Video: Arduino RFID Reader Nrog TFT Zaub: 7 Cov Kauj Ruam
Video: A creative way to use an NFC tag 2024, Kaum ib hlis
Anonim
Arduino RFID Nyeem Ntawv Nrog TFT Zaub
Arduino RFID Nyeem Ntawv Nrog TFT Zaub
Arduino RFID Nyeem Ntawv Nrog TFT Zaub
Arduino RFID Nyeem Ntawv Nrog TFT Zaub

Kuv yuav qhia koj hauv phau ntawv qhia no yuav ua li cas tsim kom pom zoo nyeem RFID nrog TFT zaub thiab rau phab ntsa teeb tsa.

Nws yog qhov yooj yim heev los tsim qhov zoo saib RFID nyeem ntawv nrog TFT tso tawm rau phab ntsa teeb tsa nrog Arduino MKR ntawm koj xaiv thiab peb cov khoom ArduiTouch MKR. Koj tuaj yeem siv tus nyeem ntawv no nkag mus rau lub qhov rooj lossis nkag mus rau lub tswb 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 Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Cov ntaub ntawv:

  • Arduino MKR ntawm qhov koj xaiv
  • Arduibox MKR cov khoom siv
  • Innovateking-EU RFID Reader cov khoom siv

Cov Cuab Yeej:

  • Soldering hlau
  • Cov hlau xaim
  • Hlau stripper / cutter
  • qhwv hlau

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Hauv thawj kauj ruam koj yuav tsum txuas RFID nyeem ntawv pcb nrog ArduiTouch pcb. Hauv cov duab saum toj 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 ArduiTouch pcb.

Kauj Ruam 3: Teeb tsa RFID PCB

Mounting ntawm RFID PCB
Mounting ntawm RFID PCB
Mounting ntawm RFID PCB
Mounting ntawm RFID PCB

Txog kev teeb tsa ntawm RFID pcb koj yuav tsum npaj pcb nrog daim kab xev nws tus kheej thiab muab nplaum rau sab saum toj ntawm lub plhaub ntawm ArduiTouch.

Kauj Ruam 4: Mounting ntawm ArduiTouch PCB

Mounting ntawm ArduiTouch PCB
Mounting ntawm ArduiTouch PCB

Tam sim no peb tuaj yeem txhim kho TFT ntawm ArduiTouch pcb. txuas RFID pcb thiab nce ArduiTouch pcb hauv lub plhaub saum toj ib yam

Kauj Ruam 5: Txhim Kho 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 cov ntaub ntawv/cov tsev qiv ntawv/

Tom qab txhim kho Adafruit cov tsev qiv ntawv, thov rov pib dua Arduino IDE.

Kauj Ruam 6: Cov Kev Cai Tshwj Xeeb:

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:

Thov qhib cov qauv no hauv Arduino IDE. Tom qab muab tso ua ke thiab tso tawm koj tuaj yeem tso koj lub transponders nyob rau sab saum toj ntawm ArduiTouch qhov thaiv thiab koj yuav pom qhov "Access tsis pom zoo" tshuaj ntsuam rau cov tsis paub transponders thiab "Access tau txais" rau tus paub transponder.

Pom zoo: