Stufin
Home Quick Cart Profile

LM2596 & XL6009 DC-DC Adjustable Step-Up and step-down Power Supply Module boost and buck voltage converter

Buy Now

Component Name

LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module

Description

The LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module is a versatile and compact voltage converter module that can both step-up and step-down input voltages to produce a stabilized output voltage. This module is based on the popular LM2596 and XL6009 voltage regulator ICs, which provide high efficiency, reliability, and flexibility for a wide range of applications.

Functionality

The LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module is designed to convert an input voltage range of 3-40V to a stabilized output voltage range of 1.25-35V. The module can operate in both step-up (boost) and step-down (buck) modes, making it suitable for various applications such as

Powering devices that require a specific voltage level

Voltage regulation in automotive, industrial, and consumer electronics

LED driver circuits

Battery-powered devices

Solar-powered systems

Key Features

  • Adjustable Output Voltage: The output voltage can be adjusted between 1.25-35V using an on-board potentiometer, allowing for fine-tuning of the output voltage to suit specific application requirements.
  • High Efficiency: The module features high efficiency, typically above 90%, to minimize heat generation and improve overall system performance.
  • Wide Input Voltage Range: The module can accept input voltages ranging from 3-40V, making it suitable for use with various power sources such as batteries, solar panels, and wall adapters.
  • Short-Circuit Protection: The module features built-in short-circuit protection to prevent damage to the module and connected devices in the event of a short circuit.
  • Over-Temperature Protection: The module includes over-temperature protection to prevent overheating and damage to the internal components.
  • Compact Design: The module is designed to be compact and lightweight, making it ideal for use in space-constrained applications.
  • Low Ripples: The module features low ripples and noise, ensuring a stable and clean output voltage.
  • High Reliability: The module is built with high-quality components and is designed to provide reliable operation over a long period of time.
  • Simple Installation: The module is easy to install and requires minimal external components, making it suitable for use in a wide range of applications.

Input Voltage Range

3-40V

Output Voltage Range

1.25-35V

Output Current

Up to 3A (dependent on input voltage and output voltage)

Efficiency

Typically above 90%

Ripple and Noise

Less than 50mVpp

Operating Temperature Range

-40C to +85C

Dimensions

43mm x 21mm x 14mm

Weight

Approximately 20g

Applications

Automotive systems

Industrial control systems

Consumer electronics

LED driver circuits

Battery-powered devices

Solar-powered systems

Robotics and automation systems

Note

The module's performance and specifications may vary depending on the specific application and operating conditions. It is recommended to consult the datasheets for the LM2596 and XL6009 ICs for more detailed information on the module's operation and limitations.

Pin Configuration

  • LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module Documentation
  • Overview
  • The LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module is a versatile power conversion module that can be used to step up or step down voltage levels in a variety of IoT applications. This module combines the LM2596 buck converter and the XL6009 boost converter, allowing for adjustable output voltage and flexibility in power supply design.
  • Pinout Overview
  • The module has 6 pins, which are labeled as follows:
  • Pin Description
  • Here is a detailed description of each pin:
  • 1. VIN (Input Voltage):
  • Pin Type: Input
  • Description: This pin connects to the input voltage source (Vin) of the module. The input voltage range is 1.5V to 35V.
  • 2. GND (Ground):
  • Pin Type: Power Ground
  • Description: This pin connects to the system ground and provides a return path for the input current.
  • 3. VOUT (Output Voltage):
  • Pin Type: Output
  • Description: This pin provides the regulated output voltage (Vout) of the module. The output voltage range is adjustable from 1.5V to 35V.
  • 4. Adj (Adjust Pin):
  • Pin Type: Input
  • Description: This pin is used to adjust the output voltage of the module. A potentiometer or a fixed resistor can be connected between the Adj pin and the GND pin to set the desired output voltage.
  • 5. EN (Enable Pin):
  • Pin Type: Input
  • Description: This pin is used to enable or disable the module. A high logic level (VCC or 3.3V) on this pin enables the module, while a low logic level (GND) disables it.
  • 6. SW (Switch Pin):
  • Pin Type: Input
  • Description: This pin selects the operation mode of the module. When connected to the GND pin, the module operates in buck mode (step-down). When connected to the VIN pin, the module operates in boost mode (step-up).
  • Connection Diagram
  • Here is a suggested connection diagram for the module:
  • Connect the input voltage source (Vin) to the VIN pin.
  • Connect the system ground to the GND pin.
  • Connect the output load to the VOUT pin.
  • Connect a potentiometer or a fixed resistor between the Adj pin and the GND pin to set the desired output voltage.
  • Connect a logic level (VCC or 3.3V) to the EN pin to enable the module, or connect it to GND to disable it.
  • Connect the SW pin to GND for buck mode (step-down) or to VIN for boost mode (step-up).
  • Important Notes
  • Make sure to adjust the output voltage using the Adj pin before connecting the load to the VOUT pin.
  • Use a suitable input capacitor and output capacitor to ensure stable operation of the module.
  • The module has an overcurrent protection feature, which will automatically shut down the module if the output current exceeds 3A.
  • The module also has an overvoltage protection feature, which will automatically shut down the module if the output voltage exceeds 35V.
  • By following these connection guidelines and understanding the pinout, you can effectively use the LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module in your IoT projects.

Code Examples

LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module
Overview
The LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module is a versatile and efficient power conversion module that can be used to step-up or step-down voltage levels in a variety of applications. The module features two separate DC-DC converters: the LM2596, a step-down (buck) converter, and the XL6009, a step-up (boost) converter. This module is suitable for use in IoT projects, robotics, and other applications where a reliable and adjustable power supply is required.
Features
Input voltage range: 1.5V to 35V
 Output voltage range: 1.25V to 35V (adjustable)
 Maximum output current: 3A (LM2596), 2A (XL6009)
 High efficiency: up to 92% (LM2596), up to 95% (XL6009)
 Adjustable output voltage via potentiometer
 Overcurrent protection and short-circuit protection
Pinout
The module has the following pinout:
Vin: Input voltage (1.5V to 35V)
 GND: Ground
 Vout: Output voltage (adjustable)
 EN: Enable pin (active high)
 ADJ: Output voltage adjustment pin (connect to potentiometer)
Code Examples
Example 1: Arduino Tutorial - Adjustable Power Supply
In this example, we will use the LM2596 & XL6009 module to create an adjustable power supply using an Arduino board.
Hardware Requirements
Arduino Uno or compatible board
 LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module
 Potentiometer (10k or 20k)
 Jumper wires
Software Requirements
Arduino IDE (version 1.8.x or later)
Code
```cpp
const int potPin = A0;  // Potentiometer pin
const int enPin = 2;   // Enable pin
void setup() {
  pinMode(enPin, OUTPUT);
  digitalWrite(enPin, HIGH); // Enable the module
}
void loop() {
  int potValue = analogRead(potPin);
  float voltage = map(potValue, 0, 1023, 1.25, 35.0); // Map pot value to output voltage
  Serial.print("Output Voltage: ");
  Serial.print(voltage);
  Serial.println("V");
  delay(100);
}
```
Example 2: Raspberry Pi Tutorial - Boost Converter
In this example, we will use the XL6009 part of the module to boost a 3.3V input voltage to 5V output voltage using a Raspberry Pi.
Hardware Requirements
Raspberry Pi (any model)
 LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module
 Jumper wires
Software Requirements
Raspbian OS (or compatible)
Code
```python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
en_pin = 17  # Enable pin
GPIO.setup(en_pin, GPIO.OUT)
def set_output_voltage(voltage):
    # Calculate the resistance required to set the output voltage
    resistance = (voltage - 1.25) / 0.005
    # Set the output voltage using the ADJ pin
    GPIO.output(en_pin, GPIO.HIGH)
    # Simulate the potentiometer by setting the resistance
    # Replace this with a DAC or a digital potentiometer for a more accurate control
    print(f"Output Voltage: {voltage}V")
try:
    while True:
        set_output_voltage(5.0)  # Set output voltage to 5V
except KeyboardInterrupt:
    GPIO.cleanup()
```
Example 3: ESP32 Tutorial - Buck Converter
In this example, we will use the LM2596 part of the module to step-down a 12V input voltage to 3.3V output voltage using an ESP32 board.
Hardware Requirements
ESP32 DevKitC or compatible board
 LM2596 & XL6009 DC-DC Adjustable Step-Up and Step-Down Power Supply Module
 Jumper wires
Software Requirements
ESP32 Arduino Core (version 1.0.x or later)
Code
```cpp
const int enPin = 5;  // Enable pin
void setup() {
  pinMode(enPin, OUTPUT);
  digitalWrite(enPin, HIGH); // Enable the module
}
void loop() {
  // Set the output voltage to 3.3V
  analogWrite(enPin, 128); // 50% duty cycle for 3.3V output
  delay(1000);
}
```
Important Notes
Before using the module, ensure that the input voltage is within the specified range and that the output voltage is set correctly using the potentiometer or digital control.
 Always follow proper safety precautions when working with electrical components.
 The examples provided are for illustrative purposes only and may require modifications to suit your specific application.
I hope you find this documentation helpful!