Go to file
q3k fb2ae5d013 First revision of keypad PCB.
http://i.imgur.com/pNjvT0o.jpg
2013-09-15 11:11:11 +02:00
hardware/keypad First revision of keypad PCB. 2013-09-15 11:11:11 +02:00
lua-libs Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
.gitignore Initial commit of test/ugly/prototype code. 2013-09-05 22:48:54 +02:00
README Massive refactor of source code. 2013-09-06 08:41:11 +02:00
auth.lua Updated license. 2013-09-06 08:43:15 +02:00
i2c.lua Updated license. 2013-09-06 08:43:15 +02:00
main.lua Updated license. 2013-09-06 08:43:15 +02:00
nfc.lua Updated license. 2013-09-06 08:43:15 +02:00

README

This is the Hackerspace Warsaw electronic lock mk2 project.

Work in progress! This is a prototype for a TP-Link WR703n based hardware
solution - with a I2C bus on which there is a MAX7300 IO expander and a PN532
NFC tag reader. The I2C is software bit-banged by the kernel, drivers for both
the IO expander and the PN532 are written in Lua.

Files:
    hslockmk2/                       - this directory
             /main.lua               - main Lua script
             /i2c.lua                - I2C functions
             /nfc.lua                - NFC/PN532 functions
             /auth.lua               - auth API functions

             /lua-libs/              - other Lua libraries
                      /mips-bin/     - C libraries compiled for MIPS/OpenWRT
                      luai2c.tar.gz  - C i2c library
                      luasha2.tar.gz - C sha2 library
                      JSON.lua       - JSON library
                      bit.lua        - bitwise operations for Lua 5.1

You will additonally need luasec, luaposix and luasocket. But you can easily
find these in your favourite distribution, or even the OpenWRT source tree.