Cov txheej txheem:

RFID RC522 (Raspberry Pi): 4 Kauj Ruam
RFID RC522 (Raspberry Pi): 4 Kauj Ruam

Video: RFID RC522 (Raspberry Pi): 4 Kauj Ruam

Video: RFID RC522 (Raspberry Pi): 4 Kauj Ruam
Video: Raspberry Pi LESSON 68: Using the MFRC522 RFID Module and Tag on Raspberry Pi 2024, Kaum ib hlis
Anonim
RFID RC522 (Raspberry Pi)
RFID RC522 (Raspberry Pi)

Qhia yooj yim ntawm yuav teeb tsa RFID nyeem ntawv/sau ntawv (RC522) nrog Raspberry Pi.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

RPI 3 -

4 Amp Power Adapter -

16GB micro SD -

120 pcs jumper cable:

RFID Sensor -

Kauj ruam 2: Teeb

Teeb
Teeb
Teeb
Teeb

SDAB 24

SWB 23

MOOG 19

MYOB 21

IRQ tsis siv

NQA 6

TSW 22

3.3V 1

1. Pab kom SPI cuam tshuam

sudo raspi-teeb tsa

2. Rov pib dua

sudo rov pib dua

3. Txheeb xyuas yog tias spi_bcm2835 raug thauj khoom

lsmod | pab spi

4. Nruab python2.7-dev

sudo apt-tau nruab python2.7-dev

5. Rub tawm Git Project, hloov cov npe, thiab teeb tsa

git clone

cd SPI-Py

sudo python setup.py nruab

6. Nruab MFRC522-python

git clone

cd MFRC522-nab hab sej

7. Khiav tsab ntawv

nab hab sej Read.py

Kauj ruam 3: Code

Code
Code

github.com/mxgxw/MFRC522-python.git

Nyeem los ntawm daim npav RFID:

github.com/mxgxw/MFRC522-python/blob/maste…

Sau rau daim npav RFID:

github.com/mxgxw/MFRC522-python/blob/maste…

Kauj Ruam 4: Cov Lus Qhia Ntxiv

Image
Image

Lub Vev Xaib:

www.piddlerintheroot.com/rfid-rc522-raspbe…

Pom zoo: