STM32 Nucleo Generate PWM with Timers using STM32CubeIDE

STM32 Nucleo Timer in PWM Mode with LED Dimmer Example

In this tutorial, we will learn to use STM32 Nucleo timer in PWM mode to generate PWM signals and how to configure them to generate signals with different duty cycle and frequency. We will use an LED dimmer example to demonstrate how to setup the timer in PWM mode using STM32Cube IDE and HAL libraries … Read more

MicroPython: PWM with ESP32 and ESP8266 – LED fading and Brightness Control Examples

MicroPython PWM with ESP32 and ESP8266

In this MicroPython PWM tutorial, we will learn how to access the PWM or pulse width modulation modules in ESP32 and ESP8266 using MicroPython firmware. We will look at how to produce the PWM signals with the GPIO pins of the ESP development boards and consequently fade the led as well as control its brightness. … Read more