micro_door.ino
contains an arduino sketch that does two things.
- It listens for incoming passcodes from an RFID reader, comparing them to a list of allowed passcodes and turns on Pin 2 (opening the lock) if there's a match.
- It listens for an "open" signal on the the usb port and turns on Pin 2 when it's received.
This directory holds a simple express.js web app that can pass a request to open the lock from an html page to an arduino listening over usb.
Similar to functionality of node-door app except it just runs on the terminal (no website). A proof of concept.