Minimum System of 51 Microcontroller 8051/8751 and 8031

The 51 microcontroller has a long development history since its inception and is one of the oldest and most widely used microcontrollers. To become an excellent microcontroller engineer, mastering the technology of the 51 microcontroller is essential. Today, we will discuss the minimum system of the 51 microcontroller, namely the 8051/8751 and 8031. 1. What … Read more

The Role of ROM, RAM, and Flash in Microcontrollers

Generally, ROM is used to store firmware, while RAM is used to hold data. Since FLASH ROM has faster read and write speeds and is easier to erase compared to ordinary ROM, it is typically used to store user programs and data that need to be permanently saved. For example, the core of a household … Read more

Detailed Explanation of Three Programming Methods: ICP, IAP, and ISP

Those who play with microcontrollers must have heard of IAP, ICP, and ISP. Today, I will help everyone “consolidate” the relevant knowledge. ● ICP (In Circuit Programming) ● ISP (In System Programming) ● IAP (In Application Programming) 1. ICP (In Circuit Programming) Those who have used Nuvoton microcontrollers must know that Nuvoton provides a set … Read more

Eight Essential Steps to Learning Microcontrollers

Learning to use microcontrollers involves understanding the hardware structure of the microcontroller and the application of its internal resources, as well as learning various initialization settings for functions in assembly or C language, and programming to implement various functionalities. Here are some of my experiences: Step 1: Using Digital I/O Using button inputs to signal, … Read more

Differences Between Microcontroller and PLC Programming

Teacher Liao Changchu A university teacher told me: “Recently, while reviewing students’ graduation theses, I found that some students drew flowcharts for PLC programs just like microcontroller programs. However, when the system has analog control links, the flowcharts drawn are difficult to explain the issues, making it hard to create a comprehensive flowchart that reflects … Read more

Analysis of a Classic Microcontroller Power Supply Circuit

Today we analyze a classic microcontroller power supply circuit, the schematic diagram of the circuit is shown below: ▲ Simplified switch circuit Before powering the circuit, the switch “TEST” is open, and the microcontroller is not powered through VCC. At this point, the base of T1 is grounded through R9 (100k), putting it in the … Read more

12 Essential Knowledge Points for Microcontroller Beginners

Learning about microcontrollers is a long and somewhat painful process. Especially for beginners, it is difficult to form a systematic learning framework when various types of knowledge are incomplete in the early stages. This article aims to provide a thought process and list some essential foundational knowledge before getting into microcontrollers. 1. There are only … Read more

Analyzing Low-Cost Microcontroller Components

【2024 First Release】The Drone Giveaway Activity Returns! More Writing, More Rewards! Introduction The USB power meter is an essential tool for engineers! It’s commonly used to measure the current of phones, products, and circuits. I previously purchased a small power meter, which is very convenient for measuring the power of power banks and lamps. This … Read more

Understanding Interrupts in Microcontrollers

The microcontroller’s CPU, while processing an event A, receives a request to quickly handle another event B (interrupt occurs); the CPU temporarily interrupts its current work to process event B (interrupt response and interrupt service); upon completing event B, the CPU returns to the original point of event A that was interrupted to continue processing … Read more