Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use XH-M125: Examples, Pinouts, and Specs

Image of XH-M125
Cirkit Designer LogoDesign with XH-M125 in Cirkit Designer

Introduction

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.

Explore Projects Built with XH-M125

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Solar-Powered GSM/GPRS+GPS Tracker with Seeeduino XIAO
Image of SOS System : A project utilizing XH-M125 in a practical application
This circuit features an Ai Thinker A9G development board for GSM/GPRS and GPS/BDS connectivity, interfaced with a Seeeduino XIAO microcontroller for control and data processing. A solar cell, coupled with a TP4056 charging module, charges a 3.3V battery, which powers the system through a 3.3V regulator ensuring stable operation. The circuit likely serves for remote data communication and location tracking, with the capability to be powered by renewable energy and interfaced with additional sensors or input devices via the Seeeduino XIAO.
Cirkit Designer LogoOpen Project in Cirkit Designer
YF-S201 Water Flow Meter Interface with SN74AHCT125N Level Shifter
Image of Copy of flow: A project utilizing XH-M125 in a practical application
This circuit is designed to interface a YF-S201 Water Flow Meter with an SN74AHCT125N buffer/level shifter, likely for signal conditioning purposes. The power supply provides the necessary voltage to the flow meter, and decoupling capacitors are used to stabilize the buffer's power supply. The circuit is prepared for further expansion or connection to a microcontroller for data processing, although no microcontroller or its code is included in the provided information.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
Image of padelpro transmitter: A project utilizing XH-M125 in a practical application
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
12V Power Supply with HX-M350 Backup Battery Switching
Image of power : A project utilizing XH-M125 in a practical application
This circuit is designed to provide a backup power solution using a 12V 200Ah battery and a 12V power supply, with the HX-M350 module managing the switching between these power sources. The HX-M350 module automatically switches to the battery power when the main 12V power supply fails or is unavailable, ensuring uninterrupted power to the load. There is no microcontroller or additional control logic involved, indicating that the switching mechanism is likely handled entirely by the HX-M350 module itself.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with XH-M125

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of SOS System : A project utilizing XH-M125 in a practical application
Solar-Powered GSM/GPRS+GPS Tracker with Seeeduino XIAO
This circuit features an Ai Thinker A9G development board for GSM/GPRS and GPS/BDS connectivity, interfaced with a Seeeduino XIAO microcontroller for control and data processing. A solar cell, coupled with a TP4056 charging module, charges a 3.3V battery, which powers the system through a 3.3V regulator ensuring stable operation. The circuit likely serves for remote data communication and location tracking, with the capability to be powered by renewable energy and interfaced with additional sensors or input devices via the Seeeduino XIAO.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of flow: A project utilizing XH-M125 in a practical application
YF-S201 Water Flow Meter Interface with SN74AHCT125N Level Shifter
This circuit is designed to interface a YF-S201 Water Flow Meter with an SN74AHCT125N buffer/level shifter, likely for signal conditioning purposes. The power supply provides the necessary voltage to the flow meter, and decoupling capacitors are used to stabilize the buffer's power supply. The circuit is prepared for further expansion or connection to a microcontroller for data processing, although no microcontroller or its code is included in the provided information.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of padelpro transmitter: A project utilizing XH-M125 in a practical application
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of power : A project utilizing XH-M125 in a practical application
12V Power Supply with HX-M350 Backup Battery Switching
This circuit is designed to provide a backup power solution using a 12V 200Ah battery and a 12V power supply, with the HX-M350 module managing the switching between these power sources. The HX-M350 module automatically switches to the battery power when the main 12V power supply fails or is unavailable, ensuring uninterrupted power to the load. There is no microcontroller or additional control logic involved, indicating that the switching mechanism is likely handled entirely by the HX-M350 module itself.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Powering low-voltage devices from higher-voltage sources (e.g., batteries, solar panels)
  • Voltage regulation in embedded systems
  • DIY electronics projects
  • Arduino and microcontroller-based applications
  • LED drivers and motor controllers

Technical Specifications

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

Pin Configuration and Descriptions

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)

Usage Instructions

How to Use the XH-M125 in a Circuit

  1. Connect the Input Voltage:

    • Connect the positive terminal of your power source to the VIN+ pin.
    • Connect the negative terminal of your power source to the VIN- pin.
  2. Connect the Output Load:

    • Connect the positive terminal of your load to the VOUT+ pin.
    • Connect the negative terminal of your load to the VOUT- pin.
  3. Adjust the Output Voltage:

    • Use the onboard potentiometer to adjust the output voltage.
    • Turn the potentiometer clockwise to increase the output voltage and counterclockwise to decrease it.
    • Use a multimeter to measure the output voltage while adjusting.
  4. Ensure Proper Heat Dissipation:

    • If the module is operating near its maximum current (3A), ensure adequate heat dissipation by attaching a heatsink or providing proper ventilation.

Important Considerations

  • Input Voltage: Ensure the input voltage is within the specified range (4.5V to 28V). Exceeding this range may damage the module.
  • Output Voltage: Do not set the output voltage higher than the input voltage.
  • Current Limitations: The module can handle up to 3A, but prolonged operation at high currents may require additional cooling.
  • Polarity: Double-check the polarity of your connections to avoid damaging the module.

Example: Using XH-M125 with Arduino UNO

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:

Circuit Connections

  1. Connect the 12V battery's positive terminal to VIN+ and negative terminal to VIN-.
  2. Adjust the XH-M125 output to 5V using the potentiometer.
  3. Connect VOUT+ to the Arduino UNO's 5V pin and VOUT- to the GND pin.

Arduino Code Example

// 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
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output Voltage:

    • Cause: Incorrect input connections or insufficient input voltage.
    • Solution: Verify the input voltage is within the 4.5V to 28V range and check the polarity of the connections.
  2. Output Voltage Not Adjustable:

    • Cause: Faulty potentiometer or incorrect adjustment.
    • Solution: Ensure the potentiometer is not damaged and adjust it slowly while monitoring the output voltage with a multimeter.
  3. Overheating:

    • Cause: High current draw or poor ventilation.
    • Solution: Add a heatsink or improve airflow around the module.
  4. Module Not Powering the Load:

    • Cause: Load requires more current than the module can provide.
    • Solution: Ensure the load's current requirement does not exceed 3A.

FAQs

  • 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.