Git Product home page Git Product logo

esp32-mfrc522's Introduction

ESP32-MFRC522

Libraries for interfacing ESP32 with MFRC522 RFID reader. This library is being ported from original Arduino repo by Miguel Balboa. Development is still in progress. Full documentation in a week or two.

UPDATE

This repo is no longer maintained by me but PRs and forks are welcome. Sorry for any inconvenience.

esp32-mfrc522's People

Contributors

blmhemu avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

esp32-mfrc522's Issues

Program crash after swipe RFID

Hello,

spi_master: spi_device_queue_trans(657): rx length > tx length in full duplex mode

Every time I swipe the RFID card with reader i got this error and ESP32 restarting.

Could you help me to find out the issue @blmhemu

Doesn't work

I tried this lib, but it doesn't work.
RC522 isn't recognized.

`I (174) cpu_start: App cpu up.
I (192) heap_init: Initializing. RAM available for dynamic allocation:
I (199) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (205) heap_init: At 3FFB2A50 len 0002D5B0 (181 KiB): DRAM
I (211) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (217) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (224) heap_init: At 400892D8 len 00016D28 (91 KiB): IRAM
I (230) cpu_start: Pro cpu start user code
I (248) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Is connected device MFRC522 ? If yes, check the wiring again.
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting Now.
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5756
load:0x40078000,len:0
load:0x40078000,len:13904
entry 0x40078fd8
I (28) boot: ESP-IDF v3.1-dev-386-g7d13e3f 2nd stage bootloader
I (29) boot: compile time 16:58:57
I (29) boot: Enabling RNG early entropy source...
I (35) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (50) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x081c0 ( 33216) map
I (105) esp_image: segment 1: paddr=0x000181e8 vaddr=0x3ffb0000 size=0x021f8 ( 8696) load
I (108) esp_image: segment 2: paddr=0x0001a3e8 vaddr=0x40080000 size=0x00400 ( 1024) load
`

Timer timeout

The function PCD_communicateWithPICC() returns STATUS_TIMEOUT. This is caused by the interruption of the timer. I tried to change the polarity of both antennas and increase the signal power.

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.