esprfid / esp-rfid

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

Nothing works... PN532 #105

Closed JuculianD closed 6 years ago

JuculianD commented 6 years ago

After I tried it with 2 Wiegand Reader, 5 wemos d1 mini, I came to the conclusion that only the MFRC reader worked. I now want to use the PN532 but unfortunately, I got many problems. The wemos d1 mini does not want to start with the PN532 connected and often, it needs several attempts to flash the Wemos D1 Mini with the included script.

Can someone please help? It is urgent.

omersiar commented 6 years ago

PN532 support is experimental, but i did not exclude it from master code base. Problem with the PN532 is there are no non-blocking libraries for it. Included library is actually non-blocking but it is not tested widely, original author of the library initially made it for the Teensy boards.

At the end of the day, I recommend using MFRC522 for RFID hardware, also Wiegand reader support is coming from the community and currently i can not test them means stability may vary.

You can reduce flashing speed for better stability when flashing, 115200 baud rate is the most stable one i believe.

JuculianD commented 6 years ago

Thank you very much! I will use the MFRC522 for now. Do you think that I can increase the reading range a bit, like up to 6-7cm?

omersiar commented 6 years ago

Did you try max gain setting on mfrc522?

JuculianD commented 6 years ago

yes

omersiar commented 6 years ago

@JuculianD You will need better antenna design to for better range.