Rfid Reader- Pic


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2008
    Posts
    7

    Default Rfid Reader- Pic

    hello-
    i wish to connect a RFID reader to a PIC and then to a LCD so that i can display the TAG IDs.
    However i am completly stumped when it comes to connecting this set-up ( as i am reasonibly new to the world of electronics) - the reader which i currently have is a core- 12
    http://www.rfidshop.com/core-12-rfid...dule-110-p.asp
    do you know if this is possible?
    do i require additional hardware?
    how can this be done?

    help with any of these would be gratefuly appreciated thank you

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by cleas001 View Post
    However i am completly stumped when it comes to connecting this set-up ( as i am reasonibly new to the world of electronics) - the reader which i currently have is a core- 12
    Yes, the PIC can do it. Yes, PBP will be very useful.
    Yes, if you are completely stumped as to how to connect this setup and you are new to the world of electronics, you are most definetely in over your head. Quite frankly, this is a simple project, for an experienced person anyways.
    But, don't let that rant stop you in the least.
    What kind of equipment do you have, if any? Programmer? Dev Board? Compiler, etc?
    What experience, if any, do you have, programming PICs, or any MCU for that matter?
    Made any blinky LEDs or anything like that?

  3. #3
    Join Date
    Jan 2008
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    yes ive got basic knowledge of programming and ive got all that equuipment avialiable should i need it - im just confued by the data sheet supplied with the reader - as to which pins i would need to connect the PIC towould these be the 2 free data lines?

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by cleas001 View Post
    yes ive got basic knowledge of programming and ive got all that equuipment avialiable should i need it - im just confued by the data sheet supplied with the reader - as to which pins i would need to connect the PIC towould these be the 2 free data lines?
    Looks like pin 9 (ASCII out, TTL) to me, just like the datasheet says.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,813


    Did you find this post helpful? Yes | No

    Default

    The core-12 reader has a serial output at TTL level. So it is a piece of cake to connect and start getting data into your PIC. PBP supports Serial protocol (RS-232) either in software or in hardware. I recommend the second using Hserin command if your PIC has a UART. Note that you need to put a MAX232 chip. The core-12 has inside it an inverter. If you are going to use a PIC with no UART, then use Serin2 command with invert parameters.

    Every time you cross a card over the reader, a stream of ascii data are output of the core-12. Have your PIC read the stream into an array and you are done.

    More about syntax, examples etc, put the words that you just read into the search of this forum. You will find everything on Serial ports, LCD, ASCII, and us here when you write your code that obviously is not going to run first time! 8-)

    Ioannis
    Last edited by Ioannis; - 10th January 2008 at 21:34.

  6. #6
    Join Date
    Jan 2008
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    hello
    you mention about the serial port? is this to conect to computer? - i do not wish to conect my device to a computer- is there a way in which the PIC an process the information to display on the LCD - withouht having to go through a serial port?
    the type of LCD i mean is one like this: http://www.maplin.co.uk/Module.aspx?...6389&criteria=

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by cleas001 View Post
    yes ive got basic knowledge of programming and ive got all that equuipment avialiable should i need it
    Quote Originally Posted by cleas001 View Post
    you mention about the serial port? is this to conect to computer? - i do not wish to conect my device to a computer- is there a way in which the PIC an process the information to display on the LCD - withouht having to go through a serial port?
    These 2 statements seem to conflict.
    How much MCU programming have you done? Not Windows, not Visual Basic, actual MCU programming, at the binary/hex level?
    Reason I ask is that if you are somewhat knowledgable in this area, then you would know that a fair share of PICs out there have built in UART specifically for external serial access, and those that don't are able to obtain external serial access by means of software emulation through PicBasicPro (or other compilers out there).

  8. #8
    Join Date
    Jan 2008
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    hello thanks for all the help so far
    in answer to your question i have so far been doing my programming in mplab - so i knowledge of the programming methods and languages in that.

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,813


    Did you find this post helpful? Yes | No

    Default

    I suggest to read again the answers especially #5 word by word. It is explained that PIC can do serial rs-232 either in hrdware or in software. To succeed in this project you have to read a lot the data sheets of the pic you are going to use and the manual of the PBP that obviously you have not so far. Please, please search and read. All info's are in front of you. It is easy project, you have all the resources, so do it!

    If your code is not working we are here to check it out. But don't expect to write it for you... Unless you pay for it! $-)

    Ioannis

  10. #10
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Someone's gone to a lot of trouble to make a program that should be one or two hundred lines
    about one or two lines.
    Two lines is about all it is in the main routine if I remember.
    The serin command that has a "wait" option, and the LCDOUT command.
    Those two lines wrapped in a loop is your program.

Similar Threads

  1. Parallax RFID Reader code example
    By dan-tron in forum Code Examples
    Replies: 4
    Last Post: - 19th April 2013, 22:16
  2. how synchronize with rfid reader
    By karellen in forum Serial
    Replies: 9
    Last Post: - 6th December 2009, 15:13
  3. Proximity Reader (Weigand) aka RFID
    By GoldStar in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd May 2009, 05:41
  4. Replies: 3
    Last Post: - 12th March 2008, 05:33
  5. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts