All Projects → magic890 → rfid-reader-http

magic890 / rfid-reader-http

Licence: MIT license
PC/SC lite HTTP wrapper for reading from a remote card reader (RFID & NFC).

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rfid-reader-http

TonUINO
Alternative TonUINO Firmware
Stars: ✭ 112 (+314.81%)
Mutual labels:  rfid, nfc
android-nfc-http-tunnel
Android NFC HTTP Tunnel Demo
Stars: ✭ 28 (+3.7%)
Mutual labels:  nfc, libnfc
Core-NFC-Example
An example project which demonstrate the usage of iOS 11 Core NFC framework.
Stars: ✭ 19 (-29.63%)
Mutual labels:  rfid, nfc
nfc attendance system esp32
NFC Attendance System | 智慧校園NFC考勤系統 | 基於ESP32的智慧校園NFC考勤系統控制器
Stars: ✭ 27 (+0%)
Mutual labels:  nfc, libnfc
flipperzero-firmware
Flipper Zero firmware source code
Stars: ✭ 2,551 (+9348.15%)
Mutual labels:  rfid, nfc
Mifareclassictool
An Android NFC app for reading, writing, analyzing, etc. MIFARE Classic RFID tags.
Stars: ✭ 2,698 (+9892.59%)
Mutual labels:  rfid, nfc
ChameleonMini
The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was first developed by KAOS. This is NOT the official repo for KAOS's ChameleonMini. For further information see the Getting Started Page
Stars: ✭ 350 (+1196.3%)
Mutual labels:  rfid, nfc
esp-idf-rc522
C library for interfacing ESP32 with MFRC522 RFID card reader, packaged as ESP-IDF component
Stars: ✭ 60 (+122.22%)
Mutual labels:  rfid
NFCReader
Scan and decode NFC tags on iOS
Stars: ✭ 85 (+214.81%)
Mutual labels:  nfc
Open-Home-Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 905 (+3251.85%)
Mutual labels:  nfc
chamgo-qt
QT based GUI for Chameleon-RevE-Rebooted & Chameleon RevG - written in Golang
Stars: ✭ 34 (+25.93%)
Mutual labels:  rfid
barnowl
Technology-agnostic middleware for RFID, RTLS and M2M, enabling location-aware physical spaces. We believe in an open Internet of Things.
Stars: ✭ 25 (-7.41%)
Mutual labels:  rfid
controle-de-acesso
Projeto CDA - "Controle de Acesso" utilizando Golang, VueJS, PostgreSQL e MQTT
Stars: ✭ 26 (-3.7%)
Mutual labels:  rfid
nfsee
Read your Transit/Bank/ID cards on Android/iOS phone with NFSee App
Stars: ✭ 80 (+196.3%)
Mutual labels:  nfc
Fool
Simple Russian voice assistant based on Android Things and Raspberry Pi 3
Stars: ✭ 26 (-3.7%)
Mutual labels:  rfid
android-hce-desfire
A HCE software implementation of the NXP Desfire NFC protocol in an Android app (to be used with Cyanogenmod HCE patch)
Stars: ✭ 30 (+11.11%)
Mutual labels:  nfc
Margoulineur2000
NFC
Stars: ✭ 24 (-11.11%)
Mutual labels:  nfc
esp8266-rfid-banco-de-dados
Projeto com objetivo de autenticar/autorizar usuários a partir de Tags RFID utilizando Banco de Dados
Stars: ✭ 85 (+214.81%)
Mutual labels:  rfid
smartscanner-core
ID scanning Android app and library. Supports MRZ, NFC, Barcodes, and ID PASS Lite cards.
Stars: ✭ 44 (+62.96%)
Mutual labels:  nfc
nfc-reader
A simple library that provides to use rfid card readers.
Stars: ✭ 87 (+222.22%)
Mutual labels:  rfid

rfid-reader-http

PC/SC lite HTTP wrapper for reading from a card reader (RFID & NFC).

Tested card reader

  • ACS ACR122 (ACR122U-A9)

Prerequisites

For running the installation step, due to its dependency from node-pcsclite, this project requires node-gyp, so please read carefully and satisfy their installation requirements, otherwise it may fails compiling the node module.

You may have to install the proper driver for your card reader.

Requirements installation

Mac OS X

  1. Download the ACS ACR122U Drivers for Mac OS X 10.x via the download page or via direct link for PC/SC Driver Installer 1.1.0 (Mac 10.5, Mac 10.6, Mac 10.7, Mac 10.8, Mac 10.9, Mac 10.10) (2014-09-17 306KB). You have to install it even if the installer is not properly signed.

    It will install the useful driver in: /usr/libexec/SmartCardServices/drivers/ifd-acsccid.bundle

Raspberry Pi (ARM) (Debian)

NOTE: At this time, Raspberry Pi 1 models have issue running NodeJS, due to wrong architecture identification (ARMv7 instead of ARMv6). This guide works properly on Raspberry Pi 2 (refence 1 2).

  1. Install the latest version of NodeJS and npm, as stated in the official guide:

     curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
     sudo apt-get install --yes nodejs
    
  2. Install PC/SC and libnfc (references: nfc-tools, libnfc):

     sudo apt-get install pcscd libusb-dev libpcsclite1 libpcsclite-dev dh-autoreconf
    
     cd /opt/
     sudo wget https://github.com/nfc-tools/libnfc/archive/libnfc-1.7.1.zip
     sudo unzip libnfc-1.7.1.zip
     cd libnfc-libnfc-1.7.1/
     sudo autoreconf -vis
     sudo ./configure --with-drivers=all
     sudo make
     sudo make install
    

    Additionaly, you may need to grant permissions to your user to drive the device. Under GNU/Linux systems, if you use udev, you could use the provided udev rules. e.g. under Debian: sudo cp /opt/libnfc-libnfc-1.7.1/contrib/udev/42-pn53x.rules /lib/udev/rules.d/

  3. Make sure the NFC reader is properly recognized:

     sudo nfc-list
    
    1. To fix: error while loading shared libraries: libnfc.so.4: cannot open shared object file: No such file or directory (reference)

       echo '/usr/local/lib' | sudo tee -a /etc/ld.so.conf.d/usr-local-lib.conf && sudo ldconfig
      
    2. If you have kernel version > 3.5, probably pcscd and also nfc-list will report this error: Unable to claim USB interface (Device or resource busy) due to the automatic load of pn533 driver.

      To read the pcscd dameon output you can run it using: pcscd -f -d

      1. Check which kernel version is installed: uname -a

      2. Blacklist pn533 and nfc drivers (references: Arch Linux wiki Touchatag RFID Reader, nfc-tools forum):

         sudo nano /etc/modprobe.d/blacklist-libnfc.conf
        

        Add the following lines:

         blacklist pn533
         blacklist nfc
        
      3. Disable kernel modules:

         modprobe -r pn533 nfc
        
      4. Restart the pcscd daemon: sudo service pcscd restart

Install

  1. git clone https://github.com/goodotcom/rfid-reader-http.git
  2. cd rfid-reader-http
  3. npm install

Usage

  • Run as process: node index.js
  • Run in background (detached output): nohup node index.js &
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].