Files

128 lines
4.4 KiB
Markdown
Raw Permalink Normal View History

2020-03-19 21:06:45 +08:00
# RFID
2019-01-03 18:50:02 +08:00
<el-tag effect="plain">SKU:U031</el-tag>
2020-03-19 14:40:22 +08:00
2020-04-08 14:09:44 +08:00
<div class="product_pic"><img src="assets/img/product_pics/unit/unit_rfid_01.webp"><img src="assets/img/product_pics/unit/unit_rfid_02.webp"></div>
2019-01-03 18:50:02 +08:00
## Description
2020-12-14 11:44:36 +08:00
**RFID** has an RFID **MFRC522** chip inside.
2019-01-03 18:50:02 +08:00
2019-05-05 11:28:54 +08:00
The MFRC522 operates in the 13.56MHz frequency band and uses the modulation and demodulation principle to interact with the proximity RF card. This unit can realize the function of the card reading and writing device, to identify and record multiple card information, to encode and authority a RF card.
2019-01-03 18:50:02 +08:00
2019-05-05 11:28:54 +08:00
It is able tp establish applications such as access control system, punching system, warehouse goods storage and community vehicle access registration.
2021-01-29 14:47:53 +08:00
Connect this Unit to GROVE PORTA on M5Core, I2C address is 0x28.
2019-05-05 11:28:54 +08:00
## Product Features
2019-01-03 18:50:02 +08:00
2020-12-14 11:44:36 +08:00
- 13.56MHz Operation frequency
2019-01-15 18:13:30 +08:00
- I2C data rate: Fast mode: up to 400 Kbit/s; High-speed mode: up to 3400 Kbit/s
- RC522 Transceiver Buffer: 64 bytes
2019-01-15 18:13:30 +08:00
- Supported protocol: ISO14443A, MIFARE and NTAG
- Operate temperature: -20℃-85℃
- How long data be saved for: > 10 years
2020-08-25 11:49:40 +08:00
- Reading and writing distance: < 20 mm
2020-12-14 11:44:36 +08:00
- Program Platform: Arduino, UIFlow (Blockly, Python)
2019-01-15 18:13:30 +08:00
- Two Lego installation holes
2019-01-03 18:50:02 +08:00
## Include
- 1x RFID unit
- 1x GROVE Cable
2020-02-12 16:55:19 +08:00
## Applications
- Smart home access control system
- Vehicle management
- Smart transportation
- Smart bookshelf
2020-05-29 16:36:24 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Communication protocol</td>
<td>I2C: 0x28</td>
</tr>
2020-05-29 16:36:24 +08:00
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-29 16:36:24 +08:00
<td>6g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>21g</td>
</tr>
<tr>
<td>Product Size</td>
<td>48*24*8mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>67*53*12mm</td>
</tr>
</table>
2019-01-03 18:50:02 +08:00
## Related Link
- Datasheet **[MFRC522](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/MFRC522_en.pdf)**
2019-01-03 18:50:02 +08:00
2019-06-11 19:20:48 +08:00
## EasyLoader
2019-01-03 18:50:02 +08:00
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
2019-06-13 18:06:23 +08:00
2020-08-25 11:49:40 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_RFID.exe"><el-button type="primary">download EasyLoader</el-button></a>
2019-06-13 18:06:23 +08:00
2019-07-30 11:52:28 +08:00
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
2019-06-06 20:01:45 +08:00
2019-07-30 11:52:28 +08:00
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click **"Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
2019-06-06 20:01:45 +08:00
2020-12-14 11:44:36 +08:00
>3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)[Click here to view the driver installation tutorial](en/related_documents/M5Burner#install-usb-driver)
2019-06-11 19:20:48 +08:00
2020-05-07 10:52:47 +08:00
## Schematic
<img src="assets/img/product_pics/unit/rfid_sch.JPG">
### PinMap
<table>
<tr><td>M5Core ( GROVE A )</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>RFID Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
</table>
2019-06-11 19:20:48 +08:00
## Example
2019-06-06 20:01:45 +08:00
2021-02-05 16:54:45 +08:00
### 1. Arduino
2019-01-03 18:50:02 +08:00
2021-02-05 16:54:45 +08:00
- [Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/RFID_RC522)
2019-01-03 18:50:02 +08:00
After programming the RFID.ino, the IC card or the mobile phone NFC, close to the unit, moves back and forth around the unit, and the UID of the IC card or the RFID chip in the mobile phone will be printed on the screen of the M5Core.
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_example/RFID/example_unit_rfid_01.webp" width="50%">
2019-01-03 18:50:02 +08:00
### 2. UIFlow
2019-01-03 18:50:02 +08:00
2021-02-05 16:54:45 +08:00
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/RFID/UIFlow)
2019-01-03 18:50:02 +08:00
2020-03-27 16:34:19 +08:00
After opening and burning this example using [UIFlow](http://flow.m5stack.com), place the proximity card on the Unit surface and the screen displays “True” and the UID number of the card.
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_example/RFID/example_unit_rfid_02.webp">
2019-01-03 18:50:02 +08:00
2020-12-14 11:44:36 +08:00
<el-divider content-position="right">Last updated: 2020-12-14</el-divider>
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/rfid-sensor-unit';
anchor_search(purchase_link);
scrollFunc();
2020-12-14 11:44:36 +08:00
</script>