2025 Muallif: John Day | [email protected]. Oxirgi o'zgartirilgan: 2025-01-13 06:58
Raspberry Pi yordamida RFID o'quvchi/yozuvchi (RC522) ni sozlash bo'yicha asosiy qo'llanma.
1 -qadam: qismlar
RPI 3 -
4 Amp quvvat adapteri -
16 Gb micro SD -
120 dona o'tish kabeli:
RFID sensori -
2 -qadam: sozlash
SDA 24
SCK 23
MOSI 19
MISO 21
IRQ FOYDALANILMAGAN
GND 6
RST 22
3.3V 1
1. SPI interfeysini yoqish
sudo raspi-config
2. Qayta yuklash
sudo qayta yuklash
3. spi_bcm2835 yuklanganligini tekshiring
lsmod | grep spi
4. Python2.7-dev ni o'rnating
sudo apt-get install python2.7-dev
5. Git loyihasini yuklab oling, katalogni o'zgartiring va o'rnating
git klon
CD SPI-Py
sudo python setup.py ni o'rnating
6. MFRC522-python-ni o'rnating
git klon
CD MFRC522-python
7. Skriptni ishga tushirish
Python Read.py
3 -qadam: kod
github.com/mxgxw/MFRC522-python.git
RFID kartasidan o'qish:
github.com/mxgxw/MFRC522-python/blob/maste…
RFID kartasiga yozish:
github.com/mxgxw/MFRC522-python/blob/maste…
4 -qadam: Qo'shimcha ma'lumotlar
Rasmiy veb -sayt:
www.piddlerintheroot.com/rfid-rc522-raspbe…