Giter Site home page Giter Site logo

accessystem's Introduction

Software for the Access Control Nodes (ACNode) at the Makerspace Leiden.

RFID cards are coded as decimal numbers separated by a dash. So if the card contains

unsigned char uid[] = { 13, 70, 0, 33, 19 }; // In 'read from card' order.

then the seralisation into an ascii string wil be '13-17-0-33-19'.

  • Master

    The master node and a sample database. Can be ran out of the box with

     ./master.py --debug --dbfile sample-keydb.txt 
    
  • SimpleDeurNode

    A simple door RFID reader and stepper-motor lock combination. Can be tested/ran with the command

    ./acnode-deur.py --offline --debug 1-1
    

    The --offline command removes the hardware from the loop (see the top of the file for the GPIO settings); the '1-1' is a 'fake' card; see the above sample-keydb.txt

  • DeurControlNode

    A node that has only the stepper engine to open the door connected. Run with:

    ./acnode-deur.py --offline --debug
    
  • DeurRFIDNode

    A node that has just a reader attached.

    Test with the command (after starting above DeurControlNode.

    ./acnode-rfid.py --offline --debug 1-1
    
  • KrachtstroomACNode

    A more complex node - which can control multiple tools.

  • Drumbeat

    A test tool - just broadcast the timestamps.

  • lib

    Library of shared files:

  • lib/ACNode.py

Base class with the protocol and assorted sundry

  • SensorACNode.py

  • ActuatorACNode.py

  • DrumbeatNode.py

    Classes on top of the ACNode that add the protocol bits for a sensor, actuator and the timestamps.

  • OfflineModeACNode.py

    Provides the '--offline' functionality to allow testing on laptops (e.g. not require the specific RasberryPI & assorted hardware).

  • RfidReaderNode.py

    Simple RFID reader; can also be ran 'stand alone' to test the RFID reader; e.g. with

      $ ./RfidReaderNode
      Detected card: 23-9-12-4-32
      Detected card: 3-71-5-21-81
      ctrl-C
      $
    
  • lib/Drivers

  • Mosfet.py

  • Stepper.py

Directory with hardware/wiring specific drivers. These can be ran from the command line as well. e.g. use:

  ./Stepper.py 

to activate the stepper to open the door.

Currentl dependencyies for a `pip install' are:

daemon setproctitle configargparse python-axolotl_curve25519 ed25519 python-axolotl  

accessystem's People

Contributors

dirkx avatar martenvijn avatar

Watchers

James Cloos avatar  avatar

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.