MF522 RFID Write data to a tag.

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2016
  • Easy tutorial about how to work with an RFID tag on an arduino. read and write data to it.
    Link to DumpCODE: create.arduino.cc/editor/LogM...
    Link to DoorCODE: create.arduino.cc/editor/LogM...
    Link to WriteCODE: create.arduino.cc/editor/LogM...
    MF522/ RC522 RFID reader shields with MIFARE Classic RFID cards/tags.
    RFID reader - RC522
    Link to write website: makecourse.weebly.com/week10se...
    Link how to import a library: • How to include arduino...

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

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

    The RFID cloner program is very useful for me, cause other ready programs cant copy the data at same memory locations in different cards, but your programs does. Thanking you :) :) :)

  • @farahammar7442
    @farahammar7442 6 ปีที่แล้ว +3

    Hello, thanks for tutorial! I'm looking for help:
    I have a project with arduino uno + barecode reader +RFID tag.
    I want to read this barecode in arduino and send it in the RFID tag . How can i do this?p

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

    When stating the rfid serial number can you define it in hex as well or just decimal in order for it to work ?

  • @andremendes5116
    @andremendes5116 7 ปีที่แล้ว

    Nice job man, I used your DoorCode to unlock Windows 10... Thank's

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

    thanks for your tutorial

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

    Nice video, very helpful

  • @atmel9077
    @atmel9077 8 ปีที่แล้ว +1

    I made a "lock" which can store some credit information on the card's memory and uses authentication.

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

      could you kindly share your code with me on this email:chakaselloa@gmail.com

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

    Thanks for making this Tutorial. Would you please asnwer my 2 questions. Which is the maximun storage capacity of the White Card and the Blue Tag?. I noticed that you speak about 1Kb of Storage Capacity and i just wanted you to tell me if all Cards and Tags have the same Storage Capacity or if its possible that this capacity changes on other models. Thanks for your time.

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

      There are bigger ones on the market

  • @karlmanubag6044
    @karlmanubag6044 5 ปีที่แล้ว

    Hello, two of my cards can open the door. The first three hex numbers are different but the fourth one is the same. I'll just state it because maybe you missed this bug(?).

  • @ionut.666
    @ionut.666 6 ปีที่แล้ว +4

    Hello! At 3:08 you say that every block can store 2 bytes of data. What I see there is that every block can store 8 bytes of data because each pair of hex values is worth 8 bits, which means 1 byte, and we have 16 such pairs (16 such bytes).

    • @logmaker3609
      @logmaker3609  6 ปีที่แล้ว +2

      sharp mate!! Thanks its a while ago that I was into this... Its not 2 bytes indeed but 4 (64 / 16 = 4) Thanks

  • @swapnilborage4020
    @swapnilborage4020 5 ปีที่แล้ว +5

    Small correction plz.. each block stores 16 bytes data not 2 bytes! As there are total 64 blocks, total memory will be 64 blocks * 16 bytes per block = 1024 bytes = 1kB card memory..

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

      I know when I heard it said each block stores 2 bytes, i was looking at the memory diagram thinking the hell it stores 2 bytes. You can literally count each byte when its displayed on the Arduino serial monitor.

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

    How to add multiple tags in a program of rfid. Please tell me

  • @mk-wr4vh
    @mk-wr4vh 5 ปีที่แล้ว

    Can I connect this to the rasbperry pi 3 b+ and write a card?

  • @psychoink
    @psychoink 5 ปีที่แล้ว

    I cant read my home entry fob info with rc522, can you tell me why is it so? different frequency? if it is so how to play with my home entry fob?

  • @odprieto
    @odprieto 6 ปีที่แล้ว

    hola desde colombia como lo pude clonar o como podemos eliminar el sector 0?? con mifare clasiic 1k??

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

    Hello Sir,
    I have some questions, Sir. Do i have to learn some programming language to write at the rfid? If so, can you please tell me which? Is the program available on the internet?
    Is the program attached in the link in the description of the video is only applied for MF522 rfid or it can be written at any other type?
    Thanks a lot

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

      In this video the language is Arduino, that is C based but simplified.
      Have a look on my changel for more in- deep Arduino

  • @realtrickybilly
    @realtrickybilly 6 ปีที่แล้ว

    Is soldering absolutely necessary? Can we just slit the pins somehow into the holes and make contact?

    • @logmaker3609
      @logmaker3609  6 ปีที่แล้ว +2

      you are better off if you solder that garantie proper contacts

  • @Anonymous-vh6kp
    @Anonymous-vh6kp 3 ปีที่แล้ว

    Love the explanation marks!

  • @Jawirjawara87
    @Jawirjawara87 5 ปีที่แล้ว

    just a couple of question : can arduino store transaction data into database (such as mysql) ? I am just wondering that this can be used for gate controller in amusement park, so whenever people tap the card then data is stored into database in the server.

    • @logmaker3609
      @logmaker3609  5 ปีที่แล้ว

      prasatyo adji Sure thats possible. In combination olther other processors. There are good tutorials about sql and arduino online. Shortcut would be to store the data on a SD card. I made a video about that one on my changel

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

    hello, am new for this rfid module. am directly connecting the module to pc without any controller. by using wake up command and scan command i found the uid number. now i want to access the 1k memory. can you please send the command list.

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

    is it possible to change uid for a card and make 2 card have the same uid?

  • @sanjumadesha6937
    @sanjumadesha6937 7 ปีที่แล้ว

    help me with this one..
    how can i get the data written on the block to be shown at the lcd..
    while reading the data is in hex(i guess).. how can i it display it as ascii?

    • @gracechen1717
      @gracechen1717 6 ปีที่แล้ว

      This is grace from Greenrfid company,we are a card manufacturer in Shenzhen China.we can provide all kinds of chip card or tag,ect.
      My Email is grace@greenrfid.com.

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

    Hello, nice tutorial. I just couln't find how you added your tag id.In you video you have ID D2 70 C075, but in the code I see: byte knownTac[4] = {04,226,83,219}. When I add my tag id inside the 2 brackets, I cad an error when compiling, beause the tag id contains alphanumerical digits, but it should be only digits. Can you explain ?

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

      He converted the ID from Hexadecimal to Decimal. I had this confusion at first too.

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

    Can you make it rad from a longer range?

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

    Hi, can u help me plz, I have a variable uint32_t chipId; i want to write its content to an rfid block(for example 60) how can i do that?

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

    newbie here. I only see "Scan PICC to see UID, SAK, type, and data blocks..." when I tap the card, nothing happens.

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

    EN: it is possible to write urls in the chips so that with my NFC from my phone I can go directly to the website on the chip?
    NL: is het mogelijk url's in de chips te schrijven zodat ik met mijn NFC van mijn telefoon meteen naar de website op de chip ga?
    Thanks!

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

      Yes, write a script in Python or Bash that read out the data and ping the web with it

  • @octo7642
    @octo7642 7 ปีที่แล้ว

    Hallo,
    Ik heb dus een nfc chip/rfid chip in mijn hand en wil graag de data van mijn pasje (waar je de deuren van mijn werk mee kan openmaken) hoe kan ik dit doen?

    • @logmaker3609
      @logmaker3609  7 ปีที่แล้ว

      wat bedoel je met de data? Bedoel je de unieke code die jou toegang verleend. Of de data die een log maakt als je de deur opent met jou chip?

  • @aniketadak4299
    @aniketadak4299 6 ปีที่แล้ว +2

    i'm in a problem

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

    Hi , how write a URL in my card ?, what block use?

  • @AlexanderHL1919
    @AlexanderHL1919 6 ปีที่แล้ว

    How fast (minimum contact time) can the reader read tags? If I have fixed beacons, and a reader attached to a moving robot, how fast can it move over the beacon and still make a successful reading? Thanks :)

    • @logmaker3609
      @logmaker3609  6 ปีที่แล้ว +1

      The one in the video is slow, about 6 seconds for a full read. But do your homework and buy a fast one. Read the specs (;

    • @ezequielblanco8659
      @ezequielblanco8659 6 ปีที่แล้ว

      It's pretty fast. I don't know how fast is your robot, but I have 6 cards in a cardholder, and if I swipe it above the reader in less than 1 second, it still manages to read them all. So if you just want to read the UID, 0.17 seconds should be enough.
      Cardholder is similar to this:
      sxmrhino.com/wp-content/uploads/2017/11/business-card-holder-plastic-sleeves-With-gro%C3%9Fartig-creativity-Plastic-perfectly-design-13.jpg

    • @AlexanderHL1919
      @AlexanderHL1919 6 ปีที่แล้ว +1

      Cheers for the info. That sounds promising. I ordered one but havent got it yet, but I figured, I'll just have minimal info on it, even down to 1 bit for the purpose of robot confirming that it reached that position and have a counter function in the arduino code to keep track of how many beacons it ran over, rather than keep the info of which beacon is which on the beacons. Cheers again :)

    • @rolex7193
      @rolex7193 6 ปีที่แล้ว

      Ezequiel Blanco email me please

    • @ezequielblanco8659
      @ezequielblanco8659 6 ปีที่แล้ว

      I don't have your email address. Hablás español?

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

    Hola, tengo un problema, no me deja escribir la tarjeta, este es el error MIFARE_Write() failed: A MIFARE PICC responded with NAK.

  • @seleman-MW
    @seleman-MW ปีที่แล้ว

    Can smart card reader device work as MF522?

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

    Thanks for the clear description.

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

    what is a chile monitor

  • @younesselmaache3405
    @younesselmaache3405 6 ปีที่แล้ว

    hello sir ! i like your video so much !
    i'm new with arduino and i want to store string/int variable in 16 byte like this :
    i hope you'll fix this for me ! thank you

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

    it shows Communication failure, how can i fix it?

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

    how to write rfid from get String php ?

  • @mithunbabbira
    @mithunbabbira 7 ปีที่แล้ว

    rfid is not connecting with arduino plz help me ..i tried changing the rc 522 and changed the programme. ..but still its show there is some error in connection between reader and ardunio plz help i have a project to be submitted soon

  • @krzysztofkwietniewski9100
    @krzysztofkwietniewski9100 8 ปีที่แล้ว

    Is there a way to write data to 3M RFID 125 KHz tape (3M™ RFID Tags) Using your RC522 Arduino Module?
    Chears!

    • @logmaker3609
      @logmaker3609  8 ปีที่แล้ว

      +Krzysztof Kwietniewski If they operate on a different frequentie: no...

    • @atmel9077
      @atmel9077 7 ปีที่แล้ว

      No. Rc522 is 13.56 mhz

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

    Is there any way to write URLs into the tags with this device?

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

      did you succeed? I had the same question

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

      @@joost9522 I ended up using and android phone and an NFC app to write URLs onto the card. I have a theory that you if you just use your phone and write the URLs on the card with you phone, then you could copy the code from the phone and paste it on the arduino IDE. I haven't tested it though. Let me know if you have questions. Learned a lot through this project.

  • @TwinOfTheGemini
    @TwinOfTheGemini 6 ปีที่แล้ว

    I've connected everything but it won't read the card at all, everything is supposedly connected accordingly to the arduino uno and even changed the pins accordingly yet I can't even run dumpinfo because it won't read anything :(

    • @MrApplefreaker
      @MrApplefreaker 6 ปีที่แล้ว +1

      Check your soldering. I had the same problem.

    • @logmaker3609
      @logmaker3609  6 ปีที่แล้ว +1

      strange, probely your device is corrupt;(

    • @TwinOfTheGemini
      @TwinOfTheGemini 6 ปีที่แล้ว

      Thanks for the advice, it was actually the reader came with a fabric fault, so it didn't read at all.

    • @TwinOfTheGemini
      @TwinOfTheGemini 6 ปีที่แล้ว

      It was! The reader has a malfunction, but thankfully I had a second one and got it to work! ^^

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

    Hi, great video tnx.
    About Write and Read informations it works for me too, but only first time i put tag near MFRC522
    All subsequent times mfrc522.PICC_ReadCardSerial() returns 0
    Do you know why?
    Tnx

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

      Wow...i figured out in a strange way.
      If at the end of write and read i put this
      mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
      it works any time
      Really strange....

  • @oshpelomochacha5740
    @oshpelomochacha5740 5 ปีที่แล้ว

    wow thank you! hoped a lot. can u tell me how can i cope the chip to be the same as the other one i have?

    • @logmaker3609
      @logmaker3609  5 ปีที่แล้ว

      Its not a good idea to programme 2 identical chips. Rather you authorize another id for the same task

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

    How do we write "hello world" on RFID tags?

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

      sir you received any solution for your questions, I have same question if you hany solution pls tell me

  • @giacomo3423
    @giacomo3423 6 ปีที่แล้ว

    Is it able to read / write tag tipe: iso 14443-4?

    • @muhammedatasoy7711
      @muhammedatasoy7711 5 ปีที่แล้ว

      If you want to read your creditcard or something, you still need tge encryption key. But normal things you should be able to read

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

    thanks for the video, i have a question, do you have a code that has reader and writer program together, i would appreciate it a lot.

  • @karacaveli4811
    @karacaveli4811 5 ปีที่แล้ว

    Neiderlandsee accenttt

  • @infoab9158
    @infoab9158 7 ปีที่แล้ว

    rc522 rfid can read 125khz cards?

    • @logmaker3609
      @logmaker3609  7 ปีที่แล้ว

      I cant remember, I made this video over a year ago, read the specs.

    • @gracechen1717
      @gracechen1717 6 ปีที่แล้ว

      This is grace from Greenrfid company,we are a card manufacturer in Shenzhen China.we can provide rfid card to you.
      My Email is grace@greenrfid.com.or leave your contact information.Thank you.

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

    6:52 I translated it use ASCII code and I get "makecourse_____"

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

      same haha

  • @user-cu2tp9mc3p
    @user-cu2tp9mc3p 7 ปีที่แล้ว

    это по немецки или английски?

  • @Abdullah-ig7fo
    @Abdullah-ig7fo 5 ปีที่แล้ว

    He has a belgium accent.

    • @Abdullah-ig7fo
      @Abdullah-ig7fo 5 ปีที่แล้ว

      @JustThatSniper im from belgium you stupid.they speak dutch there.(Dutch language is spoken in many countries!im saying that he has a belgium accent.

  • @olivejuice5233
    @olivejuice5233 5 ปีที่แล้ว +5

    Nederlands ?

    • @hellhoundytb
      @hellhoundytb 5 ปีที่แล้ว +2

      I thought he had something stuck in his throat

    • @_FRANK_LIN
      @_FRANK_LIN 5 ปีที่แล้ว

      @@hellhoundytb
      😂😂😂

    • @fsiradio
      @fsiradio 5 ปีที่แล้ว

      Ja dat kan je wel horen ja xD

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

    Het Nederlands accent is wel te horen, maar goede video

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

    are u dutch? xD

  • @tarunalakhramsing7861
    @tarunalakhramsing7861 5 ปีที่แล้ว

    Nederlands of Belgisch

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

    are you dutch XD

  • @mharis404
    @mharis404 4 ปีที่แล้ว +2

    Firmware Version: 0x7F = (unknown)