Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
/ rfid32 Public archive

💳 Lua library for interfacing ESP32 with MFRC522 RFID Card Reader

License

Notifications You must be signed in to change notification settings

abobija/rfid32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

rfid32

Lua (NodeMCU) library for interfacing ESP32 with MFRC522 rfid card reader

Demo

Interfacing ESP32 with RFID Card Reader MFRC522

Usage

This example will print UID (in hexadecimal representation) of scanned rfid tag.

  require('rfid32')({
        pin_sda  = 22,
        pin_clk  = 19,
        pin_miso = 25,
        pin_mosi = 23
    })
    .init()
    .scan({
        got_tag = function(tag, rfid)
            print( tag.hex() )
        end
    })

Dependencies

The library depends on the following NodeMCU modules:

  • spi
  • bit
  • tmr

About

💳 Lua library for interfacing ESP32 with MFRC522 RFID Card Reader

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages