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

Problem to write coding for RFId. Someone Help me =(

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



Joined: 16 Dec 2011
Posts: 2
Location: malaysia

View user's profile Send private message AIM Address ICQ Number

Problem to write coding for RFId. Someone Help me =(
PostPosted: Fri Dec 16, 2011 9:52 pm     Reply with quote

Olimex Mod-RFID125

Pic= 16F877A

http://www.olimex.com/dev/mod-rfid125.html
temtronic



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

View user's profile Send private message

PostPosted: Sat Dec 17, 2011 6:13 am     Reply with quote

Easy enough, as Olimex supplies all the command line code information on page 5 or 6 of the datasheet.pdf.

If you want complete test code(scan for rfid tags, display on local LCD, send to PC via RS232 just send me 4 units and give me 1 week to complete the program.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Sun Dec 18, 2011 8:38 am     Reply with quote

Temtronic,

Ummm, that module requires a USB host, so you aren't likely to get that done with a 16F877A unless you use an FTDI Viniculum chip, or equivalent. Of course, there are PIC's that can operate as a USB host, but that going to take a lot of work!

To the OP, if you want to play with RFID stuff, get a module with a serial port like this one: http://www.sparkfun.com/products/8419


John
temtronic



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

View user's profile Send private message

PostPosted: Sun Dec 18, 2011 8:50 am     Reply with quote

Hay John. There's actually ttl serial pins on the other end, hard to see, but the pdf does talk about them. You'ld have to add wires or hopefully 100thou spaced pins to connect.
I know that cause silly me I downloaded and read the manual...
Jay
fidaus2005



Joined: 16 Dec 2011
Posts: 2
Location: malaysia

View user's profile Send private message AIM Address ICQ Number

PostPosted: Sun Dec 18, 2011 10:29 am     Reply with quote

That correct this rfid can be connected to the circuit because it have UART mode.. but i m new in this pic field.. so i dont know how to start coding it hu3
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Sun Dec 18, 2011 3:59 pm     Reply with quote

Hi Jay,

Manual? We don't need no stinkin' manual Cool !

You are, of course, correct! I should have read more than just the first couple of lines of the datasheet Embarassed !

Having said that, it's still a much more capable module (in terms of the interface) than the Sparkfun example, so it may also be more expensive? It also is not particularly breadboard or PCB friendly.

Making that module work, though, looks pretty trivial. There are only a couple of very simple commands to worry about!

To the OP, have you tried sending simple commands to the module, and reading the returned data? What happens? What is the nature of your "problem"?

John
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