Smart Lock for an Escape Room: Multi RFID Readers System

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 เม.ย. 2018
  • 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/Annaane/MultiRfid
    You can reach me here :
    ● FACEBOOK: / enormus.1
    ● INSTAGRAM: / annaaanee
    ● TWITTER: / hananeaf1
    The music is made by the amazing Amine Benabdelmoumen: / bordermine

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

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

    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 !

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

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

    This is stunning ! Love it

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

    really nice project!!

  • @powermouze
    @powermouze 4 ปีที่แล้ว +3

    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 8 หลายเดือนก่อน

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

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

    Cool. I needed something like this. Thanks.

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

    Go go hanane 💪💪💪 proud of you

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

      Jamila, Merci beaucoup!

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

      Hay Hay jamila everywhere XD

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

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

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

    Awesome video!

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

    This is very interesting. Thanks

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

      I'm glad you like it !

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

    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

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

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

    TbarkeLAH 3lik hanane, hadchi zwine KEEP GOING !!

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

      Merci beaucoup AbdEssamad !

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

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

    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!

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

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

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

  • @34b44
    @34b44 3 ปีที่แล้ว

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

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

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

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

      Merci beaucoup Hamza !

  • @WashWillah
    @WashWillah 5 ปีที่แล้ว +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 :)

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

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

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

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

    Bon 😋 courage

  • @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 :)

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

    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!

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

    Génial 💡=D>

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

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

    ola boa tarde,como faco para cadastrar as tags

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

    you are from Switzerland arent you? saw the power jack

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

      No, I'm from Morocco

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

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

    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.

  • @aidamptbelledemai-leolagra2309
    @aidamptbelledemai-leolagra2309 4 หลายเดือนก่อน

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

  • @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 :)

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

    baravo 👍👍💯🤗👏👏

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

  • @MuhammadZeeshan-gd1cb
    @MuhammadZeeshan-gd1cb 5 ปีที่แล้ว +2

    can u tell me the circuit diagram?

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

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

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

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

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

    ♥♥♥

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

    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!

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

    👍🇲🇦

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

    Finally a woman doing electronics!. Most channels are men

  • @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... 😟

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

    T francaise?