Overview of DAC, DAC on STM32 platform, DAC in manually mode, Configuration of DAC in manual mode, Diving into the initialization code, Driving DAC to generate a reference voltage, Using DAC in data memory access (DMA) mode with a timer, Sinewave generation

Using DAC with STM32

A Digital to Analog Converter(DAC) performs the task of converting digital words of n bits into voltages whose amplitude will be proportional to the value of the code expressed by the words themselves. Since the input binary words represent a succession of finite codes, the voltage coming out of a DAC cannot be continuous over…

Details
Purpose of low power modes, Low power modes in ESP32, Active mode, Modem sleep mode, Light sleep mode, Deep sleep mode, Hibernation mode, Implementation of deep sleep mode and wakeup using capacitive touch sensitive pins, Arduino IDE code, Implementation of deep sleep mode and wakeup using interrupt method, Code description

ESP32 Low Power Modes

Hello readers, hope you all are doing great. In this tutorial, we will discuss low power modes in ESP32, their purpose and their implementation to increase the battery life by reducing power consumption. Purpose of Low Power Modes Fig.1 Along with multiple wireless and processing features, ESP32 also provides us with a power-saving feature by…

Details
What is pulse width modulation, Implementing PWM using ESP32, ESP32 Arduino code for controlling LED brightness using PWM, PWM specifications, Arduino IDE serial plotter, ESP32 Arduino code for controlling DC motor speed using PWM, Code description, PWM output on serial monitor, PWM output on serial plotter

ESP32 PWM

Hello readers, hope you all are doing great. In this tutorial, we are going to discuss another ESP32 module’s feature that is PWM (pulse width modulation). We will also explain and demonstrate, how to implement PWM on DC motor and LED using ESP WROOM-32 module. What is Pulse Width Modulation? Fig. 1 PWM signal PWM…

Details
What is interrupt, Polling, ESP32 interrupt, Software interrupts, Hardware Interrupts, IRS (Interrupt Service routine), Steps to execute an interrupt or how is an interrupt us handled in microcontroller, ESP32 code, Code description for ESP32 interrupts with Arduino IDE, Code description for hardware interrupts, Why is it preferred to use timer to add delay instead of using delay() function

ESP32 Interrupts

Hello readers, hope you all are doing great. Today, we will discuss interrupts and timers in ESP32 and how to handle internal as well as external interrupts. So, we will discuss What is interrupt, Polling, ESP32 interrupt, Software interrupts, Hardware Interrupts, IRS (Interrupt Service routine), Steps to execute an interrupt or how is an interrupt…

Details