Skip to content

Commit 4e6c49f

Browse files
authored
Revised performance section for ESP32 LED calculations
Updated performance figures for ESP32 in WLED-MM, including LED calculations and frame rates. Added details on the impact of output pins and ws2812b protocol speed.
1 parent e6fd7ad commit 4e6c49f

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

docs/features/multi-strip.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,27 @@ There are a few tips and recomendations to keep in mind when designing your setu
4646
- For good performance, you can use 1000 LEDs/pin with 4 outputs for a total of 4000 LEDs.
4747
- For okay performance, you can use 1000 LEDs/pin with 5 outputs for a total of 5000 LEDs.
4848
- For okay performance, you can use 800 LEDs/pin with 6 outputs for a total of 4800 LEDs.
49-
- ESP32 can calculate about 65k-85k LEDs per second (that means 1000 LEDs @~70fps, 2000 LEDs @~35fps, 4000 LEDs @~18fps)
50-
- 4 outputs seem to be the sweet spot.
49+
50+
51+
#### Performance
52+
53+
In WLED-MM, classic ESP32 can calculate about *200k-300k LEDs* per second
54+
- This means 1,000 LEDs at 250 frames per second, 2,000 LEDs at 120 frames per second, and 4,000 LEDs at 70 frames per second.
55+
- WLED-MM framerates can even be faster if effects don't redraw each LED in each frame.
56+
- However these maximum values can only be achieved with HUB75, or when you distribute your LEDs over several output pins.
57+
- 4 output pins seem to be the sweet spot.
58+
- With many output pins the ESP32 will be very busy driving parallel outputs, so it can't calculate as many LEDs.
59+
60+
Keep in mind that limiting factor is often the speed of the ws2812b protocol. Each strip (=output pin) runs a 800kz bitwise protocol, and each pixel needs 24 bits (RGB color).
61+
- You can calculate the max possible speed (per output pin) with this formula : ``800000 / 24 / strip_length_pixels `` = max frames per second. For RGB+White, replace "24" with "32".
62+
- 144 LEDs per output pin -> max 230 fps
63+
- 240 LEDs per output pin -> max 139 fps
64+
- 320 LEDs per output pin -> max 104 fps
65+
- 500 LEDs per output pin -> max 67 fps
66+
- 800 LEDs per output pin -> max 42 fps
67+
- 1000 LEDs per output pin -> max 33 fps
68+
- 2000 LEDs per output pin -> max 17 fps
69+
5170

5271
### Virtual LEDs (DDP and Art-Net 🌜)
5372

0 commit comments

Comments
 (0)