EN / USD
2 Items
 Home
Blog
PWM with STM32
Overview, PWM signal generation through timer in STM32, STM32 configuration with STCube, Basic configuration, Timer 2 configuration, The initialization code, Dimming LED,
PWM stands for Pulse-Width Modulation. Once the switching frequency (fsw) has been chosen, the ratio between the switch-on time (TON) and the switch-off time (TOFF) is varied. This is commonly called duty-cycle (D). The duty cycle can be between 0 and 1 and is generally expressed as a percentage (%). D = TON / (TON + TOFF) = TON x fsw The variation of the pulse width, made at a high frequency (kHz), is perceived as continuous and can be translated into a variation of the rotation speed of a motor, dimming a LED, driving an encoder, driving power conversion, and etc. The use of PWM is also widely used in the automotive sector in electronic control units (ECU - Electronic Control Unit) to manage the energy to be supplied to some actuators, both fix ...
Blog
ESP32 Over The Air (OTA) Web Updater
ESP32 OTA web updater, Code for OTA web updater implementation in ESP32, Code description, Serial monitor, Testing, Test code, Test code description, How to generate a bin file, LED blink
Hello readers, I hope you are all doing great. In this tutorial, we are going to discuss the OTA web updater on the ESP32. We already covered the fundamentals of OTA programming in ESP32, in our previous tutorial where we used the Arduino IDE to upload OTA code into the ESP32 module using the network port. In the OTA web updater, you need to create a web server page for OTA programming. [caption id="attachment_166886" align="aligncenter" width="1920"] ESP32 OTA web updater[/caption] Fig.1 ESP32 OTA web updater Over the Air Web Updater "Over-the-air" refers to the ability to wirelessly download an application, configuration, or firmware to internet-enabled devices, also known as IoT. (OTA). It functions similarly to our computers, laptops, tab ...