Quick Start Guide to Microcontroller Development: Refresh Frequency and Dynamic Scanning of Seven-Segment Displays

Quick Start Guide to Microcontroller Development: Refresh Frequency and Dynamic Scanning of Seven-Segment Displays

Teaching Objectives 1. Understand the core concept of the refresh frequency of seven-segment displays, clarify its definition, the human eye’s perception threshold, and the impact of refresh frequency on the display of seven-segment displays. 2. Master the principles of dynamic scanning technology for seven-segment displays and the logic behind its implementation. 3. Analyze the calculation … Read more

Getting Started with PIC16 Microcontroller from Scratch

Getting Started with PIC16 Microcontroller from Scratch

Get the demo source code file at the end of the article ↓Software Platform: MCC v5.5.2, MPLAB X IDE v6.25Hardware Platform:PIC16F685Basic settings for configuring the microcontroller startup – Configuration WordSet system clock source and other parameters through the microcontroller configuration wordSet relevant configuration words in the configuration word interface and generate codeSet system clockFOSCto internal … Read more

EMC Testing and Troubleshooting for Microcontroller Systems

EMC Testing and Troubleshooting for Microcontroller Systems

For engineers engaged in the design of microcontroller application systems (both hardware and software), mastering certain EMC testing techniques is essential. About EMC EMC:Electromagnetic Compatibility, refers to the ability of a device or system to operate as required in its electromagnetic environment without causing intolerable electromagnetic interference to any devices in that environment.It includes two … Read more

Why Are Universities Still Teaching the 51 Microcontroller and Assembly Language?

Why Are Universities Still Teaching the 51 Microcontroller and Assembly Language?

Today, a student left a message: “Now that STM32 and ESP32 are so powerful, why are universities still teaching the outdated 51 microcontroller and the difficult-to-understand assembly language? Isn’t this a waste of time? Today, I will share my thoughts. If we look solely from the perspective of technological trends, the 51 and assembly seem … Read more

Comprehensive Learning Resources for the 51 Microcontroller

Comprehensive Learning Resources for the 51 Microcontroller

The method to download the materials is at the end of the article. 51 Microcontroller Tutorial Directory 1 – Self-study Notes – Design and Verification 1 – Principles and Interface Technology of Microcontrollers. Li Quanli 2 – New MCS-51 Microcontroller Application Design 3 – A Guide to Learning CAN Bus 4 – Introduction to C … Read more

What Happens Before the Main Loop in Microcontrollers

What Happens Before the Main Loop in Microcontrollers

For those new to microcontrollers, it is common to start writing code from the main() function — as if the microcontroller will obediently execute instructions as soon as main() runs. However, before the main loop (the loop logic within the main() function) starts, the microcontroller must first complete a series of “preparatory tasks”, similar to … Read more

Comparison of Advantages and Disadvantages between PLC and Microcontroller

Comparison of Advantages and Disadvantages between PLC and Microcontroller

In the field of automation control, both PLC (Programmable Logic Controller) and microcontrollers are extremely important control devices, each possessing unique advantages and disadvantages suitable for different application scenarios. Advantages of PLC 1. Simple programming and easy to learn: PLC uses a ladder diagram programming method similar to relay control circuit diagrams, which is intuitive … Read more

Why Do Microcontrollers Need Crystal Oscillators? A Comprehensive Overview

Why Do Microcontrollers Need Crystal Oscillators? A Comprehensive Overview

In the world of electronics, there is an inconspicuous little component that almost determines whether a microcontroller can function properly, and that is the crystal oscillator (晶振). It acts like the “heart” of the microcontroller; without it, the microcontroller would be “lost”. So, why must microcontrollers use crystal oscillators? Today, we will uncover its secrets. … Read more

Is Becoming a Full-Stack Embedded Engineer an Inevitable Trend?

Is Becoming a Full-Stack Embedded Engineer an Inevitable Trend?

Students often ask me: Teacher, is the current trend of full-stack embedded engineers inevitable? Will those of us working with microcontrollers be eliminated? Today, let’s discuss this topic together.. First, what is a full-stack embedded engineer? Traditionally, those of us working with microcontrollers might focus on writing low-level drivers, debugging hardware, and designing circuit boards. … Read more