Cov txheej txheem:

RFID Raws Li Xaiv thiab Muab Neeg Hlau: 4 Kauj Ruam
RFID Raws Li Xaiv thiab Muab Neeg Hlau: 4 Kauj Ruam

Video: RFID Raws Li Xaiv thiab Muab Neeg Hlau: 4 Kauj Ruam

Video: RFID Raws Li Xaiv thiab Muab Neeg Hlau: 4 Kauj Ruam
Video: КАК РАБОТАЮТ RFID - МЕТКИ 2024, Hlis ntuj nqeg
Anonim
RFID Raws Li Xaiv thiab Muab Neeg Hlau
RFID Raws Li Xaiv thiab Muab Neeg Hlau
RFID Raws Li Xaiv thiab Muab Neeg Hlau
RFID Raws Li Xaiv thiab Muab Neeg Hlau

Txij li ntau xyoo tib neeg sim hloov tib neeg ua haujlwm nrog tshuab. Cov tshuab hu ua neeg hlau tau nrawm dua thiab ua haujlwm tau zoo dua li tib neeg. Lub sij hawm neeg hlau yog xyaum txhais raws li kev kawm, tsim thiab siv cov tshuab neeg hlau rau kev tsim khoom. Cov neeg hlau feem ntau siv los ua qhov tsis nyab xeeb, muaj kev phom sij, rov ua dua, thiab ua haujlwm tsis zoo. Lawv muaj ntau txoj haujlwm sib txawv xws li tuav cov khoom, sib dhos, vuam arc, tiv thaiv vuam thiab tshuab cuab yeej thauj khoom thiab tshem tawm cov haujlwm, pleev xim, txau, thiab lwm yam. Kev tsim kho cov neeg ua haujlwm raws li caj npab ntawm tus neeg hlau yog ua raws tib neeg caj npab. Tus neeg hlau muaj lub peev xwm los tswj cov khoom xws li khaws thiab ua haujlwm. Nws kuj tseem tuaj yeem ua haujlwm los ntawm nws tus kheej. Kev tsim kho hluav taws xob kev lag luam neeg hlau tshuab thev naus laus zis tau nthuav dav zuj zus. Raws li ib daim ntawv thov, kev pabcuam neeg hlau nrog lub tshuab pom kev muaj peev xwm tau tsim los tsis ntev los no.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

1) RFID Tag

2) RFID nyeem ntawv

3) Arduino UNO

4) Jumper Hlau

5) Servo Tsav

6) DC Tsav

7) Robotic Arm (https://www.amazon.in/Roinco-Metallic-Mechanical-robotic-Gripper/dp/B07FP28Q5J/ref=sr_1_8?keywords=robotic+ARM&qid=1576065471&sr=8-8)

Kauj Ruam 2: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court

Kauj Ruam 3: Txheeb Cov Cai ntawm Ardiuno thiab Tshaj Tawm

Txheeb xyuas Code ntawm Ardiuno thiab Upload
Txheeb xyuas Code ntawm Ardiuno thiab Upload
Txheeb Cov Cai ntawm Ardiuno thiab Tshaj Tawm
Txheeb Cov Cai ntawm Ardiuno thiab Tshaj Tawm

/*

*

* Txhua qhov peev txheej rau txoj haujlwm no:

* Hloov los ntawm Rui Santos

*

* Tsim los ntawm FILIPEFLOP

*

*/

#suav nrog

#suav nrog

#define SS_PIN 10

#txhais RST_PIN 9

MFRC522 mfrc522 (SS_PIN, RST_PIN); // Tsim qhov piv txwv MFRC522.

void teeb tsa ()

{

Serial.begin (9600); // Pib kev sib txuas lus txuas

SPI.begin (); // Pib tsheb npav SPI

mfrc522. PCD_Init (); // Pib MFRC522

Serial.println ("Kwv yees koj daim npav rau tus nyeem ntawv …");

Serial.println ();

}

void lub voj ()

{

// Nrhiav daim npav tshiab

yog (! mfrc522. PICC_IsNewCardPresent ())

{

rov qab;

}

// Xaiv ib daim npav

yog (! mfrc522. PICC_ReadCardSerial ())

{

rov qab;

}

// Qhia UID ntawm tus saib xyuas

Serial.print ("UID tag:");

Cov ntsiab lus hlua = "";

byte tsab ntawv;

rau (byte kuv = 0; kuv <mfrc522.uid.size; kuv ++)

{

Serial.print (mfrc522.uid.uidByte <0x10? "0": "");

Serial.print (mfrc522.uid.uidByte , HEX);

content.concat (Txoj hlua (mfrc522.uid.uidByte <0x10? "0": ""));

content.concat (Txoj hlua (mfrc522.uid.uidByte , HEX));

}

Serial.println ();

Serial.print ("Xov:");

content.toUpperCase ();

yog (content.substring (1) == "BD 31 15 2B") // hloov ntawm no UID ntawm daim npav/daim npav uas koj xav muab rau

{

Serial.println ("Kev tso cai nkag tau");

Serial.println ();

ncua (3000);

}

lwm tus {

Serial.println ("Nkag mus tsis pom zoo");

ncua (3000);

}

}

Kauj Ruam 4: Txheeb Cov Yees Duab

Txheeb Tus Yees Duab
Txheeb Tus Yees Duab

Txheeb cov vis dis aus thiab sib sau ua tus digram

Pom zoo: