STM32 Blue Pill Timer Input Capture Mode with Frequency Measurement Example

STM32 Blue Pill Timer Input Capture Mode with Frequency Measurement Example

In this STM32 Blue Pill user guide, we will discuss how to configure timer module in input capture mode to measure the frequency of an input signal. We will program our STM32 Blue Pill in STM32 Cube IDE and build a frequency counter whereby one input capture channel will be enabled to capture an external … Read more

STM32 Blue Pill ADC with Polling, Interrupt and DMA

STM32 Blue Pill ADC Polling Interrupt and DMA method

In this STM32 Blue Pill tutorial, we will learn to use ADC and read analog input voltage using STM32CubeIDE and HAL libraries. We will discuss three methods to read ADC including polling, interrupt, and DMA method. This will be demonstrated with the help of an LED dimmer example where we will connect the potentiometer as … Read more

STM32 Blue Pill UART DMA with STM32Cube IDE and HAL Libraries

STM32 Blue Pill UART DMA STMCube IDE and HAL libraries

In this tutorial, we will show you how to use STM32 Blue Pill UART with DMA to transmit and receive data through direct memory access without requiring to involve CPU. In DMA mode, data can be transferred from UART RX data register to user memory without any CPU processing time. By using DMA with UART, … Read more

STM32 Blue Pill UART Interrupt with CubeIDE and HAL Libraries

STM32 Blue Pill UART Interrupt STMCube IDE and HAL libraries

In this tutorial, we will show you how to use STM32 Blue Pill UART in interrupt mode to transmit and receive data. We will use STM32 CubeIDE to create a project where we will use UART interrupt of STM32 Blue Pill to receive data on the Rx pin via interrupt and we will send serial … Read more

ESP32 Getting Started with Deta Base (Unlimited and Free Database for Developers)

ESP32 Getting Started with Deta Base

In this tutorial, we will introduce you to Deta Base (NoSQL database) and how to use it with ESP32. We will show you how to perform different CRUD operations such as create, read, update, delete and query for a Deta Base instance using our ESP32 and Arduino IDE. We will demonstrate all this through an … Read more

ESP32 SPI Tutorial Master Slave Communication Example

esp32 spi communication tutorial with Arduino IDE

In this tutorial, we will learn to use SPI communication buses of ESP32. By using that, we will see how to perform master slave SPI communication with ESP32 boards using Arduino IDE. Furthermore, we will look into SPI pins, how to use multiple SPI bus interfaces supported by ESP32, and how to configure them. Recommended … Read more

MicroPython ESP8266 MQTT Publish Multiple Sensor Readings to Node-Red

MicroPython ESP8266 NodeMCU MQTT Publish Multiple Sensor Readings to Node-Red

In this tutorial, we will learn to publish sensor readings to Node-Red with ESP8266 MQTT using Miro-Python. We will perform MQTT communication with ESP8266 and Node-Red by publishing and subscribing to MQTT topics. There will be one ESP8266 MQTT publisher and Node-Red as a subscriber. We will publish DS18B20, DHT, and BME280 sensor readings to … Read more

MicroPython ESP32 MQTT Publish Multiple Sensor Readings to Node-Red

MicroPython ESP32 MQTT Publish Multiple Sensor Readings to Node-Red

In this tutorial, we will learn to publish multiple sensor readings to Node-Red with ESP32 MQTT using MicroPython. We will perform MQTT communication with ESP32 and Node-Red by publishing and subscribing to MQTT topics. using mosquito broker. There will be one ESP32 MQTT publisher and Node-Red as a subscriber. We will publish DS18B20, DHT, and … Read more

ESP32 I2C Communication Set Pins, Multiple Devices Interfaces and Change Pins

ESP32 I2C Communication: Set Pins, Multiple Bus Interfaces and Peripherals (Arduino IDE)

In this tutorial, we will learn to use ESP32 I2C communication channels using Arduino IDE. We will learn how to use different pins of ESP32 for I2C communication apart from the default I2C pins, connect different I2C devices to the same bus and also see how to use the two I2C bus interfaces. Moreover, we will interface … Read more

ESP32 ESP8266 MicroPython MQTT Publish Subscribe DS18B20 Readings

ESP32 ESP8266 MicroPython MQTT Publish Subscribe DS18B20 Readings

In this ESP32/ESP8266 tutorial, we will learn to use ESP MQTT as a Publisher using MicroPython and subscribe through Node-Red. There will be one ESP32/ESP8266 MQTT publisher and Node-Red subscriber. We will publish DS18B20 sensor readings to MQTT with ESP32/ESP8266 and Node-Red Dashboard will subscribe to the MQTT topics and display sensor readings on the … Read more