GithubHelp home page GithubHelp logo

spacecase123 / pipicorfid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saket-upadhyay/pipicorfid

0.0 0.0 0.0 13.81 MB

Code and modified library to Read/Write data in MIFARE RFID Cards and Tokens using Raspberry Pi Pico Microcontroller and MFRC522 Module. Written in MicroPython.

License: MIT License

Python 100.00%

pipicorfid's Introduction

PiPicoRFID

Code and modified library to Read/Write data in MIFARE RFID Cards and Tokens using Raspberry Pi Pico Microcontroller and MFRC522 Module. Written in MicroPython.

Pinout

Raspberry Pi Pico

SRC:https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf

RC522 RFID Module

SRC:https://microcontrollerslab.com/wp-content/uploads/2020/01/RC522-RFID-CARD-READERS-Pinout.png

Hardware Connection (RC522 to Pico)

RC522 RFID Reader Module Raspberry Pi Pico
VCC 3.3V
RST GP0
GND GND
IRQ Not connected
MISO GP4
MOSI GP3
SCK GP2
SDA GP1

Set-up MicroPython in Pico

To set-up Pico with micropython READ THIS PDF

source : https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-python-sdk.pdf (27 May 2022, 20:10 IST)

Modules

Run the modules via minicom or other serial interface. serial interface on Pico will interact with MicroPython To learn how to communicate with MicroPython of Pico in Windows using WSL, read THIS ARTICLE.

readRFID

This module is used to read data from RFID card, to use

import readRFID
readRFID.RUN()

writeRFID

This module will write 16bytes of data at address 0x08, this can be changed at -

stat = rdr.write(8, b"\x44\xFF\x4d\x6f\xFF\x47\xFF\x49\x6d\x6d\x55\xFF\x73\x4a\x44\x65")

Then run the module -

import writeRFID
writeRFID.RUN()

KeyGen

PS PiPicoRFID\src> python3 .\KeyGen.py
Key : RYhpNkAgIpBmbrL9
HexData to Write : "\x52\x59\x68\x70\x4e\x6b\x41\x67\x49\x70\x42\x6d\x62\x72\x4c\x39"

SampleRFIDScanner

import SampleRFIDScanner
SampleRFIDScanner.RUN()

CloneCardData

import CloneCardData
CloneCardData.RUN()

Project Report and Presentation

  1. Project Report (DOCX->PDF)
  2. Presentation (PPTX->PDF)

pipicorfid's People

Contributors

saket-upadhyay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.