

The XH-M401 is a DC-DC buck converter module designed to step down voltage from a higher input level to a lower, stable output level. This module is highly efficient and widely used in power supply circuits for various electronic applications. It is ideal for projects requiring a reliable and adjustable power source, such as powering microcontrollers, sensors, and other low-voltage devices.








The XH-M401 module is built for efficiency and flexibility. Below are its key technical details:
| Parameter | Value |
|---|---|
| Input Voltage Range | 4V to 38V DC |
| Output Voltage Range | 1.25V to 36V DC (adjustable) |
| Maximum Output Current | 5A (with proper heat dissipation) |
| Efficiency | Up to 96% |
| Switching Frequency | 180 kHz |
| Load Regulation | ±0.5% |
| Voltage Regulation | ±0.5% |
| Module Dimensions | 60mm x 26mm x 20mm |
The XH-M401 module has four main connection points for input and output. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| VIN+ | Positive input voltage terminal (4V to 38V DC) |
| VIN- | Negative input voltage terminal (GND) |
| VOUT+ | Positive output voltage terminal (1.25V to 36V) |
| VOUT- | Negative output voltage terminal (GND) |
Connect the Input Voltage:
VIN+ pin.VIN- pin.Connect the Output Load:
VOUT+ pin.VOUT- pin.Adjust the Output Voltage:
Ensure Proper Heat Dissipation:
The XH-M401 can be used to power an Arduino UNO by stepping down a 12V input to 5V. Below is an example setup:
VIN+ and VIN- pins of the XH-M401.VOUT+ pin to the Arduino's 5V pin and the VOUT- pin to the Arduino's GND pin.// Example Arduino code to blink an LED using power from the XH-M401 module
// Ensure the XH-M401 output is set to 5V before connecting to the Arduino
int ledPin = 13; // Pin connected to the onboard LED
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
No Output Voltage:
Output Voltage Not Adjustable:
Overheating:
Load Not Powering On:
Q1: Can the XH-M401 be used to charge batteries?
A1: Yes, but ensure the output voltage is set to the appropriate charging voltage for the battery type. Use a current-limiting circuit if necessary.
Q2: What is the maximum input voltage for the XH-M401?
A2: The maximum input voltage is 38V DC. Exceeding this limit may damage the module.
Q3: Can I use the XH-M401 to power a Raspberry Pi?
A3: Yes, set the output voltage to 5V and ensure the module can supply at least 2.5A for stable operation.
Q4: Is the XH-M401 isolated?
A4: No, the XH-M401 is a non-isolated buck converter, meaning the input and output share a common ground.
By following this documentation, you can effectively use the XH-M401 module in your projects while avoiding common pitfalls.