Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Using a timer channel to blink a LED | STM32 Tutorial #9

5K views on YouTube

First dive into timer channels – using a very slow running PWM signal to blink the LED.

This one got slightly longer than I expected or wanted. This time I am using the STM32World STM32F405 based development board.

Board Documentation: https://stm32world.com/wiki/MCUSTM32F405

#STM32 #Tutorial #GettingStarted #STM32CubeIDE #STM32CubeMX #Timer #PWM #LED #STM32World

00:00 Intro and recap of last video
01:34 Starting the new project
03:10 The initial code – generating some debug output
09:44 Realizing – a bit slowly – that I am an idiot and fixing it
10:55 Configuring the timer
14:05 Starting the timer in PWM mode
17:30 Changing the duty cycle