Git Product home page Git Product logo

nfc-registrator's Introduction

NFC Registrator

By: Luuk Leeuwenstein

Goal

This small Python command prompt application for Windows will allow you to use ACR122U USB NFC Scanners to set-up a registration or clock-in system, based on a premade object or entrant csv list. Ensure that the NFC tags used are compatible with this scanner.

Made for Anthony Veder Rederijzaken B.V.

Requirements

Package

Running

To run the app, you will need to replace the built in driver for the USB NFC reader with a more generic winUSB driver. You could use a tool like Zadig for this step.

Additionally, for generating an executable libusb-win32 is required. Place the libusb1.0.dll file in the root folder of the application.

How to use

Before you can use the tool, ensure that you have created a list of registration objects (such as persons) and scanned their NFC tags in advance to gain a unique 8 character identifier.

Ensure that a folder named Lists/ is present in the root folder. In this folder, place a master.csv file that containts at least a RegCode column (for the identifiers) and a check column.

Running the tool will guide you through a number of options untill the system is set to a listening state. When a tag is scanned, the input is compared to the RegCode column in master.csv and 'Yes' is entered into the check column of the newly created master_temp.csv.

Currently, stopping the listening process require scanning certain specific hard coded tag identifiers. Doing so will generate a final master_out.csv file. Starting the applicaiton and picking restart to restart the registration will use master_temp.csv as input.

Creating an executable

Pyinstaller 3.3 can be used to generate an executable from the Python file. Please note that there are two hidden requirements:

  • 'nfc.clf.acr122'
  • 'pandas._libs.tslibs.timedeltas'

Running pyinstaller with the provided spec file as argument should include these requirements.

Other remarks

The original idea was for the application to use a database for registration management. Due to time contraints the scope had to be scaled back and the choice was made to use a csv file based system.

Contributing

The application is not being actively maintained, but feel free to create pull requests if so desired.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

nfc-registrator's People

Contributors

lucardonl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jumbokh

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.