MFRC522 on pico

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
JMSMonkey
Posts: 1
Joined: Mon Feb 08, 2021 9:12 pm

MFRC522 on pico

Post by JMSMonkey » Mon Feb 08, 2021 9:40 pm

hi,
I have been using the MFRC522 RFID reader on a pi zero for a while now to operate a door lock using the tutorial from PiMyLifeUp (tutorial - https://pimylifeup.com/raspberry-pi-rfid-rc522/ script - https://github.com/pimylifeup/MFRC522-python). From this I'm able to use the text written to the card to lock or unlock the door.
I am a newbie when it comes to coding and was hoping that I could use the same program on the new pico but I was wrong due to differences between python and micropython.
I have tried finding a micropython version of the script to do the same thing but I can't find one that allows writing text to the card (using the 1K EEPROM on the cards and tags).
how would I go about changing the PiMyLifeUp script to run on micropython or does anyone know of an existing one that will do the same job?

thanks in advance for any help you can give.

danjperron
Posts: 51
Joined: Thu Dec 27, 2018 11:38 pm
Location: Québec, Canada

Re: MFRC522 on pico

Post by danjperron » Thu Feb 11, 2021 7:29 pm

I put micropython code on the raspberry forum

https://www.raspberrypi.org/forums/view ... 9#p1816948

Nicolett
Posts: 7
Joined: Mon Apr 11, 2022 1:16 pm

Re: MFRC522 on pico

Post by Nicolett » Fri May 20, 2022 11:43 am

I've designed a smart lock project for my entrance door. I made the case on my 3d printer and I've used a raspberry module, integrated a camera, a fingerprint module, a digital card locker and a bluetooth module. The code took me nearly a week. I've also contacted a tower hill locksmith service (a friend of mine is working there) to design this lock in a proper way, to make it work as it should. Now it's the second week of testing, if it will go as good as it has been, I'll start a kickstarter campaign to gather 10K$ to start a small production

Post Reply