LM2596S & LM2577S DC-DC Adjustable Step-Up and Step-Down Power Supply Module
LM2596S & LM2577S DC-DC Adjustable Step-Up and Step-Down Power Supply Module
The LM2596S & LM2577S DC-DC Adjustable Step-Up and Step-Down Power Supply Module is a compact, high-efficiency, and adjustable DC-DC converter module. This module is based on the popular LM2596S and LM2577S voltage regulators from Texas Instruments, which provide a stable and reliable power supply solution for various applications.
The LM2596S & LM2577S module is designed to convert a wide range of input voltages to a stabilized output voltage, making it suitable for use in a variety of applications, including |
Step-up voltage conversion (boosting a lower voltage to a higher voltage)
Step-down voltage conversion (bucking a higher voltage to a lower voltage)
Voltage regulation for microcontrollers, sensors, and other electronic devices
3V to 40V (LM2596S), 3V to 60V (LM2577S)
1.25V to 35V (LM2596S), 1.23V to 40V (LM2577S)
Up to 3A (LM2596S), up to 2A (LM2577S)
Up to 94% (LM2596S), up to 92% (LM2577S)
1.5V (LM2596S), 2.5V (LM2577S)
-40C to 85C
36mm x 22mm x 14mm
IoT projects requiring a stable and adjustable power supply
Robotics and automation systems
Industrial control systems
Battery-powered devices requiring voltage regulation
Power supplies for microcontrollers, sensors, and other electronic devices
LM2596S & LM2577S DC-DC Adjustable Step-Up and Step-Down Power Supply Module
Overview
The LM2596S and LM2577S are DC-DC adjustable step-up and step-down power supply modules that convert input voltages to a regulated output voltage. These modules are based on the LM2596 and LM2577 switching regulators, which provide high efficiency and stability. The modules feature adjustable output voltage, high current capability, and low dropout voltage, making them suitable for a wide range of applications.
Features
Input voltage range: 3V to 40V
Output voltage range: 1.25V to 35V (adjustable)
Output current: up to 3A (LM2596S) and up to 1A (LM2577S)
High efficiency: up to 92%
Low dropout voltage: 0.5V (typical)
Overcurrent protection
Short-circuit protection
Pinout
The module has the following pins:
VIN: Input voltage (3V to 40V)
VOUT: Adjustable output voltage (1.25V to 35V)
GND: Ground
ADJ: Adjustment pin for output voltage
EN: Enable pin (active low)
Code Examples
Here are a few code examples that demonstrate how to use the LM2596S and LM2577S modules in various contexts:
Example 1: Arduino Code for Adjustable Power Supply
In this example, we'll use an Arduino board to control the output voltage of the LM2596S module.
```c++
const int adjPin = A0; // Adjustment pin connected to analog input A0
const int enPin = 2; // Enable pin connected to digital output 2
void setup() {
pinMode(enPin, OUTPUT);
digitalWrite(enPin, LOW); // Enable the module
}
void loop() {
int voltage = analogRead(adjPin); // Read the adjustment pin voltage
float outputVoltage = (voltage 3.3) / 1023; // Calculate the output voltage
Serial.print("Output voltage: ");
Serial.print(outputVoltage);
Serial.println(" V");
delay(1000);
}
```
In this example, the adjustment pin is connected to an analog input on the Arduino board, which reads the voltage on the pin. The output voltage is calculated based on the reading and printed to the serial console.
Example 2: Raspberry Pi Code for Powering a Peripheral
In this example, we'll use a Raspberry Pi to control the output voltage of the LM2577S module to power a peripheral device.
```python
import RPi.GPIO as GPIO
# Set up the GPIO library
GPIO.setmode(GPIO.BCM)
# Define the GPIO pins
adj_pin = 17
en_pin = 23
# Set up the GPIO pins as outputs
GPIO.setup(adj_pin, GPIO.OUT)
GPIO.setup(en_pin, GPIO.OUT)
# Set the adjustment pin to 50% duty cycle ( approximately 2.5V output)
GPIO.startPWM(adj_pin, 50)
# Enable the module
GPIO.output(en_pin, GPIO.LOW)
# Use the peripheral device...
```
In this example, the Raspberry Pi's GPIO pins are used to control the adjustment pin and enable pin of the LM2577S module. The output voltage is set to approximately 2.5V using the PWM pin.
Note: These code examples are for illustration purposes only and may require modifications to suit specific use cases.