<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bespokerobotsociety.org/index.php?action=history&amp;feed=atom&amp;title=MP1584</id>
	<title>MP1584 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bespokerobotsociety.org/index.php?action=history&amp;feed=atom&amp;title=MP1584"/>
	<link rel="alternate" type="text/html" href="https://wiki.bespokerobotsociety.org/index.php?title=MP1584&amp;action=history"/>
	<updated>2026-04-25T08:46:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bespokerobotsociety.org/index.php?title=MP1584&amp;diff=43&amp;oldid=prev</id>
		<title>John: Claude edited based on my notes, prompt, and SimpleBot code repository</title>
		<link rel="alternate" type="text/html" href="https://wiki.bespokerobotsociety.org/index.php?title=MP1584&amp;diff=43&amp;oldid=prev"/>
		<updated>2025-10-11T16:22:15Z</updated>

		<summary type="html">&lt;p&gt;Claude edited based on my notes, prompt, and SimpleBot code repository&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module&lt;br /&gt;
| name = MP1584 / MP1584EN&lt;br /&gt;
| function = Step-Down DC-DC Converter (Buck Converter)&lt;br /&gt;
| type = Integrated Circuit / Breakout Module&lt;br /&gt;
| manufacturer = Monolithic Power Systems (MPS)&lt;br /&gt;
| voltage = Input: 4.5V – 28V / Output: 0.8V – 20V (adjustable)&lt;br /&gt;
| current = 3A maximum output&lt;br /&gt;
| package = SOIC-8 (IC) / Breakout Module&lt;br /&gt;
| interface = Analog (potentiometer adjustment)&lt;br /&gt;
| cost = $0.50 – $1.50 USD (module)&lt;br /&gt;
| datasheet = [https://www.monolithicpower.com/en/mp1584.html MP1584 Datasheet (MPS)]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;MP1584&amp;#039;&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;&amp;#039;MP1584EN&amp;#039;&amp;#039;&amp;#039;) is a high-efficiency {{Wikipedia|Buck_converter|step-down (buck) DC-DC converter}} IC commonly used to provide regulated voltage for microcontrollers and other electronics. It&amp;#039;s widely available as a small breakout module with an adjustable output voltage.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
The MP1584 is a switching regulator that efficiently converts a higher input voltage to a lower output voltage. Unlike {{Wikipedia|Linear_regulator|linear regulators}}, which waste excess voltage as heat, buck converters use high-frequency switching and energy storage (inductors and capacitors) to achieve &amp;gt;90% efficiency.&lt;br /&gt;
&lt;br /&gt;
For robotics applications, the MP1584 module is typically used to step down battery voltage (6V from 4× AA batteries) to the 3.3V or 5V required by microcontrollers and sensors.&lt;br /&gt;
&lt;br /&gt;
== Key Features ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;High Efficiency&amp;#039;&amp;#039;&amp;#039;: Up to 96% efficiency (typical 92% at moderate loads)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wide Input Range&amp;#039;&amp;#039;&amp;#039;: 4.5V to 28V input&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Adjustable Output&amp;#039;&amp;#039;&amp;#039;: 0.8V to 20V (must be lower than input)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;High Current&amp;#039;&amp;#039;&amp;#039;: 3A maximum output current&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Compact Size&amp;#039;&amp;#039;&amp;#039;: Module typically 22mm × 17mm × 4mm&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Over-Current Protection&amp;#039;&amp;#039;&amp;#039;: Built-in current limiting&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Thermal Shutdown&amp;#039;&amp;#039;&amp;#039;: Protects IC from overheating&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed Switching Frequency&amp;#039;&amp;#039;&amp;#039;: 1.5 MHz (reduces inductor/capacitor size)&lt;br /&gt;
&lt;br /&gt;
== Module Configuration ==&lt;br /&gt;
&lt;br /&gt;
The typical MP1584 breakout module includes:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MP1584EN IC&amp;#039;&amp;#039;&amp;#039;: The switching regulator chip&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Inductor&amp;#039;&amp;#039;&amp;#039;: Energy storage element (typically 22µH or 33µH)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Input Capacitor&amp;#039;&amp;#039;&amp;#039;: Smooths input voltage&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Output Capacitor&amp;#039;&amp;#039;&amp;#039;: Smooths output voltage&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Potentiometer&amp;#039;&amp;#039;&amp;#039;: Adjusts output voltage&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Input/Output Terminals&amp;#039;&amp;#039;&amp;#039;: Screw terminals or solder pads&lt;br /&gt;
&lt;br /&gt;
== Pin Configuration ==&lt;br /&gt;
&lt;br /&gt;
Typical module pinout:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IN+ / VIN&amp;#039;&amp;#039;&amp;#039;: Positive input voltage (4.5V – 28V)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IN− / GND&amp;#039;&amp;#039;&amp;#039;: Ground input&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OUT+ / VOUT&amp;#039;&amp;#039;&amp;#039;: Positive output voltage (adjustable)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OUT− / GND&amp;#039;&amp;#039;&amp;#039;: Ground output&lt;br /&gt;
&lt;br /&gt;
== How Buck Converters Work ==&lt;br /&gt;
&lt;br /&gt;
A {{Wikipedia|Buck_converter|buck converter}} uses:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Switching Transistor&amp;#039;&amp;#039;&amp;#039;: Rapidly switches input voltage on/off (1.5 MHz in MP1584)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Inductor&amp;#039;&amp;#039;&amp;#039;: Stores energy when switch is ON, releases when OFF&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Diode&amp;#039;&amp;#039;&amp;#039; (or synchronous rectifier): Provides current path when switch is OFF&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Capacitor&amp;#039;&amp;#039;&amp;#039;: Smooths the output voltage&lt;br /&gt;
&lt;br /&gt;
The output voltage is controlled by the duty cycle (percentage of time the switch is ON):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;V_{out} = V_{in} \times D&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where D is the duty cycle (0 to 1). The MP1584&amp;#039;s feedback loop automatically adjusts the duty cycle to maintain the set output voltage.&lt;br /&gt;
&lt;br /&gt;
== Adjustment Procedure ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;CRITICAL: Always adjust the buck converter BEFORE connecting it to your circuit!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
# Do NOT connect your microcontroller or other electronics yet&lt;br /&gt;
# Connect a voltmeter to the output terminals&lt;br /&gt;
# Apply power to the input (e.g., connect battery)&lt;br /&gt;
# Use a small screwdriver to adjust the potentiometer&lt;br /&gt;
# Turn clockwise to increase voltage, counter-clockwise to decrease&lt;br /&gt;
# Set to desired voltage (e.g., 3.3V for Raspberry Pi Pico)&lt;br /&gt;
# Verify voltage is stable&lt;br /&gt;
# Disconnect power&lt;br /&gt;
# Now you can connect the buck converter to your circuit&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WARNING&amp;#039;&amp;#039;&amp;#039;: If you connect electronics before adjusting, the output could be too high and damage your components. Always set the voltage first!&lt;br /&gt;
&lt;br /&gt;
== Usage in BRS Projects ==&lt;br /&gt;
&lt;br /&gt;
The MP1584 is used in [[SimpleBot]]&amp;#039;s [[BRS Differential Drive Robot Control Board]] to convert the 6V battery voltage (4× AA batteries) down to 3.3V for the [[Raspberry Pi Pico]].&lt;br /&gt;
&lt;br /&gt;
=== Why Use a Buck Converter? ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Efficiency&amp;#039;&amp;#039;&amp;#039;: ~92% efficient vs. ~60% for linear regulators at this voltage drop&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Less Heat&amp;#039;&amp;#039;&amp;#039;: Wasted energy is minimized, so the converter stays cool&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Battery Life&amp;#039;&amp;#039;&amp;#039;: Higher efficiency means longer runtime on the same batteries&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Stable Voltage&amp;#039;&amp;#039;&amp;#039;: Output remains constant even as battery voltage drops&lt;br /&gt;
&lt;br /&gt;
=== Design Considerations ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Input Voltage Range&amp;#039;&amp;#039;&amp;#039;: 4× fresh AA batteries = 6V, but drops to ~4.8V when depleted. The MP1584&amp;#039;s 4.5V minimum input means the robot will function until batteries are nearly dead.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Output Current&amp;#039;&amp;#039;&amp;#039;: The Pico and sensors draw &amp;lt;500mA, well within the 3A capability&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Capacitors&amp;#039;&amp;#039;&amp;#039;: The module&amp;#039;s capacitors smooth out voltage ripple for clean microcontroller power&lt;br /&gt;
&lt;br /&gt;
== Efficiency Comparison ==&lt;br /&gt;
&lt;br /&gt;
For 6V → 3.3V conversion at 500mA load:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Regulator Type !! Efficiency !! Power Loss !! Heat&lt;br /&gt;
|-&lt;br /&gt;
| MP1584 (Buck) || ~92% || 0.14W || Minimal&lt;br /&gt;
|-&lt;br /&gt;
| LM1117 (Linear) || ~55% || 1.35W || Significant&lt;br /&gt;
|-&lt;br /&gt;
| AMS1117 (Linear) || ~55% || 1.35W || Significant&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The buck converter wastes 90% less power as heat!&lt;br /&gt;
&lt;br /&gt;
== Heat Dissipation ==&lt;br /&gt;
&lt;br /&gt;
At moderate loads (&amp;lt;1.5A), the MP1584 module requires no heatsink. At higher currents, the IC and inductor will warm up:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;1A&amp;#039;&amp;#039;&amp;#039;: No heatsinking needed&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1-2A&amp;#039;&amp;#039;&amp;#039;: Module may become warm (safe)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2-3A&amp;#039;&amp;#039;&amp;#039;: Module will become hot; ensure good airflow or add heatsink&lt;br /&gt;
&lt;br /&gt;
== Common Issues ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Output Voltage Too High&amp;#039;&amp;#039;&amp;#039;: Adjust potentiometer before connecting load&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Output Voltage Drops Under Load&amp;#039;&amp;#039;&amp;#039;: Input voltage too low or module current limit reached&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Excessive Ripple&amp;#039;&amp;#039;&amp;#039;: Bad capacitors or counterfeit module&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Module Gets Hot&amp;#039;&amp;#039;&amp;#039;: Normal at high currents, but check for short circuits&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;No Output&amp;#039;&amp;#039;&amp;#039;: Input voltage below 4.5V or module damaged&lt;br /&gt;
&lt;br /&gt;
== Alternatives ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;LM2596&amp;#039;&amp;#039;&amp;#039;: Older buck converter, lower frequency (52 kHz), lower efficiency, but very common&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;XL4015&amp;#039;&amp;#039;&amp;#039;: Higher current capability (5A) for more powerful applications&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MP2307&amp;#039;&amp;#039;&amp;#039;: Smaller package, lower current (3A max)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Linear Regulators (LM1117, AMS1117)&amp;#039;&amp;#039;&amp;#039;: Simpler but much less efficient&lt;br /&gt;
&lt;br /&gt;
== Buck vs. Linear Regulator ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Buck Converter (MP1584) !! Linear Regulator (LM1117)&lt;br /&gt;
|-&lt;br /&gt;
| Efficiency || 85-96% || 50-70%&lt;br /&gt;
|-&lt;br /&gt;
| Heat Generation || Low || High&lt;br /&gt;
|-&lt;br /&gt;
| Output Ripple || Some (mV) || Very low&lt;br /&gt;
|-&lt;br /&gt;
| Component Count || More (L, C, diode) || Fewer (just capacitors)&lt;br /&gt;
|-&lt;br /&gt;
| Cost || $1-1.50 || $0.30-0.50&lt;br /&gt;
|-&lt;br /&gt;
| Complexity || Higher || Lower&lt;br /&gt;
|-&lt;br /&gt;
| Best For || Battery power || Clean, low-current supplies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For battery-powered robots, buck converters are almost always the better choice.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[BRS Differential Drive Robot Control Board]] - Uses MP1584 for power regulation&lt;br /&gt;
* [[SimpleBot]] - Powered by 4× AA batteries via MP1584&lt;br /&gt;
* {{Wikipedia|Buck_converter}} - More on step-down converters&lt;br /&gt;
* {{Wikipedia|Linear_regulator}} - Alternative voltage regulation method&lt;br /&gt;
&lt;br /&gt;
[[Category:Component]]&lt;br /&gt;
[[Category:Power Supply]]&lt;br /&gt;
[[Category:DC-DC Converter]]&lt;/div&gt;</summary>
		<author><name>John</name></author>
	</entry>
</feed>