-->
Page 3 of 4

Re: mfrc522 to esp8266

PostPosted: Sun Jun 19, 2016 5:18 pm
by Cjh411
I've tried to implement this and I'm havning some issues. I copied the code directly, set the pins as followed from RC522 to esp8266: SDA->2, SCK->14, MOSI->13, MISO->12 and power and ground to their counterpart. Are there any issues in this setup?

The code loads fine and I get the serial monitor to work up to the "Scan for card and print UID" but when i put cards up to it, I'm getting no reading. Any thoughts on what my issue might be? Do i need to declare the pins somewhere?

Re: mfrc522 to esp8266

PostPosted: Fri Sep 30, 2016 5:56 pm
by bananasplit
i ve just made a new post here with my thoughts and problems on this.if you have any ideas on how to proceed,please tell me!!

Re: mfrc522 to esp8266

PostPosted: Sun May 14, 2017 9:33 am
by nikxha
hi,

still anyone issues with this...?

br
nikxha

Re: mfrc522 to esp8266

PostPosted: Tue May 23, 2017 7:01 am
by Flashmueller
I got it.

The bit-order in the Datastream started with the LSB instead of the MSB.

I have no clue why that happend... I switched back to an older version of the library and it started to work. Updated again to 1.3.6 and it still works.

Unfortunately the first byte sent is 00100100 - it is symetrical- so i were not able to figure out the problem.


Third byte is 00100110 -here it got visible :lol:

Wrong Bit-Order at ESP8266:
wrong.PNG



Right Bit-Order at Arduino Nano:
right.PNG