Skip to content

Instantly share code, notes, and snippets.

@ronnaf
Last active September 24, 2019 10:03
Show Gist options
  • Save ronnaf/940eee7b302ae66fdcd6a8bd2226676b to your computer and use it in GitHub Desktop.
Save ronnaf/940eee7b302ae66fdcd6a8bd2226676b to your computer and use it in GitHub Desktop.

Comark Solenoid Door Lock

Door Lock Admin Web App: https://comark-door-lock-web.herokuapp.com/
API: https://comark-door-lock-api.herokuapp.com/

PS: the sites might take time to load. the deployment was only free.

There are 4 repos associated with the project:

Instructions:

  1. Connect arduino device to usb port
  2. Run comark-door-lock-script (see the repo for instructions)
  3. Open https://comark-door-lock-web.herokuapp.com/

Running everything locally:

You need to install NodeJS, Yarn and MongoDB to run the project locally.

  1. Connect arduino device to usb port
  2. Run comark-door-lock-api (See the repo for instructions)
  3. Run comark-door-lock-script (See the repo for instructions)
  4. Run comark-door-lock-web (See the repo for instructions)

Some note:

The rfid reader scans the rfid with a 1s delay. Hopefully, this allows enough time for the server to process the request and return a response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment