Giter Club home page Giter Club logo

luat-rc522's Introduction

Luat-RC522

介绍

合宙Luat读写RC522

本程序修改自 https://github.com/capella-ben/LUA_RC522

关系如下

-- This is a port of:
--   https://github.com/ondryaso/pi-rc522        -> Python
--   https://github.com/ljos/MFRC522             -> Arduino
--   https://github.com/capella-ben/LUA_RC522    -> ESP8266 by Ben Jackson

软件架构

Air202使用说明

接线要求

Color RC522 Air202 S6 func
绿 RST GPIO 3 reset
3.3v - 额外3.3v供电
GND GND 与电源共地
MISO SPI_DI rc522->air202
MOSI SPI_DO air202->rc522
SCK SPI_CLK SPI 时钟
SDA GPIO 2 SPI 片选

接线实拍图

注意: 供电必须是3.3v!注意共地!!否则不稳!!

文件说明

RC522.lua -- 驱动程序
test.lua -- 测试程序
main.lua -- demo的入口

使用截图

Luat下载界面

启动和读卡

Air724使用说明

接线要求

RC522 Air724 func
RST GPIO 18 reset
3.3v VMMC 额外3.3v供电(借用vmmc的3.3v供电)
GND GND 与电源共地
MISO SPI_MISO rc522->air724
MOSI SPI_MOSI air724->rc522
SCK SPI_CLK SPI 时钟
SDA GPIO 19 SPI 片选

注意: 供电必须是3.3v!注意共地!!否则不稳!!

文件说明

RC522.lua -- 驱动程序
test.lua -- 测试程序
main.lua -- demo的入口

使用截图

air724-log

Air302使用说明

接线要求

RC522 Air302 func
RST GPIO 7 reset
3.3v - 额外3.3v供电
GND GND 与电源共地
MISO SPI_MISO rc522->air302
MOSI SPI_MOSI air302->rc522
SCK SPI_CLK SPI 时钟
SDA GPIO 9 SPI 片选

注意: 供电必须是3.3v!注意共地!!否则不稳!!

文件说明

RC522.lua -- 驱动程序
main.lua -- demo的入口

luat-rc522's People

Contributors

dreamcmi avatar

Stargazers

woeesky avatar  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.