I'm having a bit of difficulty locating a specific example, however I have found people referencing that they have accomplished what I am looking for.
At a basic level, I have a webpage being served through Chromium and I have my RC522 RFID module. What I'd like to do is be able to scan an RFID card and to submit the ID of the RFID either through an AJAX script or pull the ID into an input field.
I'm fine with the web side and the page itself, but I am still learning Raspberry Pi, and this is a bit beyond what the little DIY books discuss haha.
There are cases like these where they pull the RFID through Python:
And then there is a case like this one where I get close, but it doesn't seem to quite get there:
If anyone can give me any leads or suggestions, I'd greatly appreciate it. Our little museum is trying to update ourselves for grants and some things are doable and others are a stretch.
Thank you so very much - Matt
My issue is the connection of the two. I'm in new territory here and not sure how I would pass the data from the RFID reader to the Chromium browser. If I use the basics through this python GIT - https://github.com/mxgxw/MFRC522-python - and use the read.py file through the console, I can easily pull the ID from the RFID chip/card. But I'm not sure how I'd be using the script in the background and passing the RFID ID to the Chromium browser.
I've continued to browse around the internet and found that some people have suggested using node.js instead to pass the data from the RFID Card and Reader to the Chromium browser.
I'm open to any suggestions, some of these posts I'm sifting through are older and I'm not sure if one suggestion is better off than the other for recent updates of Raspberry Pi and its operating system. Even the python I mentioned above, which is widely used, states that their haven't been any large overhauls to the code and at some point, might become unusable as Raspberry Pi progresses.