Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Npaj Txhua Yam Khoom Koj Xav Tau
- Kauj ruam 2: Teeb tsa
- Kauj ruam 3: Rub lub Tsev Qiv Ntawv
- Kauj ruam 4: Upload Koj Cov Cai
- Kauj Ruam 5: Tshaj Tawm Txoj Cai Ntxiv
- Kauj ruam 6: Kho kom zoo nkauj
Video: RFID-RC522 Nrog Arduino: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Koj puas tau hnov qab koj tus password?
RFID-RC522 tuaj yeem pab koj daws qhov teeb meem no!
Los ntawm kev siv RFID-RC522, tuaj yeem pab koj nkag mus rau hauv koj tus as khauj siv daim npav. Tsis yog qhov txaus?
Txoj haujlwm no yuav qhia koj yuav nyeem daim npav UID li cas thiab siv daim npav ntawd nkag mus rau hauv koj tus as khauj.
Rau txoj haujlwm no, muaj 4 theem tseem ceeb:
1. Kev teeb tsa
2. Upload Code#1 - rau qib no, koj yuav pom UID rau koj daim npav Mifare.
3. Upload Code#1 dua - raws li koj pom qhov UID ntawm Mifare daim npav, luam thiab muab tso rau hauv koj li Code#1 thiab nkag mus rau tus as khauj tus account uas koj xav tau.
4. Kho koj qhov project
*Tsis txhob ntshai thaum koj sau cov cai. Hauv txhua kab, kuv yuav piav qhia tias koj yuav tsum ua dab tsi lossis qhov ntawv sau no hais txog dab tsi.
Khoom siv
- Arduino Leonardo x1
- Lub laptop x1
- Cov tub ntxhais sib txuas sib txuas x7
- USB cable x1
- Electronic Breadboard x1
- RFID-RC522 x1
- Mifare Card x2
Kauj Ruam 1: Npaj Txhua Yam Khoom Koj Xav Tau
Thov txheeb xyuas ntu "Cov Khoom Siv" saum toj no.
Kauj ruam 2: Teeb tsa
Koj yuav tsum muaj 7 lub xov tooj sib txuas hlau txuas txuas RFID-RC522 rau Arduino (Kuv siv Arduino Leonardo, tab sis koj tuaj yeem xaiv lwm tus).
1. SDA - txuas rau tus Pin 10
2. SCK - ICSP -3 (ICSP nyob sab xis ntawm lub rooj tsavxwm)
3. MOSI - ICSP -4
4. MISO - ICSP -1
5. IQR - peb tsis xav tau rau txoj haujlwm no
6. GND - NCO
7. RST - Pib dua
8. Vcc - 3.3v
*Yog tias koj tsis siv Arduino Leonardo, thov khij daim duab thib ob los txuas rau hauv qhov chaw raug.
Kauj ruam 3: Rub lub Tsev Qiv Ntawv
Thov saib cov vis dis aus saum toj no thiab rub lub tsev qiv ntawv.
Kauj ruam 4: Upload Koj Cov Cai
[Code]
Thaum koj upload koj cov cai, qhib Serial Monitor uas yog nyob rau sab xis saum toj ntawm koj cov cai.
Tom qab ntawd, muab koj daim npav kaw rau ntawm RFID-RC522, nws yuav qhia UID ntawm koj daim npav.
Thaum kawg, theej daim UID thiab muab lo rau koj tus lej (Kuv yuav cim qhov chaw).
Kauj Ruam 5: Tshaj Tawm Txoj Cai Ntxiv
Tom qab dhau qhov UID ntawm daim npav ntawm tus lej, koj tuaj yeem pib xav txog tus lej nyiaj twg koj yuav siv. Hauv txoj haujlwm no, Kuv siv tus password ntawm kuv lub khoos phis tawj thiab Kab (yog li kuv muaj 2 daim npav Mifare). Thaum koj xam tawm, koj tuaj yeem sau rau qhov chaws (Kuv tseem yuav cim qhov chaw koj yuav tsum tau sau). Thaum koj ua tiav, koj tuaj yeem tso tus lej qub (tus lej uas muaj koj tus lej zais).
Kauj ruam 6: Kho kom zoo nkauj
Tom qab ua tiav txhua qib, koj tuaj yeem sim kho koj qhov project!
Kuv nyiam siv daim txiag ntawv thaum koj ua qhov no.
Pom zoo:
Lwm Qhov Tseem Ceeb RFID rau Kev Ruaj Ntseg Tsheb Kauj Ruam: 7 Kauj Ruam (nrog Duab)
Lwm Qhov RFID Qhov Tseem Ceeb rau Kev Ruaj Ntseg Tsheb Kauj Ruam: Rau kev nyab xeeb hauv tsheb kauj vab, Tsuas muaj lub qhov hluav taws xob xauv hloov. Thiab nws tuaj yeem yooj yim nyiag los ntawm tub sab. Ntawm no kuv tuaj nrog DIY Kev daws rau qhov ntawd. Nws pheej yig thiab yooj yim los tsim. Nws yog lwm qhov tseem ceeb RFID rau kev ruaj ntseg tsheb tuam. Cia peb ua nws
RFID Qhov Rooj Xauv Lub Tshuab Nrog Arduino: 5 Kauj Ruam (nrog Duab)
RFID Qhov Rooj Xauv Lub Tshuab Nrog Arduino: Hauv Cov Lus Qhia no, peb yuav txuas tus RC522 RFID sensor mus rau Arduino Uno txhawm rau ua kom RFID nkag tau yooj yim kaw lub tshuab rau lub qhov rooj, tub rau khoom lossis txee. Siv lub ntsuas ntsuas no, koj yuav tuaj yeem siv daim npav RFID lossis daim npav kaw
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Ib qho yooj yim RFID MFRC522 cuam tshuam nrog Arduino Nano: 4 Cov Kauj Ruam (nrog Duab)
Ib qho yooj yim RFID MFRC522 cuam tshuam nrog Arduino Nano: Kev tswj hwm kev nkag mus yog cov txheej txheem hauv kev tiv thaiv lub cev thiab kev nyab xeeb cov ntaub ntawv, txwv tsis pub nkag mus/nkag mus rau cov peev txheej ntawm ib lub koom haum lossis thaj chaw. Txoj cai ntawm kev nkag mus yuav txhais tau tias yog siv, nkag mus, lossis siv
Tsheb kauj vab taug qab System nrog Tuag Tus Txiv Neej Alert Nrog Sigfox: 7 Cov Kauj Ruam (nrog Duab)
Tsheb kauj vab taug qab System Nrog Tuag Tus Txiv Neej Alert Nrog Sigfox: Kev ruaj ntseg rau cov neeg caij tsheb kauj vab nrog taug qab thiab xa cov yam ntxwv ceeb toom. Thaum muaj xwm txheej ceeb toom raug xa nrog GPS txoj haujlwm.Kev ruaj ntseg rau cov neeg caij tsheb kauj vab yog qhov yuav tsum tau, nrog kev tsheb kauj vab lossis tsheb kauj vab roob sib tsoo tshwm sim thiab sai li sai tau thaum muaj xwm txheej ceev