HS-S62A-PL radio frequency induction read-write module

HS-S62A-PL radio frequency induction read-write module

1. Introduction

The NFC inductive read and write module is generally based on radio frequency induction principle. When an object with the corresponding identification medium (such as RFID tags, NFC tags, etc.) enters the effective induction range (the induction distance varies depending on the module type and power, from a few centimeters to several meters), it can automatically detect and identify the object, trigger subsequent data interaction operations, and is often used in automatic access control systems. When a person carries an authorized inductive card close to the card reader at a certain distance, the access control is automatically opened.

2. Schematic

MFRC522 RF inductive read and write module I2C-HS-S62A-PL SchematicClick to view

Module Parameters

Pin Name

description

G

GND (Negative Power Input)

V

VCC (Positive Power Input)

SDA

Data pin

SCL

clock pin

  • Supply voltage: 3.3V-5V

  • Connection method: PH2.0 4P terminal wire

  • Installation method: Modular fixed

4, Circuit Board Size

5 of Arduino IDE example program

Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Arduino IDE Library Download and Import Tutorial:
Click to view

Example program (UNO development board):

#include "Hello_STEM_RFID.h"
#include "Wire.h"

MFRC522 mfrc522(0x28);

void setup(){
  Wire.begin();
  Serial.begin(115200);
  mfrc522.PCD_Init();
  Serial.begin(9600);
  pinMode(13, OUTPUT);
}

void loop(){
  //2133f67b
  //b6c2d896

  if ((mfrc522.PICC_IsNewCardPresent() && mfrc522.PICC_ReadCardSerial())) {
    Serial.println(String("Card UID๏ผš") + String(mfrc522.Read_Uid()));
    if (mfrc522.Read_Uid() == "2133f67b") {
      digitalWrite(13,HIGH);

    } else if (mfrc522.Read_Uid() == "b6c2d896") {
      digitalWrite(13,LOW);
    }

  }

}

6, ESP32 Python Example (for Mixly IDE/Misashi)

Choose the development board Python ESP32 [ESP32 Generic(4MB)] and upload in code mode

Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial for Mixly IDE ESP32 library:
Click to view

Example program (ESP32-Python):

ๅพ…ๆ›ดๆ–ฐ...

7, Mixly example program (graphical language)

Example program (UNO development board):Click to download
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial of Mixly IDE Arduino library:Click to view

Example Program (ESP32 Development Board):Click to download
Attention: If prompted with an error message about the library file during program upload, please import the library file first!
Download and import tutorial for Mixly IDE ESP32 library:
Click to view

Image pending update...

8. Setting up the Test Environment

Arduino UNO Test Environment Setup

Prepare Components:

  • UNO-R3 Development Board *1

  • UNO-R3 Expansion Board *1

  • USB TYPE-C DATA CABLE *1

  • HS-S62A-PL RF Inductive Read-Write Module *1

  • LED light module *1

  • PH2.0 4P Terminal Line to Dupont *1

Circuit wiring diagram:

ESP32 Test Environment Setup

Prepare Components:Pending update...

Circuit wiring diagram:Pending update...

9, Video tutorial

Arduino UNO video tutorial:Click to view

ESP32 Python Video Tutorial:Click to view

10, Test results

Arduino UNO test results:

Found serial port display bus voltage, shunt voltage, current value, power value.