Liangxu Linux
Author

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

3.4k
Articles
0
Likes
6.2k
Views
0
Comments
Recent Articles

Latest from Liangxu Linux

100 recent articles max
Liangxu Linux
Liangxu Linux
Jan 22, 2026 · Fundamentals

Why Adding a Base‑Emitter Resistor Is Crucial for Reliable Transistor Switches

The article explains the essential role of a base‑emitter (BE) resistor in transistor circuits—providing a stable bias, protecting against ESD, speeding up turn‑off, reducing noise sensitivity—and offers practical guidelines for selecting its value and integrating it into common embedded designs.

STM32Switchingbase-emitter resistor
0 likes · 13 min read
Why Adding a Base‑Emitter Resistor Is Crucial for Reliable Transistor Switches
Liangxu Linux
Liangxu Linux
Dec 24, 2025 · Fundamentals

Mastering C Function Pointers: From Basics to Embedded Applications

This tutorial explains what function pointers are, how to declare and use them in C, and demonstrates practical embedded‑system patterns such as callbacks, state machines, command dispatch, and advanced techniques like pointer arrays and struct members, while highlighting common pitfalls.

C++CallbacksState Machine
0 likes · 13 min read
Mastering C Function Pointers: From Basics to Embedded Applications
Liangxu Linux
Liangxu Linux
Dec 23, 2025 · Fundamentals

Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers

This article explains the fundamental differences between C arrays and pointers by examining memory layout, mutability, sizeof behavior, function parameter handling, multidimensional arrays, and practical best‑practice guidelines, providing clear code examples that reveal why declarations like char s1[] = "liangxu" and char *s2 = "liangxu" behave differently.

Best PracticesC++Embedded C
0 likes · 14 min read
Why char s1[] and char *s2 Aren’t the Same: Deep Dive into C Arrays vs Pointers
Liangxu Linux
Liangxu Linux
Dec 22, 2025 · Fundamentals

Mastering STM32 ADC: From Sampling to Accurate Voltage Measurement

This article explains the fundamental concepts and step‑by‑step workflow of ADC conversion in embedded systems, covering sampling, hold, quantization, encoding, and output stages, and provides detailed STM32 HAL code examples along with tips for improving accuracy.

ADCAnalog-to-DigitalMicrocontroller
0 likes · 13 min read
Mastering STM32 ADC: From Sampling to Accurate Voltage Measurement
Liangxu Linux
Liangxu Linux
Dec 15, 2025 · Fundamentals

Are You Making These Common Rookie Mistakes? Spot the Signs of Inexperience

The article outlines typical behaviors that reveal a programmer’s lack of real experience—such as massive one‑off commits, unreadable code, juggling unfinished branches, ignoring feedback, repeating mistakes, chasing every new technology, and slacking on learning—while offering concrete advice on how to recognize and overcome them.

ExperienceProgrammingcareer advice
0 likes · 6 min read
Are You Making These Common Rookie Mistakes? Spot the Signs of Inexperience
Liangxu Linux
Liangxu Linux
Dec 7, 2025 · Fundamentals

How to Use the SW-18010P Vibration Sensor with STM32: Full Wiring and Code Guide

This tutorial explains the SW-18010P vibration sensor’s features, pinout, and operating principle, then provides detailed hardware wiring, LED initialization, sensor initialization, interrupt handling, and a complete STM32F103C8T6 firmware example that lights a three‑color LED based on vibration detection.

Hardware TutorialLED IndicatorSTM32
0 likes · 9 min read
How to Use the SW-18010P Vibration Sensor with STM32: Full Wiring and Code Guide
Liangxu Linux
Liangxu Linux
Dec 7, 2025 · Fundamentals

Control RGB LEDs with an NEC Infrared Codec Module and STM32

This tutorial explains how to use the YS‑IRTM NEC infrared codec module with an STM32F103C8T6 MCU to decode remote‑control signals, map them to UART commands, and drive a three‑color LED, covering hardware wiring, protocol details, UART configuration, and full source code.

LED controlNEC protocolSTM32
0 likes · 12 min read
Control RGB LEDs with an NEC Infrared Codec Module and STM32
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones

This article introduces MuditaOS, an open‑source embedded operating system for the minimalist Mudita Pure phone, detailing its FreeRTOS‑based service architecture, type‑safe message passing, lifecycle management, and the technical stack that enables a low‑power, E‑Ink‑optimized mobile experience.

C++FreeRTOSMuditaOS
0 likes · 5 min read
How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Operations

How to Diagnose and Resolve 100% CPU Spikes on Linux Servers in Minutes

When a server’s CPU suddenly hits 100%, this guide shows how to quickly identify the offending process, use tools like top, perf, strace, vmstat, and iostat for deep analysis, set up monitoring and alerts, plan capacity, and apply code and system optimizations to prevent future spikes.

CPULinuxmonitoring
0 likes · 14 min read
How to Diagnose and Resolve 100% CPU Spikes on Linux Servers in Minutes
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

Why Turning Device Drivers into Libraries Boosts Reuse and Maintainability

The article explains the advantages of encapsulating device drivers and peripheral code into reusable libraries, outlines best practices for creating clean, platform‑independent libraries, and discusses the trade‑offs such as slight performance overhead and code‑size considerations for embedded systems.

Code ReuseSoftware Architecturedriver development
0 likes · 7 min read
Why Turning Device Drivers into Libraries Boosts Reuse and Maintainability