Getting Started with Zephyr: Devicetree Bindings

Getting Started with Zephyr: Devicetree Bindings

Overview In the previous article, “Getting Started with Zephyr: Devicetrees”, we learned how the devicetree describes the hardware on the device in embedded software applications based on the Zephyr project. We illustrated how to describe four LEDs on the nRF52840 development kit (https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dk) in a devicetree. We also learned how to combine multiple devicetree files … Read more

STM32 DAC Noise Generator: Exploring Analog Signals from Scratch

STM32 DAC Noise Generator: Exploring Analog Signals from Scratch

In the world of microcontrollers, the Digital-to-Analog Converter (DAC) is like an artist that can turn cold numbers into vivid analog signals. Today, we will explore how to use the DAC function of STM32 to create a simple and fun noise generator. What is DAC? Why Do We Need It? Imagine you have a pile … Read more

Applications of Microcontroller DAC Analog-to-Digital Conversion

Hello everyone, I am Da Yi! Today, I will introduce the topic of the application of microcontroller DAC analog-to-digital conversion. What does analog-to-digital conversion mean? Most of the signals we encounter in daily life are analog signals, such as the amplitude of sound and temperature levels. However, the internal operations of a microcontroller are based … Read more

Using STM32 Simulated UART

Using STM32 Simulated UART

Source: https://blog.csdn.net/weixin_48426161 1. Add Header Files First, we need to add the corresponding header files. Since we are going to simulate the serial port, we need to understand the UART communication protocol. The UART communication method consists of 1 start bit, 8 data bits, an optional parity bit, and a stop bit. Therefore, we will … Read more

STM32 I2C Bus Communication

STM32 I2C Bus Communication

STM32 I2C Bus Communication The I2C bus is the “universal” interface in the microcontroller world, as almost all common sensors, display modules, and memory chips support I2C communication. This article will guide you through the working principles of I2C and how to implement I2C communication on STM32. What is I2C? I2C (Inter-Integrated Circuit) is a … Read more

Getting Started with STM32 DSP Library

Getting Started with STM32 DSP Library

Getting Started with STM32 DSP Library As an embedded development engineer, sometimes we need to perform complex mathematical operations on microcontrollers. Don’t worry, the STM32 DSP library is designed to solve this problem! This article will quickly guide you through getting started with the STM32 DSP library to easily perform efficient mathematical calculations. What is … Read more

AD Experiment with ADC0832 and 89S52 Microcontroller

AD Experiment with ADC0832 and 89S52 Microcontroller

Today I conducted an AD experiment and would like to share some insights. Using chips: ADC0832, 89S52 The circuit diagram is as follows: Today was my first time looking at the ADC0832 data sheet, and I was quite confused. I found a good piece of Chinese material on it. Actually, the timing diagram in the … Read more

Calibration Methods for RTC in STM32

Recently, I read some posts about RTC calibration and found that many people have doubts. Coincidentally, I also implemented RTC calibration in STM32 recently. Here are some insights. While this may seem trivial to experienced users, it can be beneficial for beginners. One of the core implementations of RTC calibration is the function void BKP_SetRTCCalibrationValue … Read more

Beginner’s Guide to STM32 Microcontroller and Practical Tutorial

Beginner's Guide to STM32 Microcontroller and Practical Tutorial

Course Details: This course mainly introduces the development process, methods, techniques, and design concepts of STM32 microcontroller application systems through typical examples, focusing on the system design of STM32 microcontrollers, combining software and hardware, in a simple and easy-to-understand manner. This book comprehensively explains various technologies in microcontroller development through 30 module examples, including microcontroller … Read more

Getting Started with 51 Microcontroller: A Practical Guide

Getting Started with 51 Microcontroller: A Practical Guide

Course Details: This course primarily introduces the development process, methods, techniques, and design philosophy of the 51 microcontroller application system through typical examples, focusing on the system design of the 51 microcontroller, combining software and hardware, in a simple and easy-to-understand manner. This book comprehensively explains various technologies in microcontroller development through 30 module examples, … Read more