Microcontroller C Language Programming Insights

Microcontroller C Language Programming Insights

Wu Jianying Microcontroller Development Board Address Taobao Store:【Wu Jianying’s Shop】 Address:【https://item.taobao.com/item.htm?_u=ukgdp5a7629&id=524088004171】 During the process of creating this 8*8 key program, whether writing my own or referencing others’ programs, I found that I lacked understanding of some basic concepts and programming standards in C language. Some issues stemmed from poor programming habits, while others were a … Read more

18 Q&A on Basic Microcontroller Programming Knowledge

18 Q&A on Basic Microcontroller Programming Knowledge

1. What are the advantages and disadvantages of C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic words to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high execution efficiency. However, assembly languages may differ … Read more

Comparing Programming Methods of 51 and STM32 Microcontrollers

Comparing Programming Methods of 51 and STM32 Microcontrollers

STM32 and 51 microcontrollers are two common series of microcontrollers, which differ in hardware architecture, performance characteristics, and programming methods. However, from the perspective of C language programming, I believe they are quite similar. Let’s compare their programming characteristics: 51 & STM32 STM32: STM32 is a 32-bit microcontroller based on the ARM Cortex-M core, featuring … Read more

Mastering Const in Microcontroller Programming

Mastering Const in Microcontroller Programming

Click the blue text above Follow us! The const keyword in C is crucial, and today we will delve into the definition and practical applications of const so that it is no longer a mystery. In C, the const keyword is an abbreviation for constant, meaning it remains unchanged. It is usually translated as constant, … Read more

Microcontroller C Language Programming Insights

Microcontroller C Language Programming Insights

During the process of writing this 8*8 key program, whether I was writing it myself or referencing others’ programs, I found that I had many misunderstandings about some basic points of C language and programming norms. Some were due to my previous bad programming habits, and some were a manifestation of not having a solid … Read more

Installation Guide for Keil C51 9.59 Programming Tool

Installation Guide for Keil C51 9.59 Programming Tool

Software | Introduction KEIL C51 is a PLC programming software based on uVision IDE, specifically designed for C language software development for the 51 series microcontrollers. It features the industrial standard Keil C compiler, macro assembler, debugger, real-time kernel, single-board computer, and simulator, supporting all 251 series microcontrollers. Installation | Overview 【Installation Process】: A total … Read more

Creating STM32 Project with IAR Programming Software

Creating STM32 Project with IAR Programming Software

Keil and IAR microcontroller programming software are currently two of the most widely used microcontroller programming tools. There are certain differences in their usage. In this article, I will explain the detailed method of creating an STM32 project using IAR programming software, hoping that everyone can gain something from this article. STM32 is a very … Read more

Comparison of Microcontroller Programming Languages

Comparison of Microcontroller Programming Languages

Introduction A microcontroller, also known as a microcontroller unit (MCU), integrates a complete computer system, including the CPU, RAM, ROM, timers/counters, and various I/O interfaces, onto a single chip. Due to its numerous advantages and characteristics, the applications of microcontrollers are extremely wide-ranging. A microcontroller system consists of both hardware and software systems, which involves … Read more

Discussion on Microcontroller Programming Efficiency

Discussion on Microcontroller Programming Efficiency

I am an embedded developer who has worked on various models of microcontrollers and embedded systems. Sometimes, I often look at programs written by others and frequently find many issues in the details. Although the functionalities achieved are the same, the stability can vary. I would like to discuss some problems I have observed for … Read more

How to Master Microcontroller Programming Techniques

How to Master Microcontroller Programming Techniques

In today’s era, new technologies are emerging one after another. In the field of electronics, especially in automation and intelligent control, traditional control systems made of discrete components or digital logic circuits are being replaced at an unprecedented speed by microcontroller-based intelligent control systems. Most higher engineering schools have already introduced microcontroller courses. Microcontrollers have … Read more