Это видео недоступно.
Сожалеем об этом.

Smart Lock for an Escape Room: Multi RFID Readers System

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • Hello,
    WELCOME TO MY CHANNEL.
    This video shows the making of a smart lock/puzzle game as a Multi RFID Readers system that I designed for an escape room. The idea is opening the door after 4 specific cards are recognized by the Rfid system. The cards are gonna be glued to some objects that are going to be later maintained on the readers to solve the puzzle. A push button is added for manual opening of the door and Leds for signaling.
    I hope you like it.
    Please find the code and the wiring diagram here : github.com/Ann...
    You can reach me here :
    ● FACEBOOK: / enormus.1
    ● INSTAGRAM: / annaaanee
    ● TWITTER: / hananeaf1
    The music is made by the amazing Amine Benabdelmoumen: / bordermine

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

  • @IgorDeFaye
    @IgorDeFaye Год назад +4

    For those struggling with having several readers. I had the same issue and had to check 2 things:
    1 - that the reset should go to the right pin, 2 - that I had good connection on all pins. If you have some resistance, it means the connection is not great and it will probably not work. I had to dish the jumper wires I had and get some good connectors. In doubt, test the resistance to see how good you connection is.

  • @powermouze
    @powermouze 4 года назад +4

    Some people all over the internet face issues when connecting multiple RFID boards in parallel to Arduino board. When 2+ readers connected it stop working. One reader works perfectly but 2+ pcs. not. The problem is weak MISO output of some reader board. Checked some Russian electronics forums and found answer how to make multiple readers work. You need to connect MISO outputs through the OR logic gate to Arduino. It is possible to use logic OR IC chip or just simple diodes+resistor OR element. Connect anodes of diodes to MISO reader outputs. Then tie all cathodes together, put 4k7 resistor to the ground (yeah we just built OR logic gate) and then connect to the MISO pin 12 (on Arduono Uno). That's it! Tested with 3 readers. Work like ice ;)

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

      Another issue with multiple boards on one Arduino is that with some of these RFID boards the MISO line does not go high impedance when not addressed. It remains high and prevents other boards from communicating. I found this problem with low cost boards I bought on Amazon.
      A simple fix is to use a Tri_sate buffer (74AHC125) and connect each of the inputs to the MISO line from the RFID boards. Connect the outputs together and then to the MISO pin on the Arduino. Finally connect the chip select line for each of the RFID lines to corresponding Output enable pin on the buffer.
      This worked well for me.

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

      @@bobmansfield6859 I myself have been trying to solve this problem and your solution sounds great! I have a few projects requiring 5+ readers. I'm a bit of a noob when it comes to Arduinos and though I tried my best to follow your description, I'm a bit fuzzy on some of it. Any chance you could share a pic or diagram of the Tri-state buffer wiring you recommend?

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

      @@bobmansfield6859 can you please share a diagram or pic , it will help Thank you so much 🥰

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

      sr for asking this after 4 years but can you show me the layout or diagram when using or gate with more than 2 rfid readers please?

    • @JamilaEbook
      @JamilaEbook 27 дней назад

      ​@@bobmansfield6859Hi IS there chance to get a tutorial, thank you

  • @saadneo30
    @saadneo30 6 лет назад +1

    Finally i found What I've been looking for :D Congrats for the Channel Opening

    • @annaane8817
      @annaane8817  6 лет назад

      Thaanks Saad, it's your turn now !

  • @agghanim
    @agghanim 5 лет назад +2

    Thanks for uploading this. Small issue though, it is possible that the same RFID card can be used multiple times on the same RFID reader to get the door to open. The code does not check if a card has been used before, or if the card is used on a specific reader.

    • @annaane8817
      @annaane8817  5 лет назад

      Hello agghanim, thanks for your comment. In fact, yes, you are right. I'm aware of the issue but as I said before, in the real life usage, the rfid card is held on a certain object that has a certain form due to which it can be put on only one the reader, that's why I didn't really bother going further in the programming. But thanks again for your comment, I'll find some time to fix the issue. Cheers!

  • @josephvanclersson7906
    @josephvanclersson7906 2 месяца назад

    So proud of you yalah kayna nti o wa7ed li chare7 4 readers please kifach nkhdem blcode li github

  • @robirob2603
    @robirob2603 8 месяцев назад

    Cool. I needed something like this. Thanks.

  • @jamilasaberlihallah5179
    @jamilasaberlihallah5179 6 лет назад +1

    Go go hanane 💪💪💪 proud of you

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

    really nice project!!

  • @FunDumb
    @FunDumb 5 лет назад

    This is very interesting. Thanks

  • @AbdeSsamadBENITTO
    @AbdeSsamadBENITTO 6 лет назад

    TbarkeLAH 3lik hanane, hadchi zwine KEEP GOING !!

  • @tomredburn3289
    @tomredburn3289 3 месяца назад

    Hey! this is a wicked video TYSM so it looks like each RFID reader use the same digital pins in the Arduino, can you add say up to ten RFID readers to this configuration?

  • @TheAfterwave
    @TheAfterwave 6 лет назад

    This is stunning ! Love it

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

    Oh my god, I was looking for this video my whole life! :( I was desesperate to find a correct wiring diagram and explanation, thank you so much! I have a plan to make a plan where the players should move the job. It is the successive activation of the readers in a certain order that allows the opening of an electromagnet. I am still very far from having succeeded..! One question, are you French? :) J'ai vu que le livre était en français :3

  • @shinevisionsv
    @shinevisionsv 6 лет назад

    Awesome video!

  • @HamzAYC
    @HamzAYC 6 лет назад

    Nice and clean work (y)(y)(y)

  • @oakinger
    @oakinger 5 лет назад

    sweet, I was looking for an example with multiple RC522 readers. Exactly what I needed.
    PS: haven't tried your setup, but from reading the code it looks like one can easily cheat the system by simply tapping/removing the same card 4 times as it only counts the number of valid recognised tags

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

      Hello, I'm glad you found what you needed. You're right, but for my case i had readers attached to objects that would only fit for a specific reader so i just didn't fix this issue when making this video. If you want, you can pull a request on github to fix this.
      Thank you!

  • @16basma1
    @16basma1 6 лет назад

    Was waiting for chi "thanks for watching, ... and don't forget to subscribe" :D Hope you can make it to the top of the Tondouuz hhh !! Good luck

    • @annaane8817
      @annaane8817  6 лет назад

      lawaaah, pas à ce point :D Thanks sweety

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

    hi, does the cards should be in an exact order or it doesn't matter?
    thanks and great video

  • @OhadooElectronics
    @OhadooElectronics 6 лет назад

    hey this's Hamza , ex-classmate in fes, remember?? , good work , keep up, I guess we share the same passion hh !

    • @annaane8817
      @annaane8817  5 лет назад

      Hey Hamza! Yes, I do remember you! Thanks a lot, I hope you're doing well :)

  • @34b44
    @34b44 3 года назад

    Молодец! Cool!!!

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

    Excellent project. I am looking to develop a project with two MFRC522 readers in which i need to display the uid of the card and which reader is reading the card (Either card 1 or 2). Is my usecase possible with 2 rfid reader and esp32?

  • @bobdylan5926
    @bobdylan5926 5 лет назад +2

    How do I attach multiple RFID like that?

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

      You can find the wiring diagram on my github. Link in the description

  • @aidamptbelledemai-leolagra2309
    @aidamptbelledemai-leolagra2309 8 месяцев назад

    Hi does anyone have the program on arduino for this type of rfdi puzzle?

  • @WashWillah
    @WashWillah 6 лет назад +2

    This is exactly what I'm looking for! Can I get the wiring? I can't see anywhere... Thank you!! :)

    • @annaane8817
      @annaane8817  5 лет назад

      It's on github, link in video description :)

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

    I just found your videos and was wonder would it be possible to use more scanners than 4 and if so how many do you think you could run on a single board

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

    I found it just now. ehehe Great work Miss! Just a question: can a single Arduino manage different readers with different codes? Ex: Tag A valid only when on reader 1, tag B only on reader 2...and so on...

  • @radouaneafoukass3687
    @radouaneafoukass3687 6 лет назад

    Génial 💡=D>

  • @user-oh8wk3ge4n
    @user-oh8wk3ge4n 2 года назад

    baravo 👍👍💯🤗👏👏

  • @techfuture4271
    @techfuture4271 5 лет назад +1

    It is so good....thank you but if you want can you show me the wiring diagram ??? :)

    • @annaane8817
      @annaane8817  5 лет назад

      It's on github, link in video description :)

  • @mik3p0wer
    @mik3p0wer 5 лет назад +1

    do the tags have to be in a specific order or just be the correct ones?

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

      with this code not only does the order not matter, but you can swipe the same valid card 4 times in any sensor and the gate would open, so keep that in mind while watching this

  • @MuhammadZeeshan-gd1cb
    @MuhammadZeeshan-gd1cb 6 лет назад +2

    can u tell me the circuit diagram?

    • @annaane8817
      @annaane8817  5 лет назад

      It's on github, link in video description :)

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

    Finally a woman doing electronics!. Most channels are men

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

    ola boa tarde,como faco para cadastrar as tags

  • @radouaneafoukass3687
    @radouaneafoukass3687 6 лет назад

    Bon 😋 courage

  • @rastajah2610
    @rastajah2610 5 лет назад

    hi thanks for the video and it is really awesome. i would like to ask if it is possible to reset the buffer size? is it possible to have no limit in tapping the rfid cards to the rfid reader?

    • @annaane8817
      @annaane8817  5 лет назад

      Hello, "Reset the buffer size" ?! What do you mean ? And yes, it is possible to have no limit in tapping the rfid card to the rfid reader; once the card is on the reader, its uid takes place in the buffer.

  • @dudefromkeene
    @dudefromkeene 5 лет назад

    What if you want each reader to open a different door? Like in an office situation

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

      If you want each reader to open a different door, you just need to add as much relays as the doors you have and then make a test loop on the Card ID so it opens that specific door and not another one.

  • @elementcheng8034
    @elementcheng8034 5 лет назад

    i made this too . but not stable . some time cannot access one of the reader. Do u know why. I need a pull up resistor in sda?

    • @annaane8817
      @annaane8817  5 лет назад +1

      Hello, Thanks for your comment.
      I didn't use any resistor and it's working like charme. I don't think you need one, maybe just check your wiring and soldering. Good luck!

  • @taylorpfyffer6265
    @taylorpfyffer6265 5 лет назад

    Do you happen to have a wiring diagram with the bread board included? Thank you!!

    • @annaane8817
      @annaane8817  5 лет назад

      Hello.. with the bread board ? I'm sorry, I don't. Fact is, I only used the bread board on the video to make it easier for me to show you guys how I connected things.

  • @Crzydrmstick
    @Crzydrmstick 5 лет назад

    Dear Anaane, awesome job. I have tried your code, an it works. but it doesn't matter where i place the tags (the order is not impartant), i can also use the same tag 4 ties and the door wil always open. Is that how you intended it? Thanks for your time :)

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

      Hello, thanks a lot! Yes, you're right, I have already mentioned in another comment that the cards were attached to objects that only fit for the specific rfid reader so I just didn't bother to fix it for the this video. For any code modification, please pull a request on github. Thanks!

  • @quintentwisk9103
    @quintentwisk9103 6 лет назад

    Nice video! But dont you have problems with the rfid readers interfering with eachother, if yes how did you solve that?

    • @rabbitholerecreationservic9476
      @rabbitholerecreationservic9476 6 лет назад

      I am also curious about this, I have always heard that readers interfere with each other when wired together.

    • @annaane8817
      @annaane8817  6 лет назад

      I'm really glad you liked my video! I guess the readers interfere with each other when you set the antenna's gain to the maximum in the code, in my case I didn't encounter this situation as you can see, also in the escape room, the readers were placed one or two meters away from each other, so it basically solves the interfering problem if there's any.

  • @EVERYTHING-tc6si
    @EVERYTHING-tc6si 5 лет назад

    please give me the full wiring diagram with 4 rfid and the code..in github there is only wirining diagram with arduino and rfid, but manual switch and output control isn't availavle

    • @annaane8817
      @annaane8817  5 лет назад

      I don't much understand your request. On Github there's the wiring diagram and the code.

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

    Il semble que le fonctionnement dépende des lecteurs. Alors que tous semblent identiques, avec certains ton montage ne marche pas du tout car il y a confusion sur les MISO. En fait, quand tu branches 2 modules SPI ensemble, tu as MISO, MOSI et CLK qui sont communs (comme sur ton schéma). Or avec certains modules RFID, le MISO commun fait qu'un seul module fonctionne. La solution semble être d'avoir des MISO séparés. A priori cela peut marcher avec la librairie Sunfounder.

  • @jamoneil
    @jamoneil 6 лет назад

    you are from Switzerland arent you? saw the power jack

  • @michaelmarcic9636
    @michaelmarcic9636 6 лет назад

    Thanx for your work! But if I'm not mistaken there is a little mistake in the code. Or are you aware that you also could but four times the same card on one reader to open the lock? Or is it what you mean with: Warning: This may not work! Multiple devices at one SPI are difficult and cause many trouble!! Engineering skill and knowledge are required!

    • @annaane8817
      @annaane8817  5 лет назад +1

      The warning belongs to the owner of the rfid library. For this case the tag is held on the rfid reader and can't be put on another reader (saving time and energy hehe). Other than this you can share your code with us by pulling a request on github. Cheers!

  • @KaatCollina
    @KaatCollina 6 лет назад

    ♥♥♥

  • @ElectroLab0
    @ElectroLab0 5 лет назад +1

    Nice project.
    I'm facing some issue with my RFIDs. When I connect 1 (one) RFID, then it works fine. But when I connect more than one (2 or 3), The controller (Arduino) doesn't find any readers. Get these lines on the serial monitor.
    Reader 0: Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Reader 1: Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Reader 2: Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Reader 3: Firmware Version: 0x0 = (unknown)
    WARNING: Communication failure, is the MFRC522 properly connected?
    Can you please help with this? Or anyone here can help me?
    Thanks.

    • @annaane8817
      @annaane8817  5 лет назад +2

      Hello ElectroLab, Thanks for your comment. I had this issue too many times and all I did was to check my rfid modules' soldering. I'll share the circuit diagram so that you can compare it with yours.
      Also what I suggest is that you connect one by one : You connect the first, and check if it's working, then the second one and check again, and so on until you get all your rfid modules recognized by the arduino.

    • @ElectroLab0
      @ElectroLab0 5 лет назад

      @@annaane8817 Thanks for your reply. I'll try and let you know soon. :)

    • @ElectroLab0
      @ElectroLab0 5 лет назад

      Hi @@annaane8817 I've tried as per your instruction. But the results are the same! :(
      Whenever I connect the 2nd one, it can't detect any RFID readers!

    • @annaane8817
      @annaane8817  5 лет назад

      @@ElectroLab0 Please check my repo on github to compare my wiring diagram to yours

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

      I have the same problem... 😟

  • @LaPetiteshy
    @LaPetiteshy 6 лет назад

    Magnifique! C'est possible de te suivre ailleurs..Twitter peut-etre? :)

    • @annaane8817
      @annaane8817  6 лет назад

      Avec grand plaisir ! Le lien vers mon compte Twitter est sur la description de la vidéo

  • @user-oh8wk3ge4n
    @user-oh8wk3ge4n 2 года назад

    👍🇲🇦

  • @karacaveli4811
    @karacaveli4811 5 лет назад

    T francaise?