i2cdevlib: A Collection of Ready-to-Use, Uniform Libraries for Common I2C Devices

i2cdevlib: A Collection of Ready-to-Use, Uniform Libraries for Common I2C Devices

i2cdevlib is a collection of ready-to-use, uniform libraries that encapsulate the registers, read/write operations, initialization, and common functions of common I2C devices (such as MPU-6050, BMP, AK8963, etc.). It consists of two layers: • I2Cdev: A generic I2C read/write abstraction layer (the platform-specific layer) • Device classes: A class for each specific sensor, allowing direct … Read more

How to Convert a 12-Digit Tire Pressure Sensor ID to an 8-Digit Hexadecimal Format

How to Convert a 12-Digit Tire Pressure Sensor ID to an 8-Digit Hexadecimal Format

Today, I encountered a 12-digit tire pressure sensor ID. How do we perform the conversion?We need to divide the 12 digits into groups of 3, converting from decimal to hexadecimal. Conversion method for XKZ16A sensor ID: 1. Group into sets of 3, convert to hexadecimal (For example: 030=1E, 048=30, 159=9F, 178=B2, resulting in 1E309FB2) 2. … Read more

Detailed Explanation of C Language Operators

Detailed Explanation of C Language Operators

C language provides a rich set of operators to perform various operations, including arithmetic operations, logical operations, bitwise operations, comparisons, and assignments. Below are the common categories and descriptions of operators in C language: 1. Arithmetic Operators Used for basic mathematical operations: <span>+</span>Addition (e.g., <span>a + b</span>) <span>-</span>Subtraction (e.g., <span>a – b</span>) <span>*</span>Multiplication (e.g., <span>a … Read more

A Step-by-Step Tutorial for Developing an Operating System in Rust for Raspberry Pi (Raspberry Pi 3 / 4)

A Step-by-Step Tutorial for Developing an Operating System in Rust for Raspberry Pi (Raspberry Pi 3 / 4)

rust-raspberrypi-OS-tutorials is a step-by-step tutorial for developing an operating system in Rust, aimed at Raspberry Pi (Raspberry Pi 3 / 4). Each chapter (tutorial) is a bootable, standalone kernel version, and subsequent chapters expand on the functionality of the previous ones. The author breaks down common OS tasks from the basics of “writing characters to … Read more

ESP32 Microcontroller LED Control with Rust

ESP32 Microcontroller LED Control with Rust

ESP32 Microcontroller LED Control with Rust When you step into the world of Rust embedded development, controlling the ESP32 microcontroller to light up an LED and make it blink regularly feels like your first conversation with hardware. Based on the previous Rust embedded ESP32 “Hello World”, we will modify the code. Modify the Code Add … Read more

Fundamentals of Peripheral Control with ESP32: SPI Communication

Fundamentals of Peripheral Control with ESP32: SPI Communication

1. Basics of SPI Protocol SPI (Serial Peripheral Interface) is a high-speed, full-duplex synchronous serial communication protocol with the following core features: Four-wire Communication: MOSI (Master Out Slave In): Master output, slave input MISO (Master In Slave Out): Master input, slave output SCLK: Serial clock generated by the master CS/SS: Chip select signal (active low) … Read more

Hu Zhenbo of Chiplet Technology: Transforming RISC-V from Interest to Career, Now the Company Has More IPs than People

Hu Zhenbo of Chiplet Technology: Transforming RISC-V from Interest to Career, Now the Company Has More IPs than People

[Image] On July 17, 2025, the 2025 RISC-V China Summit officially opened in Zhangjiang, Shanghai, China. Hu Zhenbo, the founder of Chiplet Technology, delivered a speech titled “The Process and Outlook of RISC-V Commercialization IP” at the conference. The RISC-V Foundation was established in 2015, and Hu Zhenbo can be considered one of the earliest … Read more

MCUboot: An Open Source Secure Bootloader for 32-bit Microcontrollers Supporting Multiple RTOS and SoC Platforms

MCUboot: An Open Source Secure Bootloader for 32-bit Microcontrollers Supporting Multiple RTOS and SoC Platforms

MCUboot is an open source secure bootloader designed for 32-bit microcontrollers, providing a unified flash layout, image signing/verification, upgrade processes, and rollback features, supporting various RTOS and SoC platforms. What real problems does it solve? (What it does) • Firmware integrity and source verification: By using imgtool for signing, it verifies the firmware at boot … Read more

Using TCMSRAM Memory in GD32 Microcontroller

Using TCMSRAM Memory in GD32 Microcontroller

1. Introduction to GD32 Microcontroller Taking GD32F450ZKT6 as an example The GD32F450ZKT6 on-chip RAM is divided into two parts: 192K + 64K = 256K 2. Introduction to memheap Management Algorithm <span>The memheap management algorithm</span> is suitable for systems with multiple addressablenon-contiguous memory heaps. Using memheap memory management simplifies the usage when multiple memory heaps exist … Read more

STM32 Project Sharing: Microcontroller-Based Library Seat Monitoring System

STM32 Project Sharing: Microcontroller-Based Library Seat Monitoring System

We do not engage in one-time transactions; we aim to be long-term partners in technical growth! 01 — Physical Video Demonstration See the end of the article for data sharing 02 — Project Overview Title: Microcontroller-Based Library Seat Monitoring System Main Control: STM32 Display: OLED Display DS1302 Clock Module Infrared Photoelectric Infrared Temperature Measurement Module … Read more