Git Product home page Git Product logo

rfid-tool's Introduction

An universal USB 125kHz token reader and programmer.

It uses a small Chinese attiny85 based board (adadfruit clone) and a simple custom shiled containing analog demodulator circuit. The shield is not required, whole circuit could be assembled on breadboard, but keep in mind that this solution is much more sensitive to noise and glitches.

Alt text

Current software supports:

  • reading EM4100 RFID tokens
    • 16, 32, 64 carrier divider (auto detection)
    • Manchaster, Biphase data encoding
  • programming T5557 based RFID tokens Current software allows to:

The following features are scheduled for future development:

  • support for PSK encoding,
  • password protection and locking (T5557),
  • one-shot command to clone a token.

Attiny board preparation.

!! IMPORTANT !! Reset pin fuse should be disabled. Please keep in mind that it will disable ISP programming permanently, HV programmer is require to restore default setting.

The chinese PCB has a micronucleus bootloader preinstalled. It is sufficient to upgrade firmware in the attiny trough USB. No other modifications are required. The project has no micronucleus commandline utility included. Manual installation from package repository or source code is required (link).

The following command will compile and burn firmware in attiny:

# cd firmware
# make clean all burn

Host software compilation.

Host software depends on libusb library. It was tested on a linux system (Ubuntu) only.

# cd rfid-tool
# make clean all

Basic use cases.

---- Reading a EM4100 token

# ./out/rfid-tool -r
New token, carrier divider: 64, modulation: Manchester, customer ID: 75 (0x4b), token: 1469220 (0x166b24)
New token, carrier divider: 64, modulation: Manchester, customer ID: 75 (0x4b), token: 1469220 (0x166b24)

---- Programming a T5557 token

# ./out/rfid-tool -p -b 64 -m manchester -c 0x4b -t 0x166b24


---- Reset to bootloader (firmware upgrade)

# ./out/rfid-tool -R

rfid-tool's People

Contributors

bielskij avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dhanyweb

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.