Of course! This is a very common and important question for any WLED project. Here’s a breakdown of the calculation, the real-world considerations, and my final recommendation.
The Quick Answer
For 240 WS2812B LEDs, you should get a 5V 15A (75 Watt) power supply.
While the theoretical maximum is 14.4A, a 15A PSU gives you the necessary headroom for safety and longevity, and it will handle any color or effect you throw at it without issues.
The Detailed Breakdown
1. The Theoretical Maximum (The "Worst-Case" Calculation)
This calculation assumes the absolute worst-case scenario: every single LED is on, at full brightness, displaying the color white (Red, Green, and Blue sub-pixels all at 100%).
- Current per LED (at max brightness white): ~60mA or 0.06A
- Voltage: WS2812 strips are 5V (this is critical)
- Total LEDs: 240
Calculation:
240 LEDs × 0.06A/LED = 14.4 Amps
To find the power in Watts:
14.4A × 5V = 72 Watts
So, to run your strip at its absolute maximum, retina-searing potential, you would need a power supply capable of delivering 14.4A at 5V.
2. The Real-World Scenario (Why you probably won't draw that much)
In practice, you will almost never hit that 14.4A peak for a few reasons:
- Blindingly Bright: Full-brightness white on 240 LEDs is incredibly bright. Most people run their strips at 50-80% brightness.
- Animations & Colors: Most animations and color patterns do not use all three color channels on every LED at once. A rainbow pattern, for example, might only use about 1/3 of the maximum power.
- Power Supply Safety: You should never run a power supply at 100% of its rated capacity for extended periods. A good rule of thumb is to run it at 80% of its maximum load to ensure longevity and prevent overheating.
A more realistic average current draw for colorful effects at a pleasant brightness would be in the 5A to 8A range.
3. WLED's Best Feature: The Current Limiter
WLED has a crucial built-in safety feature to protect your power supply. You can tell WLED the maximum current your PSU can provide, and it will automatically dim the LEDs if an effect ever tries to exceed that limit.
This is the most important setting for your project's safety and stability.
How to set it in WLED:
- Connect to your WLED interface.
- Go to Config > LED Preferences.
- Check the box for "Enable automatic brightness limiter".
- In the "Maximum Current" box, enter the amperage in milliamps (mA).
For example, if you buy a 10A PSU, you should set this value to 8000mA (80% of 10A). If you buy a 15A PSU, you can safely set it to 12000mA (80% of 15A).
Power Supply Recommendations
Based on all the above, here are your options:
Important Final Note: Make sure you are using sufficiently thick wire for power injection, especially on a long strip of 240 LEDs, to avoid voltage drop that can cause color inaccuracies at the far end of the strip.