Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting MFRC522 #154

Closed
Blarppa opened this issue Sep 4, 2018 · 16 comments
Closed

Connecting MFRC522 #154

Blarppa opened this issue Sep 4, 2018 · 16 comments

Comments

@Blarppa
Copy link

Blarppa commented Sep 4, 2018

Hi,

I must be facing the same connecting problem as many before.

Can you give a more specific instructions on connecting the MFRC522 reader? I assume it needs power and ground in addition to the wires listed but was not sure. Maybe with pictures to be 100% sure.

My wiring should be fine but I end up stuck after first reboot. I have MFRC522 connected to ESP8266, then I flash the firmware and everything is good until I configure my hardware and upload changes. After this reboot the ESP8266 turns on the blue led and the Esprfid-network disappears and I have to re-flash the hole thing. I suppose this is the boot-loop thats been discussed.

Couple of times out of 50 I have managed to get back to the network & config just to realize the changes have gone back to factory settings. Ie. the reader is wiegand...

Thanks for this great project! As I get it working someday it should just what I need.

@teriall
Copy link

teriall commented Sep 4, 2018

Try to configure AP, or connect to a WI-FI network. I had similar issue, when network wasn't configured, ESP8266 gets boot-loop.

@araziforum
Copy link

Hi. I have same problem. I tryed teriall's way than it works. Thx.

@omersiar
Copy link
Collaborator

omersiar commented Sep 5, 2018

@teriall You found the bug, now let me fix it, thank you.

@omersiar
Copy link
Collaborator

omersiar commented Sep 5, 2018

@omersiar
Copy link
Collaborator

omersiar commented Sep 5, 2018

@omersiar omersiar closed this as completed Sep 5, 2018
@PierfrancescoElia
Copy link

Hi everyone. I am having some troubles with the connection between the MFRC522 and a NodeMCU.

Premise: I have tried the 522 with an Arduino Mega and I made a sketch to light up different leds with different cards: it works.

I have connected, as indicated, as follows:
SDA <=> D8
SCL <=> D5
MOSI <=> D7
MISO <=> D6
GND <=> G
3.3V <=> 3V

Attached you can find a screenshot of the Hardware Setting area.
schermata 2019-03-08 alle 12 10 29

I've tried many times, but the red led on the chip is on, but if I try to scan a card when I am in Users' page, nothing happens.

Thanks in advance! 😃

@msanchezt
Copy link

msanchezt commented Mar 8, 2019 via email

@PierfrancescoElia
Copy link

Hi @msanchezt, thank you fro your response! 😄

I bought this in an Arduino Kit, so it shouldn't be defective.

Could you please confirm that my configuration is correct?
Thank you again.

@Pako2
Copy link
Contributor

Pako2 commented Mar 8, 2019

If I remember correctly, I also had problems when I chose GPIO15 as an SS pin.
Finally, I used the GPIO16.

@PierfrancescoElia
Copy link

@Pako2 Thanks for your suggestion, but same thing. No responses.

@Pako2
Copy link
Contributor

Pako2 commented Mar 8, 2019

Try to set the gain to the maximum.

@PierfrancescoElia
Copy link

Same thing. Any other suggestions? I've tried two MFRC522.

@omersiar
Copy link
Collaborator

omersiar commented Mar 8, 2019

Please consider that it might be also powering issue.

@msanchezt
Copy link

msanchezt commented Mar 9, 2019 via email

@Federbein0815
Copy link

Hi I have the same Problem. https://github.com/ingeninge/esp-rfid/releases/tag/1.3.3. THe reader works on the raspberry pi. I tried GPIO 15,16 but when I go to the User page, nothing happend when i scan a tag. Please help me.

SDA <=> D8
SCK <=> D5
MOSI <=> D7
MISO <=> D6
GND <=> G
3.3V <=> 3V
RST <=> RST

@beped
Copy link

beped commented Jul 23, 2020

Same problem here, i have tried another esp8266 like w1 wemos mini and nodemcu, same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants