GithubHelp home page GithubHelp logo

mdavidsen / yhy523u-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdeverdelhan/yhy523u-driver

0.0 1.0 0.0 553 KB

A Ehuoyan's YHY523U RFID module python driver for linux

License: MIT License

Python 100.00%

yhy523u-driver's Introduction

YHY523U-driver

Here is a Ehuoyan's YHY523U module (or YHY632, see below) python driver for Linux.

About the YHY523U module

YHY523U RFID module

The YHY523U RFID module is made by Ehuoyan Technology Co., Ltd. (Beijing, China).

Features

  • RFID Read/Write module based on RC522 and with built-in transceiver antenna
  • Contactless operating frequency: 13.56 MHz
  • Supports ISO14443A / MIFARE®, Mifare® Classic 1K, Mifare® Classic 4K
  • Communications Interface: USB
  • Typical Operating Distance: 0–90 mm
  • Operating Voltage :DC 5.0V
  • Two LED (red, blue) indicators (software controlled)
  • Buzzer alarm (software controlled)
  • Size: 70 mm x 70mm x 10mm
  • Weight: 20g

Getting started

pip dependencies are listed in src/requirements.txt. The driver only depends on pySerial.

Then just run the following command:

python src/yhy523u.py

Notes

YHY632 compatibility

This driver also works with the Ehuoyan's YHY632 module (as YHY532U and YHY632 command sets are same).

Help

Manually send a command to the serial/USB port

echo -ne '\xaa\xbb\x06\x00\xff\xff\x06\x01\x64\x63' > /dev/ttyUSB0

Sniff a serial/USB port

apt-get install jpnevulator
jpnevulator --ascii --timing-print --tty "/dev/ttyUSB0" --read

More resources

Credits

Strongly inspired by the work of Evgeny Boger.

Donations

Bitcoin address: 13BMqpqbzJ62LjMWcPGWrTrdocvGqifdJ3

yhy523u-driver's People

Contributors

mdeverdelhan avatar

Watchers

 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.