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

What Software Is Used for Microcontroller Programming?

What Software Is Used for Microcontroller Programming?

Click the blue text to follow, reply with “Intro Materials” to get a comprehensive tutorial from beginner to advanced on microcontrollers. Written by | Wu Ji (WeChat: 603311638) Original | Article 50 of the series Approximately 791 words, reading takes about 3 minutes The software needed for microcontroller programming is actually not much. There are … Read more

Introduction to IAR Microcontroller Programming Software

Introduction to IAR Microcontroller Programming Software

Microcontroller programming software is typically dominated by Keil and IAR. When choosing suitable microcontroller programming software, one can base the decision on project requirements. This article focuses on IAR microcontroller programming software, mainly explaining the methods for project debugging using this software. If you have any questions about the content to be discussed, let’s learn … Read more

Discussing My Microcontroller Programming Ideas

Discussing My Microcontroller Programming Ideas

Wu Jianying Microcontroller Development Board Address Store:【Wu Jianying’s Shop】 Address:【https://item.taobao.com/item.htm?_u=ukgdp5a7629&id=524088004171】 I have developed microcontroller products for two years, and during the process of programming microcontrollers, I gradually formed a generally fixed overall framework, which can also be referred to as a programming idea. I present it here for everyone’s reference. First, classify the peripheral chips, … Read more

Understanding the Volatile Keyword in Microcontroller Programming

Understanding the Volatile Keyword in Microcontroller Programming

Click the “blue text” above Follow us! The variable modified by volatile indicates that this variable may be unexpectedly changed. For programmers, this keyword is quite common in microcontroller programming. Volatile means changeable and unstable. In fact, many people may have never seen this keyword and are unaware of its existence. There are also many … Read more

Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

dATa: Fixed to the first 128 RAM addresses from 0x00 to 0x7F, can be directly read and written using ACC, fastest speed, and generates the smallest code. iDATa: Fixed to the first 256 RAM addresses from 0x00 to 0xFF, where the first 128 are identical to dATa, but accessed in a different way. iDATa is … Read more

Microcontroller Programming and Debugging Skills Competition Guide

Microcontroller Programming and Debugging Skills Competition Guide

Category: Skills Competition In recent years, both at the national and local levels, conducting vocational skills competitions has become an important measure for cultivating high-skilled talents. Therefore, the performance of students in vocational skills competitions has become a key evaluation indicator for assessing the quality of education and teaching in vocational colleges. Various schools attach … Read more

Master Microcontroller Programming In Three Easy Steps

Master Microcontroller Programming In Three Easy Steps

Step 1: Learning Basic Theoretical Knowledge The basic theoretical knowledge includes analog circuits, digital circuits, and C language knowledge. Both analog and digital circuits are abstract subjects, and mastering them requires effort. Before learning microcontrollers, if you feel your foundation in analog and digital circuits is weak, do not rush into learning microcontrollers; instead, review … Read more

80 Examples of Microcontroller Programming

80 Examples of Microcontroller Programming

▍Note: If you need the Word source file, please reply “Admin” in the public account backend to get the material. *Example 70: Software Debounce Independent Keyboard Input Experiment #include<reg51.h> // Include header file defining 51 microcontroller registers sbit S1=P1^4; // Define S1 pin as P1.4 sbit LED0=P3^0; // Define LED0 pin as P3.0 /* Function: … Read more