How to use RFID with Arduino | How to use the RC522 RFID module with an Arduino - Tutorial

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • #RFID #Arduino #electronicguru
    Buy RFID Reader :
    www.banggood.i...
    Buy Arduino UNO :
    www.banggood.i...
    Buy BreadBoard :
    www.banggood.i...
    www.banggood.i...
    Support me on PayPal :
    paypal.me/elec...
    electronicGURU Instagram :
    ...
    electronicGURU FB page : - / electronicguru001
    visit my site :
    electronicguru.in
    Electronic Guru Forum :
    electronicguru...
    My RFID code:
    github.com/shv...

Komentáře • 67

  • @jeffbowyer4576
    @jeffbowyer4576 Před 3 lety +11

    Concise and informative. Exactly how I like tutorial videos.

  • @evoiboi69
    @evoiboi69 Před 11 měsíci +4

    this did work, my rfid reader did read a card
    but how did you put led's without showing them
    i dont want to stare at a serial monitor all day just to see if my card declined

  • @LeveluplegendXLLAlt
    @LeveluplegendXLLAlt Před 3 měsíci

    best rfid video

  • @noureenashameer6826
    @noureenashameer6826 Před 4 měsíci

    I am buying Arduino RFID reader kit this weekend 🎉

  • @Pragadeeshwaran.S
    @Pragadeeshwaran.S Před 5 měsíci +1

    Thank you so much

  • @kevilysoled5302
    @kevilysoled5302 Před 3 měsíci

    thankyou very much buddy!

  • @Gumballation
    @Gumballation Před 8 měsíci

    Hi sir! Your video is very informative! so is it possible to do this with TCP/IP?

  • @PradeepKumar-zb1dh
    @PradeepKumar-zb1dh Před 5 lety

    Great video once again 😃

  • @iswaryakuchimanchi9176
    @iswaryakuchimanchi9176 Před 2 lety +2

    Hello. My module is not reading the cards. And it says that firmware is unknown.please help me resolve this problem for our project.please

  • @badrulhisyamabdullah614
    @badrulhisyamabdullah614 Před 3 lety +1

    Thanks

  • @electronic7979
    @electronic7979 Před 5 lety +1

    Very good

  • @kingcreatez4827
    @kingcreatez4827 Před 3 lety +2

    hi can i have a schematic for the connections from rfid module to arduino pls

    • @electronicGURU
      @electronicGURU  Před 3 lety

      i already mentioned it in video ? right? what needs to be connected where?

    • @kingcreatez4827
      @kingcreatez4827 Před 3 lety +1

      @@electronicGURU yeh you did thanks, but can you send a png file of it pls?

    • @electronicGURU
      @electronicGURU  Před 3 lety

      sorry i Don't have it now , i usually delete it all after video publishing. please take a screenshot from video.

  • @ravibharti3433
    @ravibharti3433 Před 4 lety +1

    Sir I bought rfid card from Delhi but cards not working. We not found UID I'd.

    • @ravibharti3433
      @ravibharti3433 Před 4 lety

      @@electronicGURU rfid card cannot be scanned.

    • @ravibharti3433
      @ravibharti3433 Před 4 lety

      show approximate your card to the reader on the serial monitor

  • @SartajSaif
    @SartajSaif Před 3 lety +4

    My error please reply me,
    01:47:20.586 -> Firmware Version: 0x0 = (unknown)
    01:47:20.586 -> WARNING: Communication failure, is the MFRC522 properly connected?
    01:47:20.623 -> Scan PICC to see UID, SAK, type, and data blocks...

  • @RandomEditsCo
    @RandomEditsCo Před 3 lety +3

    How far can the sensor get the key

  • @Hnzm21
    @Hnzm21 Před 9 měsíci +8

    he is not reading my card

    • @incognitowriter2240
      @incognitowriter2240 Před 5 měsíci +1

      Any solution?

    • @mreazen609
      @mreazen609 Před 5 měsíci +1

      Most probably it is a connection error try pressing it with your finger or push it a little to the front or back while trying to scan

  • @diviyaaapmuniandy9503
    @diviyaaapmuniandy9503 Před 7 měsíci

    how to use RFID with stc 8081 ?

  • @vedantugale2646
    @vedantugale2646 Před 2 lety

    Bhai maine sub kuch kia bar bar connection ki par wo card ka uid hiii nahi de raha hai

  • @kociarz100
    @kociarz100 Před rokem

    Maby how to buid it?

  • @JessicaBasnight-b7u
    @JessicaBasnight-b7u Před 10 dny

    Sister Radial

  • @kaushikbhat74
    @kaushikbhat74 Před 2 měsíci

    where are the connections susm

  • @hemangpatel6248
    @hemangpatel6248 Před 3 měsíci

    wrong info shown in video you code doesn't show sector data

  • @avanin_aval
    @avanin_aval Před rokem

    Sir I have a doubt ,,How we add the information in RFID tag

  • @carsking6732
    @carsking6732 Před 2 lety

    mu one is not reading cards

  • @Etrugulosmaneditz548
    @Etrugulosmaneditz548 Před 3 lety

    Can you help me it says firmware version unknown and its says warning communication failure on Comm 5

    • @iswaryakuchimanchi9176
      @iswaryakuchimanchi9176 Před 2 lety

      Did your problem resolve? If so can you help me? It's the same problem for me. Please help us

    • @Etrugulosmaneditz548
      @Etrugulosmaneditz548 Před 2 lety

      @@iswaryakuchimanchi9176 no I just realized you cannot solve this problem you have to buy a new reader

  • @KhaledAhmed-fs2ns
    @KhaledAhmed-fs2ns Před 3 lety +2

    Hi
    I would like to contact you
    I have a job for you

    • @electronicGURU
      @electronicGURU  Před 3 lety +1

      Well ping me on instagram.

    • @KhaledAhmed-fs2ns
      @KhaledAhmed-fs2ns Před 3 lety +1

      @@electronicGURU
      Can you contact me on
      Khaledhashad@hotmail.com
      Thanks

    • @electronicGURU
      @electronicGURU  Před 3 lety

      Hi Khaled please mail to me. My mail id is in channel description.

    • @harryskay617
      @harryskay617 Před 9 měsíci

      @@electronicGURU hi sir pls I have watch your rfid circuit but I don't see the link to that code please help me to send the link sir

  • @talhaislam4848
    @talhaislam4848 Před 3 lety

    Please share the code with more than 1 RFid access. or share link if there is any video thank.

    • @michalvydareny5284
      @michalvydareny5284 Před 10 měsíci

      here you go pal:
      just change if condition with authorized access
      if (content.substring(1) == "(1st rfid tag)" || content.substring(1) == "(2nd rfid tag)"

  • @sumitabiswas5099
    @sumitabiswas5099 Před 5 lety

    Nice......

  • @user-vi9ky3nb9l
    @user-vi9ky3nb9l Před rokem +3

    Firmware Version : 0×0 = (unknown)
    Is this mean my RFID broken?

  • @harryskay617
    @harryskay617 Před 9 měsíci

    I did not see the link to your code

    • @Ollysproductionslol
      @Ollysproductionslol Před 5 měsíci

      #include
      #include
      #define SS_PIN 10
      #define RST_PIN 9
      MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
      void setup()
      {
      pinMode(7,1);
      pinMode(6,1);
      Serial.begin(9600); // Initiate a serial communication
      SPI.begin(); // Initiate SPI bus
      mfrc522.PCD_Init(); // Initiate MFRC522
      Serial.println("Approximate your card to the reader...");
      Serial.println();
      }
      void loop()
      {
      // Look for new cards
      if ( ! mfrc522.PICC_IsNewCardPresent())
      {
      return;
      }
      // Select one of the cards
      if ( ! mfrc522.PICC_ReadCardSerial())
      {
      return;
      }
      //Show UID on serial monitor
      Serial.print("UID tag :");
      String content= "";
      byte letter;
      for (byte i = 0; i < mfrc522.uid.size; i++)
      {
      Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ");
      Serial.print(mfrc522.uid.uidByte[i], HEX);
      content.concat(String(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "));
      content.concat(String(mfrc522.uid.uidByte[i], HEX));
      }
      Serial.println();
      Serial.print("Message : ");
      content.toUpperCase();
      if (content.substring(1) == "F9 D1 F3 6E") //change here the UID of the card/cards that you want to give access
      {
      Serial.println("Authorized access");
      Serial.println();
      //delay(3000);
      digitalWrite(6,1);
      delay(200);
      digitalWrite(6,0);
      delay(200);
      digitalWrite(6,1);
      delay(200);
      digitalWrite(6,0);
      delay(200);
      digitalWrite(6,1);
      delay(200);
      digitalWrite(6,0);
      delay(1000);
      }
      else
      {
      Serial.println(" Access denied");
      Serial.println();
      //delay(3000);
      digitalWrite(7,1);
      delay(200);
      digitalWrite(7,0);
      delay(200);
      digitalWrite(7,1);
      delay(200);
      digitalWrite(7,0);
      delay(200);
      digitalWrite(7,1);
      delay(200);
      digitalWrite(7,0);
      delay(1000);
      }

      }

  • @girishpanchal9072
    @girishpanchal9072 Před rokem

    Hi
    Can I increase the range of this module upto 1meter?

  • @technolabcreation
    @technolabcreation Před 5 lety +1

    🤩😎🕺🎤🎼🏆🏅🥇❤❤❤❤❤

  • @tomikplayer6719
    @tomikplayer6719 Před rokem

    THIS IS NOT WORKING I DO IT 545752415456415415 TIMES AND IT DONT WANT TO WORK!?!?!?!?!?!?!?!