I am having problems with coding a program that allows me to read RFID Tags with Pi4J on my Raspberry Pi 2 Model B.
I am totally new to Python and would prefer a program written in Java to save some data connected to an RFID Tag ID into a database.
The RFID module is properly connected to my Pi (According to the WiringPi pin-numbering).
I am not able to find any usefull resources on Google (Only Python or Arduino related stuff) so I hope this great community might be able to help me out. Is someone of you able to write a small code snippet for me which reads the ID of an RFID tag and then calls a method with this ID as a parameter? I would really appreciate your help as I am lost in this whole Python stuff. I couldn't even find any nice examples which help me figure out how Pi4J can read data from RFID modules (only via COM, my module is directly attached to the GPIO pins and not via USB/COM port).
Thanks in advance.
I am using a Mifare RC-522 module which is directly connected to the Raspberrys SPI GPIO-Pins.