T
T
tushev2017-01-10 12:21:37
Electronics
tushev, 2017-01-10 12:21:37

How do dynamic LED arrays and PWM dimming work?

Explain, please. PWM is often used to control the brightness of an LED. The greater the duty cycle, the less brightly the LED glows from a human point of view. If the duty cycle is 1/2, then the LED will glow at half strength, if the duty cycle is greater, then the LED will glow even weaker.
And now let's take a dynamic LED matrix, in which only one row of pixels is lit at a time. It turns out that if there are 8 rows, then the duty cycle for each row is 1/8, that is, the glow of the LEDs should be perceived by the eye as very weak. Nevertheless, LED matrices are perceived brightly during operation.
Usually, the operation of the matrix is ​​explained by the inertia of human vision, but then why does the PWM-controlled LED not glow brightly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Deryabkin, 2018-12-28
@Vadimatorikda

Usually, the operation of the matrix is ​​explained by the inertia of human vision, but then why does the PWM-controlled LED not glow brightly?

Why doesn't it glow? Glowing. Lots of variations, actually. I somehow happened to make a dynamic LED matrix. 8x8 pixels with controllable brightness. And yes. I first inserted a regular GPIO row, and with 8 PWM channels I adjusted the brightness of each LED. But this method for large areas, when I switched from 8x8 to 32x32, gave a rather curved effect. So I decided to do it differently. On one axis, I also sorted through the rows using GPIO, but magic was already happening on the columns. In fact, the same PWM, but already software. I considered, depending on the pass number in 10 ms and the brightness of the LED (specific in the column), whether it should be turned on or not. This algorithm worked many times better. But he devoured almost all the resources of the processor. But it was worth it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question