# RFID Sensor(EF05047) ## Introduction The RFID sensor uses radio frequency to read and write the recording media (electronic tags or radio frequency cards) to achieve the purpose of identifying targets and data exchange. ![](./images/05047_01.png) ## Products Link [ELECFREAKS PlanetX RFID Sensor](https://shop.elecfreaks.com/products/elecfreaks-planetx-rfid-sensor?_pos=1&_sid=80cdc51fb&_ss=r) ## Characteristic Design in RJ11 connections, easy to plug. ## Specification Item | Parameter :-: | :-: SKU|EF05047 Connections|RJ11 4P4C Connections type|IIC Working voltage|3.3V Rated current|50mA Core IC|PN5321A3 ## Outlook and Dimensions ![](./images/05047_02.png) ## Quick to Start ### Materials Required and Connection Diagram Connect the RFID to the IIC port on Nezha expansion board. ![](./images/05047_03.png) ## MakeCode Program ### Step 1 Click "Advanced" in the drawer of the MakeCode to see more choices. ![](./images/05001_04.png) We need to add a package for programming. Click "Extensions" in the bottom of the drawer and search with "PlanetX" in the dialogue box to download it. ![](./images/05001_05.png) ***Note:*** If you met a tip indicating that the codebase will be deleted due to incompatibility, you may continue as the tips say or build a new project in the menu. ### Step 2 ### Code as below: ![](./images/05047_06.png) Link: [https://makecode.microbit.org/_fXU8hWYc9Lhu](https://makecode.microbit.org/_fXU8hWYc9Lhu) You may also download it directly below:
### Result After powering on, place the electronic tag under the RFID, and the RFID writes the data into the electronic tag, then it reads the electronic tag data and displays it on the micro:bit.