{"id":23817817,"url":"https://github.com/lsongdev/Arduino-RFID-RC522","last_synced_at":"2025-09-07T00:32:44.869Z","repository":{"id":14264270,"uuid":"16972054","full_name":"lsongdev/RFID-RC522","owner":"lsongdev","description":"RFID-RC522 for Arduino","archived":false,"fork":false,"pushed_at":"2018-07-18T04:41:10.000Z","size":16,"stargazers_count":24,"open_issues_count":2,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-31T10:05:36.654Z","etag":null,"topics":["arduino","nfc","rfid"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsongdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-19T02:59:56.000Z","updated_at":"2024-10-17T03:41:02.000Z","dependencies_parsed_at":"2022-09-05T21:51:05.603Z","dependency_job_id":null,"html_url":"https://github.com/lsongdev/RFID-RC522","commit_stats":null,"previous_names":["lsongdev/rfid-rc522"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2FRFID-RC522","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2FRFID-RC522/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2FRFID-RC522/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2FRFID-RC522/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsongdev","download_url":"https://codeload.github.com/lsongdev/RFID-RC522/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232158299,"owners_count":18480860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","nfc","rfid"],"created_at":"2025-01-02T05:48:49.453Z","updated_at":"2025-09-07T00:32:39.455Z","avatar_url":"https://github.com/lsongdev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get start RFID with Arduino\n\n## First\n\n+ Arduino UNO v3\n+ RFID RC522\n\n## Connect\n\nPin layout should be as follows:\n\n| RFID | Arduino |\n|:-----|--------:|\n| 3.3V | 3.3V    |\n| RST  | 9       |\n| GND  | GND     |\n| MISO | 12      |\n| MOSI | 11      |\n| SCK  | 13      |\n| SDA  | 10      |\n| IRQ  | -       |\n\n **IRQ** Not connected\n\n## Installing RFID Libraries\n\n\tcd ~/Documents/Arduino/libraries\n\tgit clone https://github.com/song940/rfid.git RFID\n\t\nreboot arduino .\n\n## Example Code\n\n```cpp\n#include \u003cSPI.h\u003e\n#include \u003cRFID.h\u003e\n\n#define SS_PIN 10\n#define RST_PIN 9\n\nRFID rfid(SS_PIN, RST_PIN);\n\nvoid setup()\n{\n  Serial.begin(9600);\n  SPI.begin();\n  rfid.init();\n}\n\nvoid loop()\n{\n  if (rfid.isCard()) {\n    Serial.println(\"Find the card!\");\n    if (rfid.readCardSerial()) {\n      Serial.print(\"The card's number is  : \");\n      Serial.print(rfid.serNum[0],HEX);\n      Serial.print(rfid.serNum[1],HEX);\n      Serial.print(rfid.serNum[2],HEX);\n      Serial.print(rfid.serNum[3],HEX);\n      Serial.print(rfid.serNum[4],HEX);\n      Serial.println(\" \");\n    }\n    rfid.selectTag(rfid.serNum);\n  }\n  rfid.halt();\n}\n```\n    \n## License\n\n[MIT](http://lsong.mit-license.org/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2FArduino-RFID-RC522","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsongdev%2FArduino-RFID-RC522","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2FArduino-RFID-RC522/lists"}