I recently picked up a small USB RFID reader from sparkfun. This reader uses the ID-12LA chip from Innovations. It is a small read only module which reads 125 khz RFID tags. All you have to do is plug it in to the USB host port on the pcDuino3.
[10070.501050] usb 3-1.2: new full-speed USB device number 5 using sw-ehci
[10070.617603] usb 3-1.2: New USB device found, idVendor=0403, idProduct=6001
[10070.617625] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10070.617639] usb 3-1.2: Product: FT232R USB UART
[10070.617648] usb 3-1.2: Manufacturer: FTDI
[10070.617656] usb 3-1.2: SerialNumber: A601LMPG
[10070.621904] ftdi_sio 3-1.2:1.0: FTDI USB Serial Device converter detected
[10070.622039] usb 3-1.2: Detected FT232RL
[10070.622050] usb 3-1.2: Number of endpoints 2
[10070.622060] usb 3-1.2: Endpoint 1 MaxPacketSize 64
[10070.622070] usb 3-1.2: Endpoint 2 MaxPacketSize 64
[10070.622080] usb 3-1.2: Setting MaxPacketSize 64
[10070.623066] usb 3-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
Then in my case just cat /dev/ttyUSB0
ubuntu@ubuntu:~$ cat /dev/ttyUSB0
I know this is a short post. I hope to revisit this in the next few days and add some python code to access the reader.
Edited to add –
Here is my python code for reading the tags on the pcduino. No its not much but it works
You will need to install python serial
sudo apt-get install python-serial
running the code gives you much the same results…
ubuntu@ubuntu:~$ python pcduino-rfid.py
Now this python script should also work on a beaglebone black or raspberry pi or for that matter any linux computer as you have python and python-serial installed.
And here is my disclaimer. Although I have written some very favorable reviews of Sparkfun products as of late and there will certainly be a few more soon, I have not been compensated in any way nor have I received anything from them directly or indirectly. These are strictly my opinions. If you find value in them great and if not that’s fine too. If you are like me you tend to read up on a product as much as possible before making that final decision to purchase a product. I have not been disappointed in any way by their products and thus feel great about recommending their products as not only well built but also cost effective and typically well documented and supported.
- The positive effects of physical fitness
- success and failure on your journey to physical fitness