Coder Social home page Coder Social logo

mfrc522_rfid_library's Introduction

RFID

Update for Libraries 2.0 by Paul Kourany, Jan 2017 - v1.0.3 Adapted for Spark Core by Paul Kourany, May 2014

v0.1.2 - SOS bug fixed, now compatible with all Particle devices

Read a card using a mfrc522 reader on your SPI interface on your Arduino

  • Pin layout should be as follows (on Spark Core):
  • MOSI: Pin A5
  • MISO: Pin A4
  • SCK : Pin A3
  • SS : Pin A2 (Configurable)
  • RST : Pin D2 (Configurable)

Arduino RFID Library for MFRC522

Read a card using a mfrc522 reader on your SPI interface on your Arduino

  • Pin layout should be as follows (on Arduino Uno):

  • MOSI: Pin 11 / ICSP-4

  • MISO: Pin 12 / ICSP-1

  • SCK : Pin 13 / ISCP-3

  • SS : Pin 10 (Configurable)

  • RST : Pin 9 (Configurable)

  • Pin layout should be as follows (on Arduino Mega):

  • MOSI: Pin 51 / ICSP-4

  • MISO: Pin 50 / ICSP-1

  • SCK : Pin 52 / ISCP-3

  • SS : Pin 53 (Configurable)

  • RST : Pin 5 (Configurable)

mfrc522_rfid_library's People

Contributors

ninjatill avatar pkourany avatar wgbartley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mfrc522_rfid_library's Issues

Using another SPI interface

Hello Paul,

Can you add support to choose another SPI Interface for MFRC522?
I'm trying to use this on a device which has SPI, SPI1, SPI2 and I cannot use SPI as I need for another device.
Could you please kindly help me out on how I can use SPI1

Thanks,
Kishan

Fails to complie in Particle Web IDE

Hi there

When compiling this library in the Particle IDE it returns an error

"lib/MFRC522/MFRC522.cpp:1631:1: control reaches end of non-void function [-Werror=return-type]"

It looks like the function MIFARE_UnbrickUidSector is expected to return a value, but isn't doing so in some conditions.

Returning true at the end of this function (around line 1631 of MFRC522.cpp) looks like it should fix the problem.

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.