查看“Microduino-NFC”的源代码
←
Microduino-NFC
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-NFC}} {| style="width: 800px;" |- | [[File:Microduino-NFC-rect.jpg|400px|thumb|right|Microduino-NFC]] Microduino NFC is a two-way connection and identification module for close range wireless communication, work at 13.56MHz frequency, about 10cm working distance and realize the data exchange and service. ==Features== *Use PN532 highly integrated contactless reading and writing chip, contains a 80C51 microcontroller core with 40kB ROM and 1 kB RAM; *Integrate the RF field detector; *Integrate the data mode detector; *Low power consumption mode, hardware power lost mode and software power lost mode; *In reading and writing mode, support Mifare Classic encryption, which can support 212kbit/s and 424 kbit/s two kinds of higher data transfer rate; *In FeliCa mode,support 106kbit/s, 212kbit/s and 424kbit/s communication rate; *Integrate the NFCIP-1's RF interface, transfer rate up to 424kbit/s. ==Specifications== *2.7V~5.5V power; *Specific I/O port to contorl external device; *In reading and writing mode, the default working distance more than 50mm, actually distance depends on antenna size, tuning, and power supply; *In NFCIP-1 mode, the default working distance more than 50mm, actually distance depends on antenna size, tuning, and power supply; *In FeliCa mode, the default working distance more than 100mm, actually distance depends on antenna size, tuning, and external field strength; *Reading and writing mode supports ISO/IEC 14443A/MIFARE mechanism, FeliCa mechanism and ISO/IEC 14443B mechanism; *FeliCa mode supports ISO 14443A / MIFARE mechaniam、card operation mode and FeliCa mechanism; *Use IIC communicate method. {|class="wikitable" ! rowspan="1" | PN532 || Microduino |- |GND|| GND |- | VCC ||3V3 |- | SDA||SDA |- | SCL||SCL |} [[File:Microduino-NFC-pin.jpg|800px|thumb|center|Microduino-NFC]] ==Document== *Chip:'''[[File:pn532.pdf]]''' ==Development== Library: https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Libraries/_03_Microduino_NFC_PN532 Test program: https://github.com/Microduino/Microduino_Tutorials/commit/f642ac523261cc08f58d9c521f5806b19c02ce15 ==Application== Use the test program to write data to NFC. '''Note: this program only can read ISO14443A four bytes label''' *Prepared hardware:Microduino FT232R, Microduino Core and Microduino NRF *Prepared software:Adafruit_NFCShield_I2C library and Arduino IDE; *Download the library and test program, uncompress the library and copy to libraries folder of Arduino IDE; *Open the ”Microduino_Write_cards” test program, compile it and select the "Microduino Core (Atmega328P@16M,5V)" to download; *Open the serial monitor, select the baud rate, if successed, serial will retuen some data and print “Please press 'f' to format.....”、“Please press 'r' to Rewrite data......”; *Step 1:Input ’f’ to format the label, you can see the format progress; *Step 2:Input ’r’ to rewrite new data, if successed, then return ”Writing URI to sector 1 as an NDEF Message”. If failed, repeat from step 1 until data was wrote successfully. *Use a mobile phone with NFC label to test *There are three wrote data: **Network address ***const char * url = "microduino.cc"; ***uint8_t ndefprefix = NDEF_URIPREFIX_HTTP_WWWDOT; **Mail ***const char * url = "mail@example.com"; ***uint8_t ndefprefix = NDEF_URIPREFIX_MAILTO; **Phone number ***const char * url = "51508987"; ***uint8_t ndefprefix = NDEF_URIPREFIX_TEL; User can choose in the program, the annotation of "//" can be deleted, and can define your own content. ==Buy== ==History== ==Picture== ==Front== [[file:Microduino-NRF-F.JPG|thumb|600px|center|Microduino-NRF Front]] ==Back== [[file:Microduino-NRF-b.JPG|thumb|600px|center|Microduino-NRF Back]] ==Video== |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-NFC
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息