MH22FDG-R
AI

The **MH22FDG-R** is a specific electronic component typically identified as a **Micro DC Motor with a built-in Encoder and Gearbox**. These are widely used in robotics, smart locks, and precision medical equipment where compact size and positional feedback are required.
---
### 1. Technical Specifications
The following table outlines the general characteristics common to this specific series:
| Parameter | Specification |
| :--- | :--- |
| **Motor Type** | Brushed DC Micro Motor |
| **Input Voltage** | Typically 3V - 12V DC (6V Nominal) |
| **Gearbox Material** | Full Metal Gears (High Durability) |
| **Feedback System** | Magnetic Hall Effect Encoder |
| **Shaft Shape** | D-axis (for anti-slip mounting) |
| **Weight** | ~15g - 25g (depending on gear ratio) |
---
### 2. Functional Sub-Systems
The device is composed of three primary electronic and mechanical parts:
#### A. The DC Motor Core
The heart of the unit is a high-speed brushed DC motor. It converts electrical energy into mechanical rotation.
* **Commutation:** Uses physical brushes to transfer current to the rotor.
* **Control:** Speed is regulated via **Pulse Width Modulation (PWM)**.
#### B. The Reduction Gearbox
The "22" in the name often refers to the diameter (22mm) or a specific series size.
* **Torque Multiplication:** Reduces the high RPM of the motor to provide usable torque.
* **Ratio:** Available in various ratios (e.g., 1:30, 1:100) depending on the specific "-R" suffix variation.
#### C. Hall Effect Encoder (The "FDG" Logic)
This is the "smart" part of the motor. It provides real-time data to a microcontroller (like an Arduino or ESP32).
* **Magnetic Disk:** A multi-pole magnet rotates with the motor shaft.
* **Hall Sensors:** Two sensors detect the magnetic field changes, outputting two square waves (Phase A and Phase B).
* **Quadrature Encoding:** Allows the controller to determine both **speed** and **direction** of rotation.
---
### 3. Pinout and Connection
Standard wiring for this module usually involves a 6-pin JST connector:
| Pin Number | Wire Color (Typical) | Function |
| :--- | :--- | :--- |
| 1 | Red | Motor Power (+) |
| 2 | Black | Motor Power (-) |
| 3 | Green | Encoder Ground (GND) |
| 4 | Blue | Encoder VCC (3.3V - 5V) |
| 5 | Yellow | Signal Phase A |
| 6 | White | Signal Phase B |
---
### 4. Typical Applications
* **Smart Home:** Automatic door locks and motorized curtains.
* **Robotics:** Balancing robots or small AGVs (Automated Guided Vehicles) requiring precise travel distance.
* **Industrial:** Miniature valve actuators and laboratory automation.
- ⤷
How do I calculate the RPM of this motor using the Hall encoder signals?
- ⤷ What is the maximum torque capacity for the MH22FDG-R gearbox?
- ⤷ Can I drive this motor directly from a microcontroller pin or do I need an H-bridge?