

The HLK-FM225 is a compact and efficient face recognition module developed by HiLink. It leverages advanced algorithms to detect and recognize human faces with high accuracy and reliability. Designed for real-time processing, the module performs well under various lighting conditions, making it ideal for a wide range of applications.








The HLK-FM225 module is designed to deliver robust performance while maintaining a compact form factor. Below are its key technical details:
| Parameter | Value |
|---|---|
| Manufacturer | HiLink |
| Part ID | FM225 |
| Operating Voltage | 5V DC |
| Operating Current | ≤ 200mA |
| Communication Interface | UART (TTL) |
| Baud Rate | Configurable (Default: 115200) |
| Recognition Speed | ≤ 1 second |
| Recognition Distance | 0.3m to 2m |
| Operating Temperature | -20°C to 60°C |
| Dimensions | 50mm x 40mm x 15mm |
The HLK-FM225 module features a 4-pin interface for easy integration into various systems. Below is the pinout description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground |
| 3 | TX | UART Transmit (Data output) |
| 4 | RX | UART Receive (Data input) |
The HLK-FM225 module is straightforward to use and can be integrated into a variety of systems. Below are the steps and best practices for using the module:
VCC pin to a 5V DC power source and the GND pin to ground.TX pin of the module to the RX pin of your microcontroller, and the RX pin of the module to the TX pin of your microcontroller.Below is an example of how to interface the HLK-FM225 module with an Arduino UNO for basic face recognition functionality:
#include <SoftwareSerial.h>
// Define the RX and TX pins for SoftwareSerial
SoftwareSerial faceModule(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud
faceModule.begin(115200); // Initialize HLK-FM225 at 115200 baud
Serial.println("HLK-FM225 Face Recognition Module Test");
delay(1000);
// Send initialization command to the module
faceModule.println("AT+INIT");
delay(500);
// Check for module response
if (faceModule.available()) {
while (faceModule.available()) {
Serial.write(faceModule.read()); // Print module response to Serial Monitor
}
} else {
Serial.println("No response from HLK-FM225 module.");
}
}
void loop() {
// Continuously check for face recognition results
if (faceModule.available()) {
while (faceModule.available()) {
char c = faceModule.read();
Serial.write(c); // Print recognition data to Serial Monitor
}
}
}
No Response from the Module
Recognition Fails Frequently
Module Restarts Unexpectedly
Data Corruption in UART Communication
Q1: Can the HLK-FM225 store multiple face templates?
A1: Yes, the module can store multiple face templates for recognition. The exact capacity depends on the firmware version.
Q2: Is the module compatible with 3.3V microcontrollers?
A2: Yes, but you need to use level shifters for the UART communication lines.
Q3: Can the module work outdoors?
A3: While the module is designed for various lighting conditions, it is recommended to avoid direct sunlight for optimal performance.
Q4: How do I reset the module to factory settings?
A4: Send the AT+RESET command via UART to reset the module to its default settings.
This concludes the documentation for the HLK-FM225 Face Recognition Module. For further assistance, refer to the manufacturer's datasheet or contact HiLink support.