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

What Is a Microcontroller? How to Get Started with Programming?

What Is a Microcontroller? How to Get Started with Programming?

Click the blue text to follow, reply with “Getting Started Materials” to obtain a tutorial from beginner to advanced on microcontrollers Written by | Wujì (WeChat:603311638) Original | Article No. 21 Full text775 words, reading takes about 3 minutes I am not a graduate of electronics, but I entered this industry through self-study of microcontrollers. … Read more

The Importance of Initializing Local Variables in Microcontroller Programming

The Importance of Initializing Local Variables in Microcontroller Programming

Introduction In microcontroller programming, the use of local variables is fundamental for data manipulation within functions or code blocks. The lifecycle of local variables starts from their declaration and ends when the containing function or code block completes execution. During this process, local variables may be read and written multiple times to store and pass … Read more

Introduction to Lobo Lobo Microcontroller Programming Course for Ages 7+

Introduction to Lobo Lobo Microcontroller Programming Course for Ages 7+

This robot course is suitable for teenagers aged 7 and above. The focus of robot education is to cultivate young people’s interest in robotic science, inspire their motivation to explore science, and systematically set course content according to children’s cognitive development stages.By learning microcontroller robotics and assembling robots using screwdrivers and nuts, students can develop … Read more

Microcontroller Programming Techniques – State Machine Programming

Microcontroller Programming Techniques - State Machine Programming

Follow and star the official account to reach exciting content directly. Source: Play with Embedded Systems Author: Alicedodo Abstract: I wonder if everyone has this feeling, that you can play with microcontrollers and drive various functional modules, but when asked to write a complete set of code, there is no logic or framework, you just … Read more

Practical Microcontroller Programming Experience Summary

Practical Microcontroller Programming Experience Summary

Experience 1: Use “Software Trap + Program ID” to Deal with PC Pointer Fluctuations When the CPU is disturbed by external factors, sometimes the PC pointer may jump to another segment of the program or to a blank segment. In fact, if the PC pointer jumps to a blank segment, it can be handled easily. … Read more

Microcontroller Programming: From Bare Metal to RTOS

Microcontroller Programming: From Bare Metal to RTOS

Introduction For embedded engineers, understanding the principles and application development technologies of RTOS is essential knowledge. However, with a wide variety of real-time operating systems available, selecting a specific RTOS as a basis for learning is a very effective approach. In this regard, Jishu Reading recommends a book co-authored by Arm Technology, published by the … Read more

Comprehensive Guide to 80 MCU Programming Examples (1-30)

Comprehensive Guide to 80 MCU Programming Examples (1-30)

Please click above for free follow… *Example 1: Use P3 port to light up 8 LEDs in sequence #include<reg51.h>//Include the header file for MCU registers / Function: Delay for a period of time void delay(void) { unsigned char i,j; for(i=0;i<250;i++) for(j=0;j<250;j++) ; } / Function: Main function void main(void) { while(1) { P3=0xfe; // First … Read more