View previous topic :: View next topic |
Author |
Message |
andys
Joined: 23 Oct 2006 Posts: 175
|
ID-20WR card reader |
Posted: Sat Jun 13, 2015 12:17 pm |
|
|
I would like to use an ID-20WR card reader.
http://www.id-innovations.com/httpdocs/Modules%28read&write%29.html
Is anyone who have experience on this card reader ?
Is any library available for this ?
I have a little confuse due to the fact that i have never program a card reader.
Thanks in advance. |
|
|
andys
Joined: 23 Oct 2006 Posts: 175
|
ID-20WR card reader |
Posted: Sun Jun 14, 2015 4:36 am |
|
|
None who work with this card reader ? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9241 Location: Greensville,Ontario
|
|
Posted: Sun Jun 14, 2015 5:32 am |
|
|
While haven't worked with them but according to the documentation it should be easy.
1) 5 volt device ! NICE, allows direct interfacing to a PIC running at 5 volts !! Unlike most newer peripherals.
2) Has serial interface, so you can use the UART in a PIC to communicate ! Easy, simple, byte oriented.
I suggest starting small, wire up the hardware, use an I/O pin for a 'test LED'. Cut code for a 1hz flashing LED and test. Confirm that works.
Then cut code to set a register to the reader, then read it back, again to confirm that works.
You'll have to read the documentation to set the PICs UARTs baudrate,etc.
If you have a choice of PICs try using one with 2 hardware UARTs. If you can't then use the PICs hardware UART for the reader, and create a 'software' UART to send data to a PC running a terminal program.
Jay |
|
|
andys
Joined: 23 Oct 2006 Posts: 175
|
ID-20WR card reader |
Posted: Tue Sep 08, 2015 4:28 pm |
|
|
Its very simple to read a tag via this card reader.
The problem which i don't know is how to write to the tag (from card reader). |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Tue Sep 08, 2015 6:40 pm |
|
|
if you mean the
ID-20WR-MF-FV
Once you have an RS-232 TTL connection, the protocols are listed clearly.
The trick is to not get out of sync.
At least it uses a simple XOR checksum, and not CRC.
That makes it simpler to code.
I don't think you will find a pic driver already in existence. |
|
|
|