Metrics
0
Watch 2 Star 4 Fork 0

Wendal / luat-rc522LuaApache-2.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
合宙Luat读写RC522 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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

软件架构

  • 何为Luat, 请查阅 http://wiki.openluat.com/
  • 何为RC522 IC卡/门禁卡的读取模块
  • 何为Air202/Air720 合宙出品的GSM通信模块

what_is_rc522 图片来源 https://blog.csdn.net/Leytton/article/details/73480974

接线要求

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下载界面

启动和读卡

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

Comments ( 0 )

You need to Sign in for post a comment

Help Search