Tutorial 12 for Arduino: RFID Card Reading

You can download the parts list, code, and schematics from this episode on my website: http://jeremyblum.com/2011/07/tutorial-12-for-arduino-rfid-card-reading

Watch all of the videos in this series here: http://www.youtube.com/playlist?p=A567CE235D39FA84

This tutorial series is sponsored by element14. Check out their arduino group!

Thanks to http://www.cooking-hacks.com for supplying the RFID Materials!

Follow me on twitter: http://www.twitter.com/sciguy14

Duration : 0:33:35

Related Reading:


Be Sociable, Share!

Technorati Tags: arduino, blum, breaboard, card, Cooking, DIY, electromagnetic, electronics, element14, hack, hacks, induction, jeremy, motor, music, physics, read, Rfid, security, serial, Servo, speaker, tag, Technology, tone, Wireless

25 thoughts on “Tutorial 12 for Arduino: RFID Card Reading

  1. where can i find …
    where can i find the COM4 to see if my program is correct., or it is automatically pop out??? ?

  2. HI SIR!!!
    Can you …

    HI SIR!!!
    Can you make a tutorials about FINGER? PRINT SCANNER with adruino.., thanks in advance

  3. You do a byte by …
    You do a byte by byte comparison of the Tag ID. I need to use an SD card to store and? RFID tag ID along with a corresponding Xbee ‘MY’ number in a lookup table so that I can transmit data back to a given remote based on that combo. I assume it’s possible to concatenate the bytes into a string and do a string compare?

  4. @MyOverflow That …
    @MyOverflow That explains why I’ve been feeling uneasy ever? since releasing this tutorial…

  5. I have to do it.

    I have to do it.

    Obligatory XKCD for the comment for the line 21 in the read_rfid.pde file.
    xkcd [dot]? com/859/

    In case you don’t have that line numbered, it’s this line:
    Serial.print(0x87,BYTE); //Command (0x87 sets auto mode behavior

  6. @jaysenstudios Yes, …
    @jaysenstudios Yes, but I wouldn’t use it as a means to control current flow directly. Hook it up to the Arduino as an analog input, measure the value is software, and then use a wire to connect a digital out from? the arduino into the enable pin of the RFID chip.

  7. Could I use an …
    Could I use an ultrasonic sensor instead? of a button to activate the rfid sensor?

  8. @l0rtto I can’t …
    @l0rtto I can’t tell if you’re being sarcastic or not. I apologize if it was a poor explanation. To put it in other words, j_card=true appears only once in the code, before the for loop. Hence, once in the for loop, the j_card=false statement can set j_card to false, but there is no scenario that could set it back to true once it has already? been made false, because j_card=true never appears in the for loop.

  9. @sciguy14 “So once …
    @sciguy14 “So once the one of the if statements in the for loops evaluates to false, it cannot be made true again on another run through the for? loop.” That’s pretty unambiguous. Thanks.

  10. @l0rtto No it’s …
    @l0rtto No it’s correct. The j_card value is initially set to true, but the if statement can only possibly make it false. So once the one of the if statements? in the for loops evaluates to false, it cannot be made true again on another run through the for loop.

  11. This might be a …
    This might be a stupid question so hello and sorry!
    When you’re checking the byte in for loop, for example in this case something like this:

    for (i=0; i<5; i++) {
    if (data[i] !=jeremy[i]) j_card = false;
    if (j_card==true) serial.println(“All array elements are the same in? data[i] and jeremy[i]”)

    Doesn’t the j_card boolean always forget the previous value when executing the for loop again? So you’re going to get “everything’s correct” every time the last value is correct.

  12. @sciguy14 Thank you …
    @sciguy14 Thank you for the start since I have already built my computer and just wanted to know from your experience so one more thing as far a colleges how should choose one because are there like scams or? anything I should watch out for?

  13. @punkdane I’m …
    @punkdane I’m working on an LCD tutorial? now – it will be easy to combine the two.

  14. hey, jeremy, how …
    hey, jeremy, how about making it a stand-alone project? add some LCD for the display,, will you help me? doing it?

  15. @lebeyes Sorry for …
    @lebeyes Sorry for not clarifying that. ? The jumpers on the Xbee only change where the Arduino RECEIVES data from. So, the arduino receives data from just the RFID card reader. But, when it sends data, it sends it to anything that happens to be connected to it’s serial port’s TX line. So, the computer, and the RFID card chip receive everything it sends. Conveniently, the RFID chip will just ignore any commands that it does not understand.

  16. @HPHQ10 You are …
    @HPHQ10 You are welcome to have your own beliefs. All I ask is that you let me have mine as well. They are unrelated to engineering anyways. Prepare to be an engineer by making? things. Experiment, and make projects with your hands. Watching videos is good, but it’s more important that you apply that knowledge to real projects.

  17. @sciguy14 Well I …
    @sciguy14 Well I believe God is anywhere and I am sorry to here you dont think have a relationship with God is relevant. Like I said? you still can be saved if you accept Jesus Christ as your one and only Savior. Sorry if I was a disturbance to you and all of you subscribers. Though I do want to be a computer hardware engineer so thats why i watch your videos because I am interested in technology. Well on another note I would like to know how should I prepare to be an engineer?

  18. You are using …
    You are using Serial to talk to both the RFID reader and the computer. What I don’t understand in the code is? how you specify which you are talking to.

  19. @HPHQ10 I don’t? …
    @HPHQ10 I don’t? think youtube is the ideal place for you to be preaching religion. Please don’t waste the time of people watching this video with things that are irrelevant, and frankly, ridiculous.

Leave a Reply