How to use RFID reader RC522 with arduino easy way

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • НаукаНаука

Комментарии • 125

  • @suzanad753
    @suzanad753 2 года назад +1

    I checked many videos, all didn't work. Yours worked! Thanks

    • @miliohm
      @miliohm  2 года назад

      Good to know it helped!

  • @mrribestgamerz9747
    @mrribestgamerz9747 2 года назад +3

    help me. all the wiring are great. the code uploaded. the serial monitor pops up and said "Starting the RFID Reader..." but when i put my card/tag on the rfid sensor, there's nothing. there's no id pops up on the serial monitor. what could be the problem here?

    • @GWS-schouwen
      @GWS-schouwen Год назад +3

      Same problem here, anyone?

    • @bizarro4587
      @bizarro4587 Год назад +2

      @@GWS-schouwen same problem

    • @rajeshgohel9034
      @rajeshgohel9034 10 месяцев назад

      @@bizarro4587 same do you get any solution

    • @rajeshgohel9034
      @rajeshgohel9034 10 месяцев назад

      @@bizarro4587 because i need to sumbit project

  • @michaelhaws6607
    @michaelhaws6607 2 года назад

    thanks for the video. helped me get an A in class. thank you!

    • @miliohm
      @miliohm  2 года назад

      Happy to hear that! 😀

  • @christopherami8142
    @christopherami8142 3 года назад

    the RFID library make it very very easy thanks man for this tuto

  • @acollins7373
    @acollins7373 3 года назад

    Thank you for the great video! Super easy to follow along!!

  • @mattlovestechyt
    @mattlovestechyt Год назад

    Do you know how can reuse the pins of an arduino? I have another lcd screen that I’d like to use on the same board. Some sort of switch will probably help solve my problem as I don’t need them both working at the same time. Would love any ideas

  • @hatem0
    @hatem0 2 года назад +2

    downloaded the libraries, checked the wiring, using arduino uno, compiled completed, it is printing "starting the rfid reader" but it is not reading the card.

    • @erickwhatcott6016
      @erickwhatcott6016 2 года назад

      That is exactly what’s happening to me

    • @hatem0
      @hatem0 2 года назад

      @@erickwhatcott6016 I noticed that some RFID readers have bad quality. Out of 5 you get 1 to work. Better buy from a trustworthy supplier.

  • @faroekjuthan89
    @faroekjuthan89 3 года назад

    My compliments for your great explanation and how the code works. Thanks for sharing and wish you the best of luck with your projects.

  • @Richie_
    @Richie_ 2 года назад

    Thanks for this tutorial. Worked ok.

  • @chrissmith5975
    @chrissmith5975 Год назад

    hi may i ask is there a way to use the tag to turn on a switch and the switch stay on until the unit it powered off / rebooted. so the tag closes the switch and no matter if the tag comes into contact again once the switch is on it has no effect.

  • @muhammadzulhilmimohdjailan8688

    Hello Sir, can you teach us how to interface AS608 with esp32? Thank you.

  • @rakeshanjani3481
    @rakeshanjani3481 3 года назад +1

    Need help bro.....everything is correct but rfid sensor doesnt recognise rfid card tag ...whenver i try to read the rfid card in COM3 its coming like this..." ????.???...u..??..??." What is this bro ??

  • @ayakanaan2877
    @ayakanaan2877 3 года назад +2

    Hello Sir
    thanks for this great video. I need help now. The RFID sensor does not recognize the RFID card. The wiring connection has been checked and the programming is all correct but does not work. I dont know Why!!

    • @miliohm
      @miliohm  3 года назад

      Nothing detected? Did you use the right card? The cards that come with the reader

    • @reizilnolasco8849
      @reizilnolasco8849 3 года назад +1

      @@miliohm Same with mine, nothing is detected. I used the same card that comes with the reader

    • @wilson214-n3e
      @wilson214-n3e 3 года назад +1

      mine too

    • @romilsondgerard1978
      @romilsondgerard1978 2 года назад +1

      same here

    • @romilsondgerard1978
      @romilsondgerard1978 2 года назад

      mine says: Class RFID has no member named isCard()

  • @omenechris4698
    @omenechris4698 2 года назад

    Great Job!

  • @blinqr
    @blinqr Год назад

    What does halting the rfid mean, and what does the init method do? And what is serNum is that an array?

  • @galaxyriderx51
    @galaxyriderx51 2 года назад

    Is it possible to customize the sound for each rfid card ?

    • @miliohm
      @miliohm  2 года назад

      Yeah, but you need to organize the sound based on number or something

  • @adarshmgrocky9130
    @adarshmgrocky9130 Год назад

    helo bro how to connect 2 rfid sensors in a arduino plz make a programe

  • @asuslaptop7217
    @asuslaptop7217 2 года назад

    i need help. im trying to add the rfid library from manage librarys but how do i get to my ribrary and inset it as its showing other peoples files and telling me to download it. been at it for hours and i stg amma scream

  • @dipanshuvaidh3317
    @dipanshuvaidh3317 Год назад

    love it

  • @ahdalmahmood5433
    @ahdalmahmood5433 2 года назад

    Can this be used to detect a moving vehicle?

    • @miliohm
      @miliohm  2 года назад

      I don't think so, the distance is only about 1cm

  • @prasadshinde6536
    @prasadshinde6536 4 года назад +1

    Hey bro. I'm getting following error.. Plz help
    Firmware version : 0x0 = (unknown)
    Warning : communication failure, is mfrc522 properly connected?

    • @miliohm
      @miliohm  4 года назад

      Make sure your wiring is correct. Should no problem

  • @alexanderduff7052
    @alexanderduff7052 3 года назад

    I've downloaded and included both RFID libraries copied the code into Arduino, but getting the error message 'class RFID has no member named 'isCard'

  • @adrian32o11
    @adrian32o11 Год назад

    how get card numbers in new arduino ide

  • @ayounx
    @ayounx 3 года назад

    Hope u add relay to this project, good job.. thanx

  • @wyatt2299
    @wyatt2299 3 года назад

    Why whenever I upload the script it says that the #include has no such file directory? Even when I do copy and paste the code the same problem is there. Could this just be because we have different versions or the IDE?
    RFIDKeyTest:2:10: fatal error: RFID.h: No such file or directory
    #include
    ^~~~~~~~
    compilation terminated.
    exit status 1
    RFID.h: No such file or directory

    • @miliohm
      @miliohm  3 года назад

      This tutorial uses 2 libraries. Make sure you add the second library too

  • @akshatsinha6257
    @akshatsinha6257 3 года назад

    You explained it real good

  • @rameshreddyv3149
    @rameshreddyv3149 3 года назад

    Thanks bro

  • @sreeramsp
    @sreeramsp 3 года назад

    Can u please tell me the name of Arduino???
    Is it Arduino Uno???

    • @miliohm
      @miliohm  3 года назад

      yes of course, it's arduino uno. chinese one, and smd one

    • @sreeramsp
      @sreeramsp 3 года назад

      @@miliohm I am doing bus ticketing system with RFID reader project, can u please guide me😊, can u please make a video on that 😊

  • @harshitham1727
    @harshitham1727 Год назад

    bro how do it in an excel sheet

  • @aravindr6402
    @aravindr6402 3 года назад +1

    super bro the code works and output received

    • @gkshiva7531
      @gkshiva7531 3 года назад

      Why rfid reader not detects rfid card

  • @iddddd900
    @iddddd900 Год назад

    is that Male to Male wires ????

  • @sehan3563
    @sehan3563 3 года назад

    hello there... i am really need of help right now.... how can i code the RFID tag so it can perform addition operation... i mean like one card reads value of 3 and another card reads value of 4 so i want to make an addition operation...can someone help me

    • @ishirrao8773
      @ishirrao8773 3 года назад

      If you set the RFID number of a card equal to a number and the same for another, you should just be able to code it so that when the specific RFID numbers are scanned, it adds the corresponding numbers

  • @eyram4010
    @eyram4010 Год назад

    where is the SPI library

  • @aayushtrivedi5173
    @aayushtrivedi5173 2 года назад

    rfid:2:10: fatal error: RFID.h: No such file or directory
    #include
    ^~~~~~~~
    compilation terminated.
    exit status 1
    RFID.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    Getting this error, I think I should try installing Library from the library manager. Which library for RFID do I install?

    • @aayushtrivedi5173
      @aayushtrivedi5173 2 года назад

      nevermind, I fixed it

    • @YeetDaMuffin
      @YeetDaMuffin 2 года назад

      How did you fix it I have the same issue

    • @miliohm
      @miliohm  2 года назад

      You need two libraries

    • @YeetDaMuffin
      @YeetDaMuffin 2 года назад

      Nvm I fixed it thank you for the video

    • @davidgalstyan1569
      @davidgalstyan1569 Год назад

      @@miliohm What other library do i need to install?

  • @muhammadmuizzuddinbinmazla2442
    @muhammadmuizzuddinbinmazla2442 3 года назад

    why does my reader cannot detect my card

  • @mariamsuanberete3587
    @mariamsuanberete3587 2 года назад

    please can it read debit or credit card Number

    • @miliohm
      @miliohm  2 года назад

      It is for RFID/NFC card. I don't think the debit or credit card number is stored on NFC. CMIIW

  • @FTRoblox
    @FTRoblox Год назад

    I've Rewired this 10 times and it says it starting but it doesn't accept the card

    • @rajeshgohel9034
      @rajeshgohel9034 10 месяцев назад

      same but this creator not helping genuine creator

  • @izzatradzali1361
    @izzatradzali1361 3 года назад

    R u Malaysian?

    • @miliohm
      @miliohm  2 года назад

      No, I'm the neighbour

  • @wisnuindrawan6496
    @wisnuindrawan6496 4 года назад

    good video, thanks :D

  • @landevi8638
    @landevi8638 3 года назад

    I’m getting a error message for line 2 it is telling me there is no such file or directory for RFID.h

    • @miliohm
      @miliohm  3 года назад +1

      that means you don't have the library. add the library first

    • @landevi8638
      @landevi8638 3 года назад

      @@miliohm I downloaded it but don’t know how to apply it to the code

    • @miliohm
      @miliohm  3 года назад +1

      @@landevi8638 the easiest way is using manage libraries on tools menu. then search for your library.
      Or you can download it manually and copy the library folder to your arduino library folder. Usually on documents/arduino/libraries

    • @brianngondo3771
      @brianngondo3771 3 года назад

      @@miliohm which library because I am getting the same error

    • @miliohm
      @miliohm  3 года назад

      @@brianngondo3771 second library. Named RFID

  • @pien5409
    @pien5409 Год назад

    makasih

  • @SachinSharma-bk2lg
    @SachinSharma-bk2lg 4 года назад

    hello sir!
    i request you to make a video regarding the same RFID with passive sensor
    like have a parking system and when car or bike enters the entry of that tag will be made in the computer.
    aslo the sensor works at a range of few meters so i d like to see how to programme(read a tag) from certain distance.

    • @miliohm
      @miliohm  4 года назад

      Yeah, maybe in next video. But if you want long range sensor. You totally need different RFID reader. You can buy long range RFID reader.

  • @muhammadmemon2394
    @muhammadmemon2394 Год назад

    Is there any library for the RC522 in c++? I really need it to work with the STM32 microcontroller on Nucleo board F429ZI.
    If anyone knows about the library, I will be more than grateful to you.

  • @Onysk
    @Onysk 2 года назад

    it wont recognize the RFID.h file
    its says:
    sketch_dec28a:2:10: fatal error: RFID.h: No such file or directory
    #include
    ^~~~~~~~
    compilation terminated.
    exit status 1
    RFID.h: No such file or directory
    pls help

    • @miliohm
      @miliohm  2 года назад

      Did you already install 2 libraries?

    • @Onysk
      @Onysk 2 года назад

      @@miliohm yes i installed both it recognizes the SPI.h but not RFID.h

    • @miliohm
      @miliohm  2 года назад

      @@Onysk take a look closer at 4:09

    • @Onysk
      @Onysk 2 года назад

      @@miliohm i did exactly what you said download both and copy the code

    • @miliohm
      @miliohm  2 года назад

      @@Onysk did you try to restart Arduino IDE?

  • @mrelectronrock9510
    @mrelectronrock9510 3 года назад

    Gr8

  • @jayplayz1279
    @jayplayz1279 2 года назад

    I need help it won't detect card

    • @miliohm
      @miliohm  2 года назад

      what's on the serial monitor?

  • @mkgmscada5798
    @mkgmscada5798 3 года назад

    RDM6300 with arduino! pleas

  • @kiralygame8568
    @kiralygame8568 3 года назад

    RFID.h: No such file or directori

  • @ibnu_ahmadsurin817
    @ibnu_ahmadsurin817 3 года назад

    'class RFID' has no member named 'isCard'; did you mean 'findCard'?

  • @sherifghaly9746
    @sherifghaly9746 3 года назад

    pls ur link not active

    • @miliohm
      @miliohm  3 года назад +1

      It's still active

    • @sherifghaly9746
      @sherifghaly9746 3 года назад +1

      @@miliohm no it's not

    • @miliohm
      @miliohm  3 года назад

      @@sherifghaly9746 what it said? Because here it is still running properly

  • @bdau_matia
    @bdau_matia Месяц назад

    i am a very silly german boy

  • @devanshgupta5521
    @devanshgupta5521 3 года назад

    :-)

  • @alemega0992
    @alemega0992 Год назад

    it shows me an error:
    C:\Users\Utente\AppData\Local\Temp\.arduinoIDE-unsaved20221128-21368-r6n5cb.9mbg\sketch_dec28a\sketch_dec28a.ino:2:10: fatal error: RFID.h: No such file or directory
    #include
    ^~~~~~~~
    compilation terminated.
    exit status 1
    Compilation error: RFID.h: No such file or directory

    • @miliohm
      @miliohm  Год назад

      it is likely you didn't install both libraries. This sketch needs two libraries.

    • @alemega0992
      @alemega0992 Год назад

      @@miliohm so i need to create 2 files? Or i need to search them?

    • @miliohm
      @miliohm  Год назад

      @@alemega0992 you already download or install the libraries?

    • @alemega0992
      @alemega0992 Год назад

      @@miliohm here is the problem i don't have any

    • @miliohm
      @miliohm  Год назад

      @@alemega0992 4:15

  • @atharva2009
    @atharva2009 3 года назад

    :-)