C Language Programming Tips and Techniques Applicable to Microcontroller Learning

C Language Programming Tips and Techniques Applicable to Microcontroller Learning

We encourage clear philosophical thinking in programming rather than rigid rules. I do not expect you to agree with everything, as they are merely opinions that change over time. However, if I had not written them down until now, these opinions, based on much experience, have long accumulated in my mind. Therefore, I hope these … Read more

Microcontroller Programming Framework: Evolution from Polling to Real-Time Operating Systems

Microcontroller Programming Framework: Evolution from Polling to Real-Time Operating Systems

In embedded system development, the choice of microcontroller programming framework is crucial as it directly affects the system’s efficiency, real-time performance, and maintainability. Below are several common microcontroller programming frameworks and their characteristics: 1. Polling without Interrupt FrameworkCharacteristics: All tasks are executed in a fixed order without an interrupt mechanism.Applicable Scenarios: Simple applications with low … Read more

Tian Neng Jian Controller K300 Technical Specification

Tian Neng Jian Controller K300 Technical Specification

Tian Neng Jian Controller K300 Technical Specification Parameter Information: Brand Shenzhen Tian Neng Jian Electric Technology Co., Ltd. Model K300 Parameters Bus Current 100A Phase Current 300A Connection Method Built-in Bluetooth Mini Program Smart Debugging Place of Origin Shenzhen, China Manufacturer Shenzhen Tian Neng Jian Electric Technology Co., Ltd. Color Transparent Exploration Version Ultimate Matte … Read more

Differences Between 51 Microcontroller and STM32 Microcontroller

Differences Between 51 Microcontroller and STM32 Microcontroller

In the vast realm of embedded system development, microcontrollers shine like stars, illuminating the path for countless innovative applications. From smart appliances to industrial automation, from handheld devices to aerospace, microcontrollers are ubiquitous; they serve as the core brain of embedded systems, responsible for processing various complex data and control tasks. However, faced with a … Read more

Design and Implementation of an Independent Keyboard Simulation System Based on Microcontroller

Design and Implementation of an Independent Keyboard Simulation System Based on Microcontroller

1. Control Requirements1.Keyboard Structure: An independent keyboard structure is adopted, consisting of 4 mechanical keys K0~K3;2.Debounce Algorithm: A software delay debounce algorithm is used to effectively eliminate interference caused by mechanical key bounce;3.Display Method: A static display using a digital tube is employed to clearly and real-time show the value of the pressed key.2. Simulation … Read more

Design and Implementation of a DC Motor Control Simulation System Based on Microcontroller

Design and Implementation of a DC Motor Control Simulation System Based on Microcontroller

1. Control Requirements1. Start/Stop Control: A light touch on the “Start/Stop” button allows for flexible switching of the motor’s operational state. Each time this button is pressed, the motor accurately toggles between running and stopping states, making operation simple and efficient;2. Direction Control: The “Forward/Reverse” button allows for easy changes in motor direction. Each press … Read more

A Bare-Metal Implementation of a Queue Module for Microcontrollers

A Bare-Metal Implementation of a Queue Module for Microcontrollers

Follow Us for More UpdatesStar Our Public Account to Not Miss Exciting Content from GitHub Source | GitHub When it comes to queues, many might first think of “queues” in RTOS. In fact, similar queue functionality can also be implemented in a bare-metal state. Today, I will share a module for implementing queue functionality in … Read more

Recommended Microcontrollers for Wireless Bluetooth Headphones

Recommended Microcontrollers for Wireless Bluetooth Headphones

In the field of wireless Bluetooth headphones, the microcontroller serves as the core control unit, and its selection directly affects the performance, power consumption, stability, and user experience of the headphones. This article will recommend several mainstream models available in the market to assist engineers in making better decisions. 1. Qualcomm QCC5141/QCC5144 Positioning: High-end Bluetooth … Read more

Why Do Some Microcontrollers Operate at 3.3V While Others Use 5V? Can’t We Standardize?

Why Do Some Microcontrollers Operate at 3.3V While Others Use 5V? Can't We Standardize?

Some may have noticed that the voltage standards for microcontrollers vary; some operate at 3.3V while others use 5V. Why isn’t there a unified standard? Is this a historical legacy issue or an inevitable result of technological evolution? Today, we will explore this question. 1. The Aftermath of the TTL and CMOS ‘Cold War’ The … Read more

The Secret of Microcontroller GPIO Driving Capability: Why ‘Sinking’ is More Powerful than ‘Sourcing’?

The Secret of Microcontroller GPIO Driving Capability: Why 'Sinking' is More Powerful than 'Sourcing'?

In embedded system design, we often need to use the General Purpose Input/Output (GPIO) pins of microcontrollers (MCUs) to drive peripheral devices such as LEDs and relays. I still remember that my first code in college was to control the blinking of an LED using the 8051 microcontroller. I wonder if the current university courses … Read more