

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 voltage. 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 | Specification |
|---|---|
| Input Voltage Range | 4V to 38V DC |
| Output Voltage Range | 1.25V to 36V DC |
| Maximum Output Current | 5A (with proper heat dissipation) |
| Efficiency | Up to 96% |
| Switching Frequency | 180 kHz |
| Load Regulation | ±0.5% |
| Voltage Regulation | ±0.5% |
| Dimensions | 60mm x 30mm x 20mm |
The XH-M401 module has the following input and output terminals:
| Pin | Label | Description |
|---|---|---|
| 1 | VIN+ | Positive input voltage terminal (4V to 38V DC) |
| 2 | VIN- | Negative input voltage terminal (ground) |
| 3 | VOUT+ | Positive output voltage terminal (1.25V to 36V DC) |
| 4 | VOUT- | Negative output voltage terminal (ground) |
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 circuit and Arduino code:
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 code to blink an LED using an Arduino UNO powered by the XH-M401
// Ensure the XH-M401 output is set to 5V before connecting to the Arduino.
const int ledPin = 13; // Built-in LED pin on the Arduino UNO
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:
Overheating:
Fluctuating Output Voltage:
Module Not Working:
Q: Can the XH-M401 be used to charge batteries?
A: Yes, but ensure the output voltage is set to the appropriate charging voltage for the battery type. Use additional circuitry for current limiting if required.
Q: What is the maximum power output of the XH-M401?
A: The maximum power output is approximately 180W (36V × 5A), but this requires proper heat dissipation.
Q: Can I use the XH-M401 with an AC power source?
A: No, the XH-M401 is designed for DC input only. Use a rectifier and filter circuit to convert AC to DC before using the module.
Q: How do I know if the module is overheating?
A: If the module becomes too hot to touch or the output voltage becomes unstable, it is likely overheating. Use a heatsink or reduce the load.
By following this documentation, you can effectively use the XH-M401 DC-DC buck converter module in your projects.