I have a module of ESP32 with Micropython firmware, I want to try to connect with mrfc522 to read/write cards, I have read some related articles on the web, https://www.instructables.com/How-to-Di ... gh-LCD-Wi/
but not using Micropython, I hope someone can give an idea.
MicroPython how to achieve communication between ESP32 + RC522 (read and write cards)
-
- Posts: 15
- Joined: Mon Jun 14, 2021 12:49 am
Re: MicroPython how to achieve communication between ESP32 + RC522 (read and write cards)
RC522 is an SPI module, so you can easily interface it with SPI pins of ESP32. You need to download its third-party library and you will find ready to run examples to test it out. Try those examples and share your results.
Last edited by katesimon123 on Sun Jul 11, 2021 2:21 am, edited 1 time in total.
Re: MicroPython how to achieve communication between ESP32 + RC522 (read and write cards)
Can I ask you for a link to a third-party library? I'm not quite sure if I can download the right one for that library.katesimon123 wrote: ↑Thu Jun 24, 2021 6:01 amRC522 is an SPI module, so you can easily interface it with SPI pins of ESP32. You need to download its third-party library and you will find ready to run examples to test it out. Try those examples and share your results.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: MicroPython how to achieve communication between ESP32 + RC522 (read and write cards)
See this thread which seems quite a compact driver.
I also looked at this Arduino library which is pretty hairy: nearly 2K lines of C. Clearly there is a lot more to RFID than meets the eye.
I also looked at this Arduino library which is pretty hairy: nearly 2K lines of C. Clearly there is a lot more to RFID than meets the eye.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: MicroPython how to achieve communication between ESP32 + RC522 (read and write cards)
Thank you so much! You are really a very kind person. It really helped me a lot! Once I'm done with this project it will be displayed in the appropriate place!pythoncoder wrote: ↑Mon Jun 28, 2021 9:34 amSee this thread which seems quite a compact driver.
I also looked at this Arduino library which is pretty hairy: nearly 2K lines of C. Clearly there is a lot more to RFID than meets the eye.