

The XH-M125 is a DC-DC buck converter module designed to step down voltage from a higher input level to a lower, stable output voltage. Manufactured by XP8871, this module is highly efficient and widely used in power supply circuits for various electronic applications. Its compact design and adjustable output voltage make it ideal for projects requiring precise voltage regulation.








Below are the key technical details of the XH-M125 module:
| Parameter | Specification |
|---|---|
| Input Voltage Range | 4.5V to 28V |
| Output Voltage Range | 0.8V to 20V (adjustable via potentiometer) |
| Maximum Output Current | 3A (with proper heat dissipation) |
| Efficiency | Up to 92% |
| Switching Frequency | 150 kHz |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 45mm x 20mm x 14mm |
The XH-M125 module has four main pins for input and output connections:
| Pin Name | Description |
|---|---|
| VIN+ | Positive input voltage terminal (4.5V to 28V) |
| VIN- | Negative input voltage terminal (ground) |
| VOUT+ | Positive output voltage terminal (adjustable) |
| 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-M125 can be used to power an Arduino UNO from a higher voltage source, such as a 12V battery. Below is an example circuit and code:
VIN+ and negative terminal to VIN-.VOUT+ to the Arduino UNO's 5V pin and VOUT- to the GND pin.// Example code to blink an LED using Arduino UNO powered by XH-M125
// Ensure the XH-M125 output is set to 5V before connecting to the Arduino
const 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:
Module Not Powering the Load:
Q: Can the XH-M125 step up voltage?
A: No, the XH-M125 is a buck converter and can only step down voltage.
Q: Is the output voltage stable under varying loads?
A: Yes, the XH-M125 provides a stable output voltage, but ensure the load does not exceed the module's current rating.
Q: Can I use the XH-M125 to charge batteries?
A: Yes, but ensure the output voltage and current are suitable for the battery type and follow proper charging guidelines.
Q: What happens if I reverse the input polarity?
A: Reversing the input polarity may damage the module. Always double-check connections before powering the module.
This concludes the documentation for the XH-M125 DC-DC buck converter module.