Annaane!
Annaane!
  • 2
  • 40 988
Making a Home Automation System with a RaspberryPi and an Android Application.
Hello,
WELCOME TO MY CHANNEL.
This video shows the implementation of a RaspberryPi into a network to gather all the connected objects present in a house to make them communicate with each other and thus, have the whole house flexibly and remotely controlled without needing all the remote controls of each equipment. I created a Android application to communicate directly with the RaspberryPi using a server/client communication (TCP/IP socket) to control the connected objects like to power on/off, increase/decrease volume, turn on/off lights, etc.
The system's functionalities are quite basic at this moment, the possibilities or the scenarios that can be added are infinite, relays and sensors can be added to give the system more autonomy (door locks, detecting heat, presence, humidity, etc).
I hope you like it. FEEDBACKS ARE MUCH WELCOME!
Please find the code for both server (RaspberryPi) and client (Android application) here : github.com/Annaane/RPiSmartHome
You can reach me here :
● FACEBOOK: enormus.1
● INSTAGRAM: annaaanee
● TWITTER: HananeAf1
The music is made by the amazing Amine Benabdelmoumen: soundcloud.com/bordermine
มุมมอง: 7 997

วีดีโอ

Smart Lock for an Escape Room: Multi RFID Readers System
มุมมอง 33K6 ปีที่แล้ว
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 open...

ความคิดเห็น

  • @tomredburn3289
    @tomredburn3289 6 วันที่ผ่านมา

    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?

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

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

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

    Cool. I needed something like this. Thanks.

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

    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

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

    ola boa tarde,como faco para cadastrar as tags

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

    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.

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

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

    really nice project!!

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

    👍🇲🇦

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

    baravo 👍👍💯🤗👏👏

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

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

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

    Finally a woman doing electronics!. Most channels are men

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

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

    Hey awesome project! in ur code you use: {0x4B, 0x17, 0xBC, 0x79}, {0x8A, 0x2B, 0xBC, 0x79}, {0x81, 0x29, 0xBC, 0x79}, {0xE6, 0xDF, 0xBB, 0x79}, How does this work and how can I change this into the numbers of my cards?

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

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

    thank you so much

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

    which app are you using

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

      I am using my own app, please find it in my github repo

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

    this is amazing

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

    where did you write the code , i mean what software or editor?

  •  4 ปีที่แล้ว

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

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

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

  • @AhmedSamy-td1uw
    @AhmedSamy-td1uw 4 ปีที่แล้ว

    Hey Anna I have my smart home project with Rasperry pi and i want to make a mobile application to control it faraway can u talk more specifically about how to make it ? god bless you

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

      What do you need to know exactly?

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

    1- it's a great video 2- annaane how you connect your app with the server,you used a cloud ?

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

      Hello, thank you, I'm glad you like it. No, I only used the raspberry pi as a server and an Android application as a client through a TCP/IP connection

  • @HKKH-gy7py
    @HKKH-gy7py 4 ปีที่แล้ว

    awesome i love it please send me email to contact because i can do same tye of project in university

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

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

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

    cool project and great technology and presentation skills!

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

      Thank you so much! I appreciate it

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

    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

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

    What did you use to develop the android app?

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

      I used Android Studio

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

    How do I attach multiple RFID like that?

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

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

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

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

    You really have great skills, why don't you make a Udemy course onto how to do this. It will be win-win for both. You can earn and we can learn a great skill set from you

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

      This is a brilliant idea, I never thought of it! Thanks! I'll think about it

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

    Is your own app?

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

      Yes it is

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

      You can find the source code in my github (link in the description)

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

      @@annaane8817 thanks

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

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

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

    you have given diffrent different ip address and port number for many fuctions and my question is How did you get that?

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

      For the IP adresses, I made them static in my network and used them in my program to get a telnet/ssh connection to the equipment (I avoid DHCP in these cases). For ports, it's not a random choice, It's given in the equipments' documentation.

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

    How did you connect relay with raspberry pi server ??

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

      a pin to the ground GND, a pin to the 5V output of the raspberry pi and the other pin is the DATA ( a pin that you choose)

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

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

    very good

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

    This is literally my dream project.

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

      START WORKING ON IT NOOOOW!!!

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

    Great innovation Hanan. Genius girl.

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

      Thanks a lot Said !

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

    You make it look so easy ! :D Bravo !

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

      Thanks a lot. I'm glad you like it :)

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

    In love with every aspect of this video !

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

      Thanks a lot !! <3

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

    Hey! This is awesome!!! *V* great video! You should try to share it everywhere on forums and reddit...etc.

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

      This is the plan for today hihi

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

      Thanks a lot man, I appreciate it!

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

    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!

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

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

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