The STM32 HAL driver layer provides a simple, generic multi-instance set of APIs (application programming interfaces) to interact with the upper layer like applications, libraries, and stacks. In...
Category: Microcontroller Projects
How to interface Raspberry Pi Pico with RS485 Protocol: Example Code Included
RS485 is one of the most popular communication protocols in the industry because of its long-distance capability and noise immunity. In this tutorial, I will show you how you can communicate between...
In this tutorial, we will explain the basic principle of SPI and how it works. We will also discuss SPI bus configuration and SPI modes. After that, we will talk about the hardware overview of SPI...
In this tutorial, we will explain the basic principle of External Interrupt in a microcontroller-based system. To get you started, we will guide you on how to interface with External Interrupt in the...
Raspberry Pi Pico ADC tutorial using Arduino IDE with Example Code
ADC, or analog-to-digital converter, is used to read analog signals. For accurate reading, you have to have better knowledge about your microcontroller ADC and its features. In this tutorial, I am...
In this tutorial, we will explain the basic principles of UART/USART and the Direct Memory Access (DMA) of the STM32 microcontroller. To get you started, we will show you how to interface STM32 UART...
