CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ID-20WR card reader

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
andys



Joined: 23 Oct 2006
Posts: 175

View user's profile Send private message

ID-20WR card reader
PostPosted: Sat Jun 13, 2015 12:17 pm     Reply with quote

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

View user's profile Send private message

ID-20WR card reader
PostPosted: Sun Jun 14, 2015 4:36 am     Reply with quote

None who work with this card reader ?
temtronic



Joined: 01 Jul 2010
Posts: 9174
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Jun 14, 2015 5:32 am     Reply with quote

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

View user's profile Send private message

ID-20WR card reader
PostPosted: Tue Sep 08, 2015 4:28 pm     Reply with quote

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

View user's profile Send private message AIM Address

PostPosted: Tue Sep 08, 2015 6:40 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group