Controlling an LED is happiness. Even more happiness is to look at him through a microscope. Even just turning on the LED is already a joy. But I bet this task will be more difficult than you thought.
Hi, my name is Crail. I am a hardware developer for Yandex.Station and a big fan of LEDs. Today I decided to remember how I soldered, drew diagrams and programmed microcontrollers on YaTalks for an hour, and share the stream recording with the Habr community.
What am I talking about in the video
What does the current-voltage characteristic of an LED look like and why is it so important? How to turn on several LEDs so that they burn forever - well, or at least for a very long time, as stated in the documentation? What does an LED look like, which worked a lot under overload, and why is it bad?
How do you control the brightness? Changing voltage / current is usually inconvenient, so everyone uses PWM. We will also use it - using STM32 and C ++. But here, too, not everything is simple. A linear change in power is perceived nonlinearly by the eye - correction is needed.
: . ! ? : . , , , — . , -.