RFID Issues.... HELP !!!!!


Results 1 to 20 of 20

Threaded View

  1. #11
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: RFID Issues.... HELP !!!!!

    I appreciate how tempting it is to use other's code, but this can be dangerous if you aren't clear on how every step works - consider if it HAD worked, but through some oversight, left the doors to open with any card with a 1 in the fourth position or other flaw - unlikely in this case, but do you see my point? My suggestion would be:

    Limit your ID to 1 tag and 1 "buf", start by IDing only the first character then, when that works, build a loop to check all 10 characters of one tag (or until the first mismatch). Consider blinking an LED as each character is checked and, perhaps adding a second red led to flash when a character match fails. This modular approach works very well for me and helps my understanding keep up with increasingly complex code. Also, if 80% of the code worked as expected before the last 20% was added, it is much easier to determine what I did that didn't result in what i expected to happen happening. This technique is very much like how most people make sense of complex sentances as well. Of course, then add the final loop that loops through each card DATA statement - similar to what you have now.

    I think that EarlyBird2's posts here are with some of the best I've ever read. The need and willingness to study not only the function, but the logic behind the function is what seperates amateurs like me from professionals like him - and avoids the need to recall millions of cars because of some issue not discovered until FAR too late..
    Last edited by Amoque; - 5th September 2014 at 18:52.

Similar Threads

  1. RFID example.
    By StevenLim in forum General
    Replies: 2
    Last Post: - 8th February 2011, 09:08
  2. RFID with PIC
    By sswcharlie in forum General
    Replies: 0
    Last Post: - 30th August 2008, 08:41
  3. RFID Implant
    By sayzer in forum Off Topic
    Replies: 0
    Last Post: - 8th May 2007, 11:23
  4. Rfid Reader
    By thaivu in forum Serial
    Replies: 5
    Last Post: - 9th November 2006, 06:52
  5. Rfid?
    By toalan in forum Off Topic
    Replies: 0
    Last Post: - 11th February 2005, 23:37

Members who have read this thread : 0

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