Is C Language Only for Microcontroller Programming?

Is C Language Only for Microcontroller Programming?

I often hear the saying:Is C language only for microcontroller programming? Today, I want to discuss this topic. 1.Why isC language popular in microcontrollers? High efficiency and low-level access, C language is considered a low-level language among high-level languages, allowing for easy manipulation of registers and direct access to memory addresses, which is particularly important … Read more

Two Embedded Programming Concepts: Layered and Time-Slicing, Have You Used Them?

Two Embedded Programming Concepts: Layered and Time-Slicing, Have You Used Them?

Scan to FollowLearn Embedded Together and grow together 1. Layered ConceptThe concept of layering is not a mysterious thing; in fact, many engineers working on projects are already using it. The layered structure is indeed very useful, and once understood, it can lead to a moment of enlightenment.If I don’t understand how to drive an … Read more

Keil uVision5: An Integrated Development Environment for Embedded System Development

Keil uVision5: An Integrated Development Environment for Embedded System Development

Your smart watch in your pocket, the smart rice cooker at home, the navigation system in your car… The core programs of these devices are likely written using Keil uVision5.Keil uVision5 is an integrated development environment (IDE) designed for embedded system development. In simple terms, it serves as a “programming workstation” for embedded engineers, allowing … Read more

Why Should Microcontroller Software Adopt a Framework?

Why Should Microcontroller Software Adopt a Framework?

Some beginners in microcontroller development, who have just started working with microcontrollers, may not have yet delved into using RTOS. Jumping directly into RTOS might be challenging, especially for those using relatively older microcontrollers with limited resources, which may not be suitable for running RTOS. Alternatively, when using RTOS, they may feel confused about the … Read more

Is There a Relationship Between Microcontroller Programming and English?

Is There a Relationship Between Microcontroller Programming and English?

Many students have such concerns::“Teacher, my English is not good, will I be unable to learn microcontrollers?Will it be difficult to learn programming because my English is poor?” I have been teaching microcontrollers for many years, and every year students ask this question. Today, I will talk about this matter, the relationship between microcontroller programming … Read more

Microcontroller C Language Programming: Bitwise Operations

Microcontroller C Language Programming: Bitwise Operations

This section introduces the basic knowledge of microcontroller programming, following the previous discussions on why C language is used for microcontroller programming and the programming environments required. The first topic to cover is bitwise operations. Bitwise operations are very common when configuring the registers of a microcontroller. For example, when configuring a GPIO of a … Read more

Essential Guide to C51 Operators for Microcontroller Programming

Essential Guide to C51 Operators for Microcontroller Programming

In C51 microcontroller development, the C language is an essential skill, and operators are the core part of C language—they manipulate data, optimize hardware operations, and can even directly affect program efficiency! Today, we bring you a comprehensive guide to C51 operators, teaching you to master these key knowledge points step by step. This article … Read more

State Machine Programming in Industrial Control Systems: Design Concepts and Implementation Strategies

State Machine Programming in Industrial Control Systems: Design Concepts and Implementation Strategies

Click the little blue text to follow! A few days ago, a colleague who works with coding for inkjet printers came to me, saying that his device often “stalls”; sometimes the print head works normally, but at other times it suddenly stops and inexplicably enters cleaning mode. Seeing his worried expression, I guessed it right—this … Read more

Embedded Development: State Machine + Event-Driven Framework

Embedded Development: State Machine + Event-Driven Framework

Concept of Event-Driven There are many examples of event-driven in life, like sneaking a nap during self-study while the teacher is not watching. We all went through high school, which was tough. High school students feel that sleeping is the most luxurious thing in the world; sometimes, you can even fall asleep while standing! The … Read more

Understanding Domestic Embedded Operating Systems: Key Insights

Understanding Domestic Embedded Operating Systems: Key Insights

For a long time, embedded operating systems have been the foundational software for communication, automobiles, consumer electronics, and aerospace. With the rapid development of the Internet of Things and artificial intelligence, embedded operating systems are playing an increasingly significant role in intelligent systems. Amidst the turbulent international political and economic environment, domestic embedded operating systems … Read more