Code Monkey home page Code Monkey logo

zamkonator's Introduction

Zamkonator - a PoE powered electronic lock system

INFO: This project is in a work in progress state and is not yet complete.

This is a repository for the hardware and software for a PoE powered locks system. It reads RFID cards using the Wiegand interface, and opens an electronic door latch to grant entry. This project simplifies the deployment of such systems by eliminating the need for a separate power supply for the lock. Additionally it connects directly to a LDAP server to authenticate users, thus removing any central coordination between multiple locks.

Hardware overview

Hardware overview

The system is based on the ESP32 SoC and the RTL8201F PHY. The PoE power supply is supplied by the SI3404-A-GM IC. To provide an extra layer of safety, the Wiegand interface is isolated using optocouplers and the lock is controlled via a relay to eliminate any possibility of surges occuring in long cables.

Full PDF schematic

Firmware

The firmware is located in the zamek-firmware/ directory. To build it you will need ESP-IDF 4.4.2.

Building

# with the ESP-IDF activated, in the zamek-firmware/ directory
idf.py build

Alternatively you can use included nix shell, which automatically downloads and activates the ESP-IDF.

nix develop
idf.py build

Flashing

# with the ESP-IDF activated
idf.py flash

If you are flashing a board for the first time you will also need to flash the littlefs partition. To do that run:

./flash_littlefs.sh

License

MIT

zamkonator's People

Contributors

alufers avatar

Stargazers

AVA avatar Lech Perczak avatar

Watchers

 avatar  avatar

Forkers

leo-pl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.