

A buck-boost PWM input is a versatile power converter capable of stepping up (boosting) or stepping down (bucking) voltage levels. It uses pulse-width modulation (PWM) to regulate the output voltage and current efficiently. This component is widely used in applications where input voltage can vary above or below the desired output voltage, such as battery-powered devices, renewable energy systems, and automotive electronics.








| Parameter | Value/Range |
|---|---|
| Input Voltage Range | 3V to 36V |
| Output Voltage Range | 1.2V to 24V |
| Output Current | Up to 3A (depending on the model) |
| Efficiency | Up to 95% |
| Switching Frequency | 100 kHz to 1 MHz |
| Control Method | Pulse-Width Modulation (PWM) |
| Operating Temperature | -40°C to +85°C |
| Pin Name | Pin Number | Description |
|---|---|---|
| VIN | 1 | Input voltage pin. Connect to the power source (3V to 36V). |
| GND | 2 | Ground pin. Connect to the circuit ground. |
| VOUT | 3 | Output voltage pin. Provides the regulated voltage (1.2V to 24V). |
| EN | 4 | Enable pin. Logic HIGH enables the converter; logic LOW disables it. |
| PWM | 5 | PWM input pin. Used to control the output voltage and current. |
| FB | 6 | Feedback pin. Connect to a resistor divider to set the output voltage. |
| COMP | 7 | Compensation pin. Used for loop stability; connect to external components. |
| NC | 8 | No connection. Leave this pin unconnected. |
Connect the Input Voltage (VIN):
Attach the input voltage source (e.g., a battery or DC power supply) to the VIN pin. Ensure the input voltage is within the specified range (3V to 36V).
Set the Output Voltage (VOUT):
Use a resistor divider connected to the FB pin to set the desired output voltage. Refer to the formula in the datasheet for calculating resistor values.
Enable the Converter:
Drive the EN pin HIGH to enable the converter. If this pin is left floating, the converter may not operate correctly.
Provide a PWM Signal:
Connect a PWM signal to the PWM pin to control the output voltage and current dynamically. The duty cycle of the PWM signal determines the output characteristics.
Add External Components:
Connect the Load:
Attach the load to the VOUT pin. Ensure the load does not exceed the maximum output current rating.
The buck-boost PWM input can be controlled using an Arduino UNO to generate the PWM signal. Below is an example code snippet:
// Example: Controlling a buck-boost converter with Arduino UNO
// This code generates a PWM signal on pin 9 to control the converter's output voltage.
const int pwmPin = 9; // PWM output pin connected to the PWM pin of the converter
void setup() {
pinMode(pwmPin, OUTPUT); // Set the PWM pin as an output
}
void loop() {
// Generate a PWM signal with a 50% duty cycle
analogWrite(pwmPin, 128); // 128 corresponds to 50% duty cycle (0-255 scale)
// Adjust the duty cycle as needed to control the output voltage
delay(1000); // Wait for 1 second before making changes
}
Note: Adjust the analogWrite value to change the duty cycle and control the output voltage. Ensure the Arduino's PWM frequency is compatible with the converter's requirements.
No Output Voltage:
Excessive Voltage Ripple:
Overheating:
Unstable Output Voltage:
Q1: Can I use this converter with an input voltage lower than 3V?
A1: No, the input voltage must be within the specified range (3V to 36V) for proper operation.
Q2: How do I calculate the resistor values for the FB pin?
A2: Refer to the formula in the datasheet:
[
V_{OUT} = V_{REF} \times \left(1 + \frac{R1}{R2}\right)
]
where ( V_{REF} ) is the reference voltage, and ( R1 ) and ( R2 ) are the resistor values.
Q3: Can I leave the PWM pin unconnected?
A3: No, the PWM pin must receive a valid signal to control the output voltage and current.
Q4: What happens if the load exceeds the maximum current rating?
A4: The converter may enter overcurrent protection mode or shut down to prevent damage. Always ensure the load is within the specified limits.