GPIO External Interrupts STM32 Nucleo with STM32CubeIDE

GPIO External Interrupts STM32 Nucleo with STM32CubeIDE

In this tutorial, we will discuss how to use GPIO interrupts which are also known as external interrupts of STM32 Nucleo. We will learn to configure GPIO interrupts as edge-triggered such as positive or negative edge or level triggered such as active high or active low level triggered. GPIO Interrupts Introduction General-purpose input-output pins are … Read more

STM32 Nucleo GPIO Pins with LED Blinking using STM32CubeIDE

STM32 Nucleo LED Blinking STM32CubeIDE and HAL libraries

In this tutorial, we will learn to use GPIO pins of STM32 Nucleo and we will demonstrate it with an LED blinking example using STM32CubeIDE and HAL libraries. We will see how to configure the GPIO pins of STM32 Nucleo as digital output pins. If you’re a beginner in STM32 Microcontrollers, this article will be … Read more

STM32 Blue Pill with 4-Digit 7 Segment Display using STM32CubeIDE

STM32 Blue Pill with 4-Digit 7 Segment Display using STM32CubeIDE

In this tutorial, we will learn to interface STM32 Blue Pill with 4-digit 7 segment display and program it in STM32CubeIDE. Firstly, we will introduce you to the 4-digit 7 segment display, its connection with the STM32 Blue Pill and then move forward to create and build a counter display in Cube IDE. The counter … Read more

STM32 I2C Communication Guide – HAL Code Examples Slave & Master – DMA Interrupt

STM32 Blue Pill with FTDI Converter for UART Interrupt

In this tutorial, we will discuss about STM32 I2C communication modes, hardware overview and functionalities, I2C interrupts, handling I2C transactions for both master and slave including HAL APIs for I2C for different I2C modes. Recommended Components The following components are used in this project or are helpful for getting started with STM32 Blue Pill development. … Read more

STM32 Blue Pill with Stepper Motor (28BYJ-48 and ULN2003 Motor Driver)

STM32 Stepper Motor with ULN2003A motor driver and stepper motor

In this tutorial, we will learn to use STM32 Blue Pill with 28 BYJ-48 steeper motor and control it using the ULN2003 motor driver using STM32Cube IDE. Firstly, we will briefly introduce you to 28BYJ-48 Stepper Motor and ULN2003 Stepper Motor Driver Module. Then, we will interface the stepper motor with the Blue Pill using … Read more

DS18B20 Sensor with STM32 Blue Pill using STM32CubeIDE

STM32 Blue Pill DS18B20 Sensor with OLED view temperature readings

In this tutorial, we will learn how to interface DS18B20 temperature sensor with STM32 Blue Pill and program it in STM32CubeIDE using HAL libraries. Firstly, we will briefly introduce you to DS18B20 sensor, then interface it with STM32 and program it for temperature measurement using STMCube IDE. For demonstration, we will connect an SSD1306 OLED … Read more

STM32 Blue Pill BME280 Data Logger using STM32CubeIDE

STM32 Blue Pill BME280 Data Logger with STM32CubeIDE

In this tutorial, we will learn to create STM32 Blue Pill BME280 data logger to log sensor readings to a microSD card with STM32CubeIDE. We will create a .txt file in our microSD card through programming our Blue Pill board and consequently log current temperature(°C), pressure(hPa), and humidity(%) readings to that file after every second. … Read more

BME280 Sensor with STM32 Blue Pill using STM32CubeIDE

BME280 with STM32 Blue Pill STM32CubeIDE

In this tutorial, we will learn how to interface BME280 sensor with STM32 Blue Pill and program it in STM32CubeIDE using HAL libraries. At first, we will briefly introduce you to BME280 sensor, then interface it with our STM32 and program it for temperature, pressure, and humidity measurement using STMCube IDE. For demonstration, we will … Read more

I2C LCD with STM32 Blue Pill using STM32CubeIDE

I2C LCD with STM32 Blue Pill using STM32CubeIDE

In this tutorial, we will learn to interface I2C LCD with STM32 Blue Pill and program it using STM32CubeIDE and HAL libraries. Firstly, we will briefly introduce you to the I2C LCD including its pinout and connection with STM32 Blue Pill. Then we will move ahead and program our board in STMCube IDE to demonstrate … Read more

4×3 Keypad with STM32 Blue Pill using STM32CubeIDE

keypad with stm32 blue pill stm32cubeide

In this tutorial, we will learn how to interface a 4×3 keypad with STM32 Blue Pill and program it in STM32CubeIDE using HAL libraries. A keypad is an input device that is used to give commands to other devices, from calculators to computers; input is given through the keypad. At first, we will briefly introduce … Read more