esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.36k stars 423 forks source link

My mfrc522 does not seem to read the card #24

Closed kdy1999 closed 6 years ago

kdy1999 commented 6 years ago

Hello, I am a novice learning esp8266, I follow the steps to connect the hardware, in the user interface in accordance with the format of the picture inside the card input UID, set the web page test button can be triggered, but the MFRC522 reader part did not respond [ INFO ] ESP RFID v0.3alpha [ INFO ] Config file found { "command": "configfile", "bssid": "74:7D:24:36:C3:C2", "ssid": "junhao", "wmode": "0", "pswd": "10086520", "sspin": "15", "rfidgain": "96", "rtype": "0", "rpin": "4", "rtime": "300", "ntpserver": "pool.ntp.org", "ntpinterval": "30", "timezone": "8", "hostnm": "admin", "adminpwd": "admin" } [ INFO ] Trying to setup RFID Hardware [ INFO ] RFID SS_PIN: 15 and Gain Factor: 96 [ INFO ] MFRC522 Version: 0x92 = v2.0 [ INFO ] Trying to connect WiFi: junhao.... [ INFO ] Client IP address: 192.168.123.150

omersiar commented 6 years ago

Hello,

Did you try Dumpinfo example from MFRC522 library?

kdy1999 commented 6 years ago

I tried burning mfrc522 example program, it work, but I found a problem that is even after burning mfrc522 test program can be seen in the router interface esp8266 connected to the wifi @omersiar

omersiar commented 6 years ago

[ INFO ] MFRC522 Version: 0x92 = v2.0

This means you succesfully connect the RFıD reader, it may be your rfid tags (piccs) are not for the reader. Try find mifare classic tag

kdy1999 commented 6 years ago

Thank you for your reply, I use dumpinfo examples can read the card, but I follow the example connected rst pin

kdy1999 commented 6 years ago

Thanks for your project, I modified Antenna Gain and now it's working

omersiar commented 6 years ago

Hello, great! Which gain value did you chose?

kdy1999 commented 6 years ago

I chose 43😃