Microcontroller Basketball Scoreboard Circuit Diagram and Source Code

Microcontroller Basketball Scoreboard Circuit Diagram and Source Code

The basketball scoreboard mainly consists of two major parts: one part implements the countdown function, similar to the 60S countdown done in the experimental class. The other part implements the scoring function, which is fundamentally similar to a counter. Additionally, there are two parts for switching display functions.It is important to note that the pins … Read more

Introduction to STM32 Key Handling: From Basics to Complete Implementation (with Code Examples)

Introduction to STM32 Key Handling: From Basics to Complete Implementation (with Code Examples)

Introduction to STM32 Key Handling: From Basics to Complete Implementation (with Code Examples) 🔑 What is a “Key”? In embedded development, keys (Button/Key) are one of the most common forms of human-machine interaction. It is essentially a mechanical switch: Based on the above schematic analysis, we can conclude: • Not Pressed: The circuit is open, … Read more

How to Set FFT Parameters in an Oscilloscope?

How to Set FFT Parameters in an Oscilloscope?

Who in hardware doesn’t love instruments? However, there is a problem; it seems that not many people understand common oscilloscopes. Therefore, I decided to write some content on this topic. Just a side note: Recently, Puhua released a limited edition with impressive parameters. However, this UI is still not visually appealing enough. Still, the Dingyang … Read more

Two Methods to Change Argument Variables in C++ Function Calls: Pointers and References

Two Methods to Change Argument Variables in C++ Function Calls: Pointers and References

In the previous chapter, the examples of custom function calls I provided all belong to value-based function calls. The characteristic of this type of call is that the actual parameter values are passed sequentially to the formal parameters in the called function’s parameter list. The number of actual parameters must match the number of formal … Read more

Understanding Strong and Weak Functions in C Programming

Understanding Strong and Weak Functions in C Programming

In C programming, strong and weak functions refer to a priority mechanism used by the compiler when handling functions with the same name. When there are multiple definitions of functions with the same name in a program, the “strong” function will override the “weak” function, ensuring that the linker selects the correct function implementation. This … Read more

Entering Embedded Development: Should You Focus on Linux or Microcontrollers?

Entering Embedded Development: Should You Focus on Linux or Microcontrollers?

As someone entering the field of embedded development, you have likely been surrounded by such voices. Looking at job postings where Linux developers earn monthly salaries of twenty to thirty thousand, and then glancing at the “pitiful” salaries for microcontroller positions, your passion surges—it’s as if choosing the right technical path holds the key to … Read more

An Open Source Full-Featured Driver for W25QXX Suitable for General MCUs and Linux Systems

An Open Source Full-Featured Driver for W25QXX Suitable for General MCUs and Linux Systems

When working on embedded projects, do you often encounter situations where you need to store some data? For example, storing configuration parameters or logging information. In such cases, the W25QXX series of Flash memory comes in handy. Today, we will delve into an open-source W25QXX driver library and see how the experts write code. 1. … Read more

The Rise of Low-Cost, Ultra-Low-Power Touch MCUs

The Rise of Low-Cost, Ultra-Low-Power Touch MCUs

Follow+Star PublicAccount, don’t miss out on exciting contentAuthor | strongerHuangWeChat Public Account | Embedded ColumnTen years ago, when we developed electronic products with touch functionality, we typically used a main control MCU along with a separate touch IC, which also required additional peripheral resistors, capacitors, and other components!In an increasingly competitive era, for some high-volume … Read more

Differences Between UID, CPUID, and PDID Identifiers in MCUs

Differences Between UID, CPUID, and PDID Identifiers in MCUs

Overview of Core Differences Feature PDID (Part Device ID) CPUID (Core Peripheral ID) UID (Unique ID) Chinese Name Device Model Identifier Processor Core Identifier Unique Device Identifier Function Distinguishes theproduct model and version Identifies theCPU core‘s architecture, version, and features Differentiateseach physical chip under the same model Uniqueness Not Unique: The values are identical for … Read more