MyRoboPath
electronics16 min readUpdated 2026-03-14Beginner

Voltage Regulators & Buck/Boost DC-DC Converters: Complete Selection Guide

Architect optimal power rails: compare LM7805/AMS1117 linear regulators with high-efficiency switching Buck (step-down), Boost (step-up), and Buck-Boost DC-DC modules for robotics.

MyRoboPath Engineering Lab
Peer-Reviewed Open-Source Hardware & Firmware Guide

Key Engineering Takeaways

  • Linear Regulators (LM7805) provide ultra-clean low-noise power for sensitive analog sensors, but waste energy as heat when V_in - V_out is large.
  • Low Dropout (LDO) regulators like AMS1117 only require ~1.1V headroom voltage, allowing 3.3V generation from a 5V rail.
  • Switching Buck Converters (MP1584 / LM2596) step down high battery voltages (12V–24V) to 5V with 92%+ efficiency, handling 3A continuously without heat sinks.
  • Switching Boost Converters (MT3608) step voltage UP (e.g. 3.7V to 12V), but current decreases proportionally: P_in ≈ P_out.
  • Always separate high-current motor power rails from sensitive microcontroller logic rails using a dedicated buck converter.
Prerequisites
  • Ohm's Law and Electrical Power (Watts)
Required Hardware / Tools
  • LM7805 Linear Regulator
  • MP1584 / LM2596 Buck Module
  • MT3608 Boost Module
  • Multimeter

Linear vs Switching Voltage Regulators: When to Use Which

### Selection Decision Matrix: 1. **Use a Linear Regulator (LDO)**: - When dropping small voltages (5.0V to 3.3V). - When load current is small (<150mA). - When powering noise-sensitive analog components (precision ADC sensors, RF radio chips, GPS receivers). 2. **Use a Switching Buck Converter**: - When stepping down large voltages (12V to 5.0V or 24V to 5.0V). - When driving heavy currents (>500mA for servos, Raspberry Pi 4/5, or LED strips).
Linear vs switching regulator thermal comparison
Figure 3.1: Thermal camera comparison: Boiling linear regulator at 90°C vs cool switching buck module at 28°C.Visual Guide

Step-Down Buck Modules: LM2596, MP1584 & Mini360

### Popular Off-the-Shelf Buck Modules: - **LM2596 Module (150kHz)**: Classic large blue module with multi-turn trimpot. Delivers up to 2.0A continuous (3.0A with heatsink). - **MP1584 / Mini360 (1.5MHz)**: Ultra-compact thumbnail-sized modules capable of 1.5A - 2.0A at high switching frequency, requiring smaller inductors and generating less output ripple.
MP1584 buck converter module
Figure 3.2: MP1584 ultra-compact high-frequency switching DC-DC buck converter module.Visual Guide

Designing a Dual-Rail (12V / 5V / 3.3V) Robot Power Architecture

### The Professional Robotics Power Tree: 1. **Main Battery (3S LiPo 11.1V - 12.6V)**: - Feeds directly through a heavy toggle switch to high-power motor drivers and drive wheels (12V). 2. **Primary Buck Converter (12V to 5.0V @ 3A)**: - Powers servos, Raspberry Pi computer, sensors, and cooling fans. 3. **Dedicated LDO on Microcontroller Board (5.0V to 3.30V)**: - Provides ultra-clean, ripple-free voltage for the microcontroller CPU core, crystal oscillator, and IMU accelerometer.
Robotics dual rail power architecture diagram
Figure 3.3: Complete robotics dual-rail power distribution block diagram.Visual Guide
Power IsolationNever share a single 5V regulator between digital microcontrollers and high-torque steering servos; servo motor stalls will brown out your MCU.

Frequently Asked Questions

What is the difference between a Buck converter and a Boost converter?

A Buck converter steps DC voltage DOWN (e.g. 12V to 5V), whereas a Boost converter steps DC voltage UP (e.g. 3.7V to 12V).

Tags:#Voltage Regulators#Buck Converter#Boost Converter#LM7805#AMS1117#Power Electronics