STM32 Microcontroller Learning Notes

STM32 Microcontroller Learning Notes

1. The AHB system bus is divided into APB1 (36MHz) and APB2 (72MHz), where 2>1 means APB2 connects to high-speed devices. 2. Stm32f10x.h is equivalent to reg52.h (which contains basic bit operation definitions), while stm32f10x_conf.h is specifically for controlling the configuration of peripheral devices, essentially acting as a switch for header files. 3. HSE Osc … Read more

Comprehensive Guide to STM32 GPIO

Comprehensive Guide to STM32 GPIO

1. Introduction to GPIO GPIO stands for General-Purpose Input/Output, which can be simply understood as the pins controllable by STM32. The GPIO pins of the STM32 chip connect to external devices, enabling communication, control, and data acquisition with the outside world. The GPIO pins of the STM32 chip are divided into several groups, each with … Read more

Understanding Memory Alignment of C Structs in Embedded Systems

Understanding Memory Alignment of C Structs in Embedded Systems

Today, I bring you a classic and commonly mistaken question about memory alignment of C language structures: Calculate the number of bytes occupied by the following structure in a 32-bit environment: typedef struct test_struct { char a; short b; char c; int d; char e; }test_struct; Please provide your answer: Let’s take a look at … Read more

Embedded C Coding Standards

Embedded C Coding Standards

“ Introduction: This article analyzes the embedded C coding standards shared by a foreigner on GitHub (recommended for careful reading): Embedded Mixed Bag.Keywords: Embedded, C statements, Programming standards ” Sharing the embedded C coding standards of a foreigner on GitHub (recommended for careful reading) [1] 01 Most Important Rules   The most important rule when writing … Read more

Getting Started with Raspberry Pi: System and Environment Configuration

Getting Started with Raspberry Pi: System and Environment Configuration

On the road 1. Raspberry Pi Since this project requires the use of a camera and the ability to deploy and run models, the recommended options from the teacher’s growth camp are Raspberry Pi or a similar board. I found that I only have a Raspberry Pi (using a 3B), and I have never played … Read more

Essential Tools and Equipment for Embedded Development

Essential Tools and Equipment for Embedded Development

For technology enthusiasts aspiring to enter the field of embedded development, understanding and preparing the relevant tools and equipment is an important first step in embarking on this journey. This article will provide a detailed introduction to the essential tools and equipment in the process of embedded development. 01 Development Tools 1. Development Boards Development … Read more

The Powerhouse in Mini PCs: ROG NUC

The Powerhouse in Mini PCs: ROG NUC

The Powerhouse in Mini PCs: ROG NUC🔥 🎮Recently discovered an irresistible mini gaming PC—the ROG NUC! This little powerhouse is simply the perfect combination of performance and portability! 💪In terms of performance, the ROG NUC is compact, yet it does not compromise on power. It is equipped with the latest processors and graphics cards, capable … Read more

Arduino Uno Tutorial: Displaying Chinese Characters and Images on a 0.96 Inch OLED Screen

Arduino Uno Tutorial: Displaying Chinese Characters and Images on a 0.96 Inch OLED Screen

Performance Parameters① Main Control Chip: ATmega328P ② Digital Input/Output Pins: 14 ③ PWM Pins: 6 ④ Storage (Code Space): 32KB ⑤ RAM (Runtime Storage): 2KB; EEPROM (Power-off Storage): 1KB ⑥ Oscillator: 16MHz Online Simulation: https://wokwi.com/ Arduino Uno Tutorial ①: Install Arduino IDE Arduino Uno Tutorial ②: Development Board and LED Test Arduino Uno Tutorial ③: … Read more

How to Use the 29 Yuan Micro:bit Kit – Downloading Programs via Mobile Bluetooth

How to Use the 29 Yuan Micro:bit Kit - Downloading Programs via Mobile Bluetooth

Follow us on WeChat public account “DLGG Maker DIY“ Set as “Starred“, delivering heavy content to you first. Continuing the topic of “How to Use the 29 Yuan Micro:bit Kit”. Last time I briefly summarized the hardware configuration and parameters in the kit (【Notes】How to Use the 29 Yuan Micro:bit Kit – Kit Hardware Introduction). … Read more

Understanding OS Features of Cortex-M Kernel: An Easy-to-Follow Guide

Understanding OS Features of Cortex-M Kernel: An Easy-to-Follow Guide

Regarding these knowledge points, if everyone goes to learn from the authoritative guide of the Cortex-M kernel, especially for beginners, it will take a long time to digest. Therefore, to help everyone better understand the OS features of the Cortex-M kernel, this video has been specially produced. Everyone can conveniently grasp the essence of these … Read more