Skip to content
314HPublic
forked from abobija/rfid32

About

💳 Lua library for interfacing ESP32 with MFRC522 RFID Card Reader

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages