vnprak / Online-Risk

0 stars 0 forks source link

Test RFID card reader and tags #10

Open vnprak opened 3 years ago

vnprak commented 3 years ago
ffund commented 3 years ago

Useful references:

Lab manual from DP1. Datasheet

ffund commented 3 years ago

Make sure it turns on

Connect to Pi as in Section 1.3.3 of lab manual.

Expected result: none. To show: photograph

ffund commented 3 years ago

Connect SPI bus and make sure code from DP1 works with it

Test code from DP1:

cd ~/lab-spi
python3 spi-id.py

This should get card ID, as described in Section 1.3.4 of lab manual. To show: command and terminal output when you successfully get card ID. (or if unsuccessful, commands and terminal output, and all attempts to debug/fix.)

ffund commented 3 years ago

Make sure setup.py checks that mfrc522 is installed

Add an install_requires line and mention mfrc522 as a prerequisite.

See doc.

To show: output when installing library - it will indicate that it checks for mfrc522. Make sure to reference this issue in commit(s).