Explanation of Position PID Algorithm and Implementation in C Language

Explanation of Position PID Algorithm and Implementation in C Language

1. Introduction to PID Algorithm The position PID, also known as the full-scale PID, is an acronym for Proportional, Integral, and Differential. It is a closed-loop control algorithm that integrates the three elements of proportional, integral, and differential control. It is currently one of the most mature control algorithms in continuous control systems and plays … Read more

How to Master STM32 and 51 Microcontrollers?

How to Master STM32 and 51 Microcontrollers?

Personal Insights The best way to learn microcontrollers is to start programming them directly in C language, which saves time, is easier to learn, and allows for rapid progress. Let’s talk about microcontrollers. The STM32 and 51 microcontrollers are commonly used today, with abundant resources and a large market. The study of microcontrollers is a … Read more

Allwinner V853 Development Board – Building and Compiling

Allwinner V853 Development Board - Building and Compiling

Allwinner V853 – High-Performance Edge AI Vision Processing Chip The V853 is a next-generation high-performance, low-power processor SoC aimed at the smart vision field, widely used in industries related to smart upgrades such as smart locks, smart attendance access control, network cameras, dash cams, and smart desk lamps. The V853 integrates Arm Cortex-A7 and RISC-V … Read more

Flashing Guide for Allwinner Series Chips

Flashing Guide for Allwinner Series Chips

Click on the above “HD Life” to follow us and subscribe for great articles In the previous session, we provided a flashing course for the RK3188 series. This time, the editorial team will give a detailed explanation of flashing for Allwinner series products. Let’s get straight to the point, Let’s Go! This course is applicable … Read more

Newlib: The ‘Accelerator’ for Embedded Development

Newlib: The 'Accelerator' for Embedded Development

Introducing a project known as the “C Library Magic Tool” in the embedded community—Newlib. Whether you are a novice in chip development or an expert in low-level programming, Newlib can help you quickly handle the C standard library, mathematical operations, I/O interfaces, and more, making embedded system development easier. What is Newlib? Newlib is a … Read more

Understanding Programming for STM32: A Comprehensive Guide

Understanding Programming for STM32: A Comprehensive Guide

Hello everyone, I am Liang Xu. This article is the 5th in the embedded series, and I plan to publish two articles per week in the future. The articles will be organized systematically to facilitate learning and communication. All of Liang Xu’s articles are first published on the website: www.lxlinux.net/e/, feel free to bookmark it. … Read more

RTIC: Zero-Cost Preemptive Hardware Accelerated Scheduling Boosts Cortex-M Performance

RTIC: Zero-Cost Preemptive Hardware Accelerated Scheduling Boosts Cortex-M Performance

Why Focus on RTIC?For those of us in embedded development, what is the biggest fear? It’s the lack of speed and precision in real-time task scheduling, along with the nightmares of deadlocks and data races. RTIC (Real-Time Interrupt-driven Concurrency) is a Rust real-time framework specifically designed to address these pain points, allowing your Cortex-M (and … Read more

C++ Bitwise Operations (Ninety-Three) [Part 1]

C++ Bitwise Operations (Ninety-Three) [Part 1]

Long time no see! Due to personal and academic issues, I stopped updating for six months. Today, I will continue to publish articles, and I hope everyone enjoys them.Today, we will learn about: bitwise operations1. Brief Overview of Bitwise OperatorsBitwise operations are a type of operator. When we use a computer, it cannot understand our … Read more

Young People Should Be Cautious with Linux

Young People Should Be Cautious with Linux

Seeing tk’s Weibo… it’s quite interesting: The original text is here: https://www.reddit.com/r/linuxsucks/comments/1k6e9th/i_lost_my_wife_because_of_linux/ I lost my wife because of Linux Windows ❤ It all started so innocently. I just wanted to revive my old laptop. “Try Linux,” everyone online said, “it’s fast, secure, and fully customizable.” I thought, why not? My girlfriend even encouraged me: “You … Read more

Basic Steps for CANFD Debugging

Basic Steps for CANFD Debugging

CAN (Controller Area Network) is a serial communication network that effectively supports distributed control or real-time control. The CAN bus is a widely adopted bus protocol in automotive applications, designed for microcontroller communication in automotive environments. As company projects gradually shift towards the automotive sector, the scenarios for using CAN are increasing. This article analyzes … Read more