Using ADC with STM32, ADC channel selection, ADC setting, ADC regular conversion mode, Injected simultaneous mode, Regular simultaneous mode

How to use ADC with STM32?

An Analog to Digital Converter (ADC) converts a continuous signal (usually a voltage) into a series of discrete values ​​(sequences of bits). The main features are: Resolution (in analog terms): It is the minimum variation of the analog input voltage that can determine the variation of the LSB, that is of the least significant bit…

SPI communication with STM32, SPI in polling mode, SPI in interrupt mode, SPI in DNA mode, SCLK, MOSI, SS

STM32 SPI Communication

The SPI (Serial Peripheral Interface) protocol, or rather the SPI interface, was originally devised by Motorola (now Freescale) to support their microprocessors and microcontrollers. Unlike the I2C standard designed by Philips, the SPI interface has never been standardized; nevertheless, it has become a de-facto standard. National Semiconductor has developed a variant of the SPI under…

I2C eeprom, Write and Read an EEPROM with STM32, STM32CubeMX project, Serial I2C, I2C EEPROM with STM32

Write and Read an I2C EEPROM with STM32

EEPROMs (Electrically Erasable Programmable Read-Only Memories) allow the non-volatile storage of application data or the storage of small amounts of data in the event of a power failure. Using external memories that allow you to add storage capacity for all those applications that require data recording. We can choose many types of memories depending on…

What is MQTT, MQTT features, How does MQTT work, MQTT Connection and Broker, MQTT applications, MQTT with ESP32 or How to publish a message using ESP32 MQTT, MQTT testing, MQTT publish and subscribe architecture

ESP32 MQTT

Hello readers, today we will learn about the messaging protocol supported by ESP32(called MQTT protocol), which is used for IoT applications. The communication protocol to be used for data transmission and connectivity in web-enabled devices depends upon the type of IoT application. The Internet of Things (IoT) is a network of interconnected computing devices like…