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

PWM TM4C123 – Generate PWM Signals with Tiva C Launchpad

Variable duty cycle 50Hz PWM using TM4C123 microcontroller

This tutorial shows how to generate PWM using Pulse width modulation module of TM4C123 microcontroller. We will learn to generate a square wave of variable frequency and variable duty cycle with TM4C123GH6PM microcontroller PWM generators. For demonstration purposes, we will use TM4C123 Tiva Launchpad which comes with TM4C123GH6PM MCU. Hence, throughout this article, we use … Read more

STM32 Blue Pill Timer in PWM Mode with LED Dimmer Example

STM32 Blue Pill Timer PWM Mode with LED Dimmer Example

In this tutorial, we will learn to use STM32 Blue Pill timer PWM mode 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 along with a comprehensive … Read more

ESP8266 NodeMCU PWM Slider Web Server – Control LED Brightness

ESP8266 slider PWM web server setup

In this ESP8266 NodeMCU web server project, we will learn how to build an ESP8266 PWM slider web server that will control the brightness of an LED connected to the ESP8266 GPIO pin. This will be achieved through an HTML slider that we will add to the web server page. The slider will be moved … 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

Arduino PWM Tutorial: Generate Fix and Variable Frequency and Duty Cycle Signal

variable duty cycle pwm using arduino

In this tutorial, we will learn to generate PWM using Arduino. We will learn to generate fixed frequency, variable frequency, fixed duty cycle, and variable duty cycle PWM signal using Arduino. Recommended Components The following components are used in this tutorial or are helpful for building it. Component How it’s used in this project Buy … Read more

ESP32 Pinout Reference

esp32 pinout

This tutorial focuses on the pinout of the ESP32 development board, specifically the ESP32 devkit that incorporates the ESP-WROOM-32 module. While various versions of the ESP32 chip exist in the market, the ESP32 devkit utilizes the ESP-WROOM-32 module. Fortunately, the functionality of all GPIO pins remains consistent across all ESP32 development boards. Many people are … Read more