MFRC522 on pico
Posted: 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.
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.