Elektroda.com
Elektroda.com
X

Intelligent access control based on ESP32 and TFT LCD

Fisher2 5118 9
This content has been translated flag-pl » flag-en View the original version here.
  • Smart home is becoming more and more common as technology advances, this article will focus on the security aspects of intelligent access control design.
    This article uses the STONE touch screen to send commands to the MCU to control the relay and MFRC522 module.
    Card reading principle: by running the RFID-RC522 module, identify the ID card ID near the ID card, then determine whether the ID exists in the database of common words, ID is the typical word value, if the existence of verification by, then print the corresponding name, then drive the lock electromagnetic in the same way.

    Required materials

    ESP32
    KOB electronic lock
    Relay
    STONE STWI070WT-01 touch panel
    MFRC522 module

    Functions performed

    1.card registration.
    2. registration of username and password.
    3. swiping the card to unlock the electronic lock.
    4. Registering a username and password to unlock the electronic lock.

    Main equipment Description

    RFID module

    This module can be directly loaded into various reader modules. It uses a voltage of 3.3V, through the SPI interface with just a few wires. Directly connected to the CPU motherboard, the module can work stably and reliably as a proximity card reader.

    Intelligent access control based on ESP32 and TFT LCD

    Wiring diagram

    Intelligent access control based on ESP32 and TFT LCD

    GUI design

    Intelligent access control based on ESP32 and TFT LCD

    Code: python
    Log in, to see the code


    video demo




    Cool? Ranking DIY
    About Author
    Fisher2
    Level 3  
    Offline 
    Fisher2 wrote 41 posts with rating 5. Been with us since 2020 year.
  • #2
    zgierzman
    Level 31  
    Fisher2 wrote:
    Identify the ID card ID near the ID card, then determine whether the ID exists in the database of common words, ID is the typical word value, if the existence of verification by, then print the corresponding name, then drive the electromagnetic lock in the same way.

    This is an automatic translation of google translate from Swahili? Because it is certainly not in Polish ...

    How is it with the security of such a solution? As far as I know, cloning UNIQUE or MIFARE cards is not a big deal. A topic for gimbazy, not for the patrons of the Black Hat conference ...

    https://timdows.com/projects/using-a-mobile-phone-to-clone-a-mifare-card/
  • #3
    JohnKaldachar
    Level 6  
    Has anyone already figured out why who needs this "intelligent" house? ? What are the real benefits and savings (where)?
    And the most important question. After what time the user of this house turns off all these "intelligences"?
  • #4
    Slawek K.
    Level 35  
    What's smart here?

    Greetings
  • #5
    zgierzman
    Level 31  
    JohnKaldachar wrote:
    Has anyone already figured out why who needs this "intelligent" house? ? What are the real benefits and savings (where)?
    And the most important question. After what time the user of this house turns off all these "intelligences"?


    I live in a normal house, where to turn on the light in the toilet I have to press the button on the wall next to the door, and I can't do it through the app on my phone from the other side of the world.
    So I will not comment on my own experience, but I perceive it as a hobby. Some spend a fortune on postage stamps, others on fishing equipment, others stick spoilers to well-worn automotive monuments. So why not play around with turning on a bedside lamp remotely, taking the temperature at three points in each room along with drawing graphs, and not having control over your home microwave oven when you're on vacation in some exotic location?
  • #6
    JohnKaldachar
    Level 6  
    Yes, great fun. Control of the on / off microwave oven. It makes sense" :-) .
  • #7
    Fisher2
    Level 3  
    I'm learning all kinds of things, I'm not a professional I won't do that well, it's just because I'm interested in it.

    It certainly has many flaws, and if you can do better I would be very willing to learn, after all, I am still a novice.
  • #8
    gulson
    System Administrator
    Don't worry, thanks for presentation!
  • #9
    zgierzman
    Level 31  
    I think, in very first post should be information about nationality and language of the member. For now, it's impossible to know, that @Fisher :) is chinese. It is shown it his second post, not at beginning.

    Intelligent access control based on ESP32 and TFT LCD

    And second thing, it would be nice, if author was write at the beginning: "sorry, this is automatic translation, original text is here:..."
  • #10
    Fisher2
    Level 3  
    I will pay attention to it.