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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ค. 2019
  • #RFID #Arduino #electronicguru
    Buy RFID Reader :
    www.banggood.in/RC522-Chip-IC...
    Buy Arduino UNO :
    www.banggood.in/Wholesale-Ard...
    Buy BreadBoard :
    www.banggood.in/Geekcreit-MB-...
    www.banggood.in/Wholesale-Tes...
    Support me on PayPal :
    paypal.me/electronicguru007
    electronicGURU Instagram :
    electronicguru0...
    electronicGURU FB page : - / electronicguru001
    visit my site :
    electronicguru.in
    Electronic Guru Forum :
    electronicguru.in/forums/foru...
    My RFID code:
    github.com/shveytank/RFID-code
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 62

  • @SamtheEevee54
    @SamtheEevee54 6 หลายเดือนก่อน

    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

  • @noureenashameer6826
    @noureenashameer6826 10 วันที่ผ่านมา

    I am buying Arduino RFID reader kit this weekend 🎉

  • @jeffbowyer4576
    @jeffbowyer4576 2 ปีที่แล้ว +9

    Concise and informative. Exactly how I like tutorial videos.

  • @PradeepKumar-zb1dh
    @PradeepKumar-zb1dh 4 ปีที่แล้ว

    Great video once again 😃

  • @Gumballation
    @Gumballation 4 หลายเดือนก่อน

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

  • @Pragadeeshwaran.S
    @Pragadeeshwaran.S 18 วันที่ผ่านมา +1

    Thank you so much

  • @diviyaaapmuniandy9503
    @diviyaaapmuniandy9503 3 หลายเดือนก่อน

    how to use RFID with stc 8081 ?

  • @kociarz100
    @kociarz100 10 หลายเดือนก่อน

    Maby how to buid it?

  • @vedantugale2646
    @vedantugale2646 2 ปีที่แล้ว

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

  • @avanin_aval
    @avanin_aval ปีที่แล้ว

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

    • @Frizi5516
      @Frizi5516 5 หลายเดือนก่อน

      Yo there is no info

  • @ravibharti3433
    @ravibharti3433 4 ปีที่แล้ว +1

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

    • @ravibharti3433
      @ravibharti3433 4 ปีที่แล้ว

      @@electronicGURU rfid card cannot be scanned.

    • @ravibharti3433
      @ravibharti3433 4 ปีที่แล้ว

      show approximate your card to the reader on the serial monitor

  • @badrulhisyamabdullah614
    @badrulhisyamabdullah614 2 ปีที่แล้ว +1

    Thanks

  • @iswaryakuchimanchi9176
    @iswaryakuchimanchi9176 2 ปีที่แล้ว +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

  • @kingcreatez4827
    @kingcreatez4827 2 ปีที่แล้ว +1

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

    • @electronicGURU
      @electronicGURU  2 ปีที่แล้ว

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

    • @kingcreatez4827
      @kingcreatez4827 2 ปีที่แล้ว +1

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

    • @electronicGURU
      @electronicGURU  2 ปีที่แล้ว

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

  • @mercian7806
    @mercian7806 3 ปีที่แล้ว

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

    • @iswaryakuchimanchi9176
      @iswaryakuchimanchi9176 2 ปีที่แล้ว

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

    • @mercian7806
      @mercian7806 2 ปีที่แล้ว

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

  • @electronic7979
    @electronic7979 4 ปีที่แล้ว +1

    Very good

  • @talhaislam4848
    @talhaislam4848 2 ปีที่แล้ว

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

    • @michalvydareny5284
      @michalvydareny5284 5 หลายเดือนก่อน

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

  • @girishpanchal9072
    @girishpanchal9072 ปีที่แล้ว

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

    • @matthewfreeman6187
      @matthewfreeman6187 9 หลายเดือนก่อน

      Umm no its alot more complicated than that

  • @sumitabiswas5099
    @sumitabiswas5099 4 ปีที่แล้ว

    Nice......

  • @carsking6732
    @carsking6732 ปีที่แล้ว

    mu one is not reading cards

  • @RandomEditsCo
    @RandomEditsCo 3 ปีที่แล้ว +2

    How far can the sensor get the key

    • @YashJain-qh5tn
      @YashJain-qh5tn 2 ปีที่แล้ว +1

      less than 1cm

    • @YashJain-qh5tn
      @YashJain-qh5tn 2 ปีที่แล้ว +1

      it have very less range to detect and we can't increase it

    • @electronicGURU
      @electronicGURU  2 ปีที่แล้ว

      yes thats correct

  • @harryskay617
    @harryskay617 5 หลายเดือนก่อน

    I did not see the link to your code

    • @Ollysproductionslol
      @Ollysproductionslol 23 วันที่ผ่านมา

      #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);
      }

      }

  • @SartajSaif
    @SartajSaif 2 ปีที่แล้ว +3

    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...

    • @electronicGURU
      @electronicGURU  2 ปีที่แล้ว

      check your connection/wiring

    • @shreyakarkun317
      @shreyakarkun317 2 ปีที่แล้ว

      Hii even I am facing the same error please help me

    • @tygrisek38
      @tygrisek38 ปีที่แล้ว

      @@shreyakarkun317 me too bro
      th-cam.com/users/sgaming/emoji/7ff574f2/emoji_u1f62d.png

    • @xandermoers8592
      @xandermoers8592 10 หลายเดือนก่อน

      yeah me too

    • @shrutirohilla7022
      @shrutirohilla7022 2 หลายเดือนก่อน

      Me too 🙃

  • @KhaledAhmed-fs2ns
    @KhaledAhmed-fs2ns 3 ปีที่แล้ว +1

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

    • @electronicGURU
      @electronicGURU  3 ปีที่แล้ว +1

      Well ping me on instagram.

    • @KhaledAhmed-fs2ns
      @KhaledAhmed-fs2ns 3 ปีที่แล้ว +1

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

    • @electronicGURU
      @electronicGURU  3 ปีที่แล้ว

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

    • @harryskay617
      @harryskay617 5 หลายเดือนก่อน

      @@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

  • @tomikplayer6719
    @tomikplayer6719 ปีที่แล้ว

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

  • @technolabcreation
    @technolabcreation 4 ปีที่แล้ว +1

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

  • @user-vi9ky3nb9l
    @user-vi9ky3nb9l ปีที่แล้ว +2

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

    • @VocesSinFronterass
      @VocesSinFronterass ปีที่แล้ว

      Same problem

    • @aryanprakash7371
      @aryanprakash7371 5 หลายเดือนก่อน

      can be broken but firmware can be updated using GiT

    • @incognitowriter2240
      @incognitowriter2240 29 วันที่ผ่านมา

      Tags not detected no output on serial monitor....any solution?

  • @HnzmJogos
    @HnzmJogos 5 หลายเดือนก่อน +1

    he is not reading my card

    • @incognitowriter2240
      @incognitowriter2240 29 วันที่ผ่านมา +1

      Any solution?

    • @mreazen609
      @mreazen609 21 วันที่ผ่านมา +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