Which Arduino Uno power supply and pins run a 12V LED strip safely
By Jordan Ellis Published 9 min read
As an Amazon Associate I earn from qualifying purchases. That costs you nothing and does not decide what gets recommended. We also earn a commission from some links to partner brands (SentryPC, HappyScribe, Sucuri, IceVPN).
On this page (8 sections)
- The short version
- What voltage Arduino Uno can accept as power input
- Which Arduino Uno pins can control a 12V LED strip
- How to power a 12V LED strip without damaging the Arduino
- What power supply specs to use when running a 12V LED strip with Arduino Uno
- Arduino Uno power supply for 12V LED strip
- Common mistakes when powering a 12V LED strip with Arduino Uno
- Questions people still ask
In short: Use an external 12V power supply rated for at least the LED strip’s current, connect the strip to 12V and GND pins directly, and control it via Arduino Uno’s 5V logic pins through a suitable transistor or MOSFET. Never power the LED strip from Arduino pins.
Part of our guide on zapier plan for invoice automation
Clear, tested guidance on powering 12V LED strips with Arduino Uno avoids costly damage and frustrating flicker.
ALITOVE DC 12V 5A Power Supply Adapter Converter Transformer
Provides 5 A at 12 V, meeting the strip max current times length without margin for safety.
Check it on Amazon
Facmogu DC 12V 3A Power Adapter
Delivers 3 A at 12 V, meeting the strip max current times length without margin.
See this alternative
Pyramid PS9KX Universal Compact Bench Power Supply-5 Amp Linear
Provides 5 A at 13.8 V, close to 12 V 5 A rating, suitable for near minimum current needs.
See this alternative| Product | power supply current rating (A) | Verdict | |
|---|---|---|---|
| ALITOVE DC 12V 5A Power Supply Adapter Converter Transformer 60W AC ALITOVE | 5 A rated output current directly published | Meets near minimum | View on Amazon |
| Facmogu DC 12V 3A Power Adapter Facmogu | 3 A rated output current directly published | Meets near minimum | View on Amazon |
| Pyramid PS9KX Universal Compact Bench Power Supply-5 Amp Linear Pyramid | 5 A rated output current directly published | Meets near minimum | View on Amazon |
| VAYALT DC 12V 50A 600W Switching Power Supply VAYALT | 50 A rated output current directly published | Not published | View on Amazon |
| Arduino input voltage | 7-12V DC |
|---|---|
| LED strip voltage | 12V DC |
| Typical LED strip current | 0.3-2 A/meter |
| Recommended supply current | strip current + 20% |
| Arduino output pin voltage | 5V logic |
| Safe Arduino pin max current | 40 mA |
The short version
- Arduino Uno’s onboard 5V pin cannot power 12V LED strips.
- A 12V power supply matching or exceeding the strip’s current draw is essential.
- Control LED strips using MOSFETs or transistors connected to Arduino’s 5V pins.
- Do not feed 12V directly into Arduino’s 5V or 3.3V pins.
- Use separate grounds for Arduino and LED power supply, connected together.
What voltage Arduino Uno can accept as power input
The Arduino Uno accepts an input voltage from 7 to 12 volts DC on its power jack or VIN pin.
Supplying voltage below 7V risks unstable operation as the onboard regulator may drop out.
Going over 12V risks overheating the voltage regulator, especially with high current loads.
The Arduino’s 5V pin outputs regulated 5 volts created from this input voltage. It helps to understand checking remote power and pairing before going further.
Do not apply 12V directly to the 5V pin; it will damage the board.
The onboard voltage regulator converts input voltage down to 5V for the Arduino’s logic circuits. It dissipates heat proportional to the voltage difference and current drawn. For example, with 12V input and 50mA current, it drops 7V and dissipates 0.35 watts, generally safe without a heatsink.
If you power the Arduino with 15V or more, the regulator may overheat quickly under load. This triggers thermal shutdown, causing resets or erratic behavior. In contrast, supplying 9V or 10V keeps it cooler while still stable. Keep input voltage in the 7-12V range for reliable operation. If that sounds like your situation, read up on subtitle videos for better engagement next.
Which Arduino Uno pins can control a 12V LED strip
Arduino pins output 5V logic signals at limited current, typically 20-40 mA max per pin.
You cannot connect a 12V LED strip directly to these pins without damaging the Arduino.
Instead, use a transistor or logic-level MOSFET as a switch, controlled by Arduino pins.
The transistor switches the 12V supply to the LED strip on and off based on Arduino’s signal.
Ground the Arduino and LED power supply together to ensure a common reference.
Arduino pins can only handle low voltage and current suitable for logic signals, not powering devices directly. The 5V digital output pins send control signals, not the power that lights the LEDs.
When driving a transistor or MOSFET, use a resistor (typically 220 to 470 ohms) in series with the Arduino pin. This limits the current draw and protects the microcontroller pin from damage.
Test the control circuit by measuring voltage at the MOSFET gate with a multimeter. It should swing between 0V when off and close to 5V when on. This confirms the Arduino pin outputs the correct logic levels.
ALITOVE DC 12V 5A Power Supply Adapter Converter Transformer 60W AC 100-240V
Provides 5 A at 12 V, meeting the strip max current times length without margin for safety.
- Size 1 Pack
- Weight 5.3 oz
- Height 1.18 inches
How to power a 12V LED strip without damaging the Arduino
Run the LED strip from a dedicated 12V power supply capable of at least the strip’s current draw plus a safety margin.
Connect the LED strip’s positive to the 12V supply positive, and its negative to the MOSFET or transistor drain/source pin.
Connect the MOSFET/transistor gate/base to the Arduino output pin via a resistor to limit current.
Make sure the Arduino ground and 12V power supply ground are linked to avoid voltage differences.
Avoid powering the LED strip from Arduino’s 5V pin or VIN pin to prevent damage and voltage drops.
If you try powering the LED strip directly from Arduino pins, the strip will not light or the Arduino may reset due to overload. The pins simply cannot supply the high current the LED strip demands.
Using a MOSFET with a low Rds(on) ensures efficient switching and minimal heat generation. For instance, an IRLZ44N MOSFET can handle 30A and switches fully on at logic-level voltage.
To check proper operation, measure the voltage drop across the MOSFET when on. It should be under 0.1V to avoid wasting power and overheating.
Facmogu DC 12V 3A Power Adapter
Delivers 3 A at 12 V, meeting the strip max current times length without margin.
- Width 9.0 inches
- Height 0.39 inches
- Length 6.49 inches
What power supply specs to use when running a 12V LED strip with Arduino Uno
A 12V DC power supply matching the LED strip’s current rating is essential for safe operation.
Typical LED strips consume about 0.3 to 2 amps per meter at 12V, depending on density and type.
Choose a supply with at least 20% more current capacity than the strip’s maximum draw to avoid overheating and voltage drops.
For example, a 5-meter strip drawing 1.2A per meter needs a supply rated at least 7.2A (1.2 x 5 x 1.2).
Ensure the supply has stable 12V output with low ripple to avoid flicker or damage.
LED strips vary widely in current consumption. A 12V RGB strip with 60 LEDs per meter may draw around 2A per meter at full brightness if all colors are on.
If you have a 3-meter RGB strip, that totals about 6A max draw. Select a power supply rated for at least 7.2A (20% margin) to avoid voltage sag and instability.
Low-quality power supplies might claim 12V but output voltage can drop under load. Use a multimeter to verify voltage stays close to 12V at full current load before connecting the strip.
| Strip length | Current per meter | Minimum supply current (Amp) |
|---|---|---|
| 1 meter | 0.3 A | 0.36 A |
| 3 meters | 1.0 A | 3.6 A |
| 5 meters | 1.2 A | 7.2 A |
| 10 meters | 2.0 A | 24.0 A |
Pyramid PS9KX Universal Compact Bench Power Supply-5 Amp Linear Regulated
Provides 5 A at 13.8 V, close to 12 V 5 A rating, suitable for near minimum current needs.
- Is adult product False
- Height 3.0 inches
- Length 7.5 inches
Arduino Uno power supply for 12V LED strip
Supplying an Arduino Uno and a 12V LED strip requires two main power sources: the Arduino’s input voltage and the LED strip’s 12V supply.
Use a regulated 12V DC power supply rated for the total LED strip current plus margin.
Power the Arduino through its VIN pin or power jack with 7-12V to keep the onboard regulator cool.
Connect the LED strip’s positive terminal directly to the 12V supply positive rail.
Control the LED strip's switching through a logic-level MOSFET connected to an Arduino 5V output pin.
Ensure grounds are common and wiring gauges suit the current to avoid voltage drop and overheating.
- Arduino input: 7-12V to VIN or power jack.
- LED strip input: 12V from dedicated power supply.
- Control: Arduino digital pin through MOSFET gate/base.
- Grounds connected between Arduino and LED power supply.
EEEEE 10 Values 70 Pcs Logic Level PMOS NMOS Kit MOSFET Transistor Assortment
Provides a logic-level N-channel MOSFET transistor kit needed to safely switch 12V LED strip from Arduino 5V pins.
Common mistakes when powering a 12V LED strip with Arduino Uno
One common error is powering the LED strip directly from Arduino pins, causing immediate damage or malfunction.
Another frequent mistake is using an underpowered supply, which causes voltage drop, flicker, or overheating.
Failing to connect the grounds of Arduino and LED supply together leads to floating signals and erratic operation.
Using non-logic-level MOSFETs without adequate gate drive voltage results in heating and poor switching.
Improper wiring gauge causes cables to get hot and wastes energy.
Using a non-logic-level MOSFET means the Arduino’s 5V signal may not fully switch the transistor on. This causes partial conduction, heating the MOSFET and wasting energy.
Another mistake is failing to include a flyback diode if the LED strip contains inductive elements or if you use relays. This can cause voltage spikes damaging the Arduino or MOSFET.
Check wiring by measuring voltage at the LED strip terminals while switching it on and off. If voltage fluctuates or doesn’t match expected levels, wiring or component issues exist that must be corrected.
| Myth | Fact |
|---|---|
| Arduino pins can power 12V LED strips | Pins output 5V max current, need transistor switch |
| Arduino 5V pin can run LED strips | 5V pin supplies low current, unsafe for strips |
| Grounds can be separate | Common ground required for correct operation |
| Any MOSFET will do | Use logic-level MOSFET rated for strip current |
Questions people still ask
Can I power a 12V LED strip directly from Arduino’s 5V pin?
No. Arduino’s 5V pin cannot supply the required current and voltage. It risks damaging the board and the strip won’t work properly.
What is the safest way to switch a 12V LED strip with Arduino?
Use a logic-level MOSFET or transistor to switch the 12V supply controlled by Arduino’s 5V output pin. This keeps the Arduino safe from high current.
How do I determine the power supply current rating I need?
Multiply the LED strip’s current per meter by its length, then add 20% margin. For example, 5 meters at 1.2A per meter requires at least 7.2A supply.
Can Arduino be powered from the same 12V supply as the LED strip?
Yes, if the supply outputs 7-12V and you use the Arduino’s VIN pin or power jack. Keep a common ground between Arduino and LED strip.
Is a separate ground wire necessary between Arduino and LED power supply?
Yes, a shared ground reference is essential for correct signal switching and to prevent erratic behavior.