Comparison of Microcontroller Programming Environments and PLC Programming Software

Comparison of Microcontroller Programming Environments and PLC Programming Software

Hello everyone, I am Da Yi! Today, we will discuss the similarities and differences between microcontroller programming environments and PLC programming software. From a practical perspective, microcontrollers are generally programmed using C language and require an Integrated Development Environment (IDE) such as Keil or IAR. In contrast, PLCs have dedicated programming software, with mainstream options … Read more

Essential Microcontroller Programming Skills: A Transformation Guide from Beginner to Expert

Essential Microcontroller Programming Skills: A Transformation Guide from Beginner to Expert

Hello everyone! Today, I want to share not just dry coding rules, but 6 practical skills that can help your microcontroller projects succeed and double your code efficiency. These experiences come from my years of lessons learned from mistakes, specifically addressing the “program runs but is not user-friendly” issues! 1. Project Planning: Draw the Map … Read more

Craftsman’s Notes: A Summary of Practical Microcontroller Programming Experience

Craftsman's Notes: A Summary of Practical Microcontroller Programming Experience

Experience One: Using “Software Traps + Program ID” to Handle PC Pointer Jumps When the CPU is subjected to external interference, 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 relatively easily. … Read more

Microcontroller Programming: The Soul-Searching Question of Feeding the Watchdog…

Microcontroller Programming: The Soul-Searching Question of Feeding the Watchdog...

[Introduction] After writing so many microcontroller programs, you see the watchdog every day. Are you taking care of your watchdog properly? Just keep feeding it, and as long as it doesn’t bark, everything is fine, right? Is it really that simple? In fact, it may not be as straightforward as you think… What is a … Read more

Tutorial on Renesas RA8 Series | Description of SysTick Usage in RA8 Microcontroller

Tutorial on Renesas RA8 Series | Description of SysTick Usage in RA8 Microcontroller

Each Cortex-M core integrates a SysTick module, as this module is an essential (timer) function for microcontroller projects.Whether it is the latest Cortex-M85 core or the classic Cortex-M3 microcontroller, the SysTick module is integrated. cm3.h and cm85.h Microcontroller developers are most familiar with the core_cm3.h (core_cm85.h) files, which define most of the content related to … Read more

Timer Application Development: Methodologies for Building Reliable Industrial Control Systems

Timer Application Development: Methodologies for Building Reliable Industrial Control Systems

Click the blue text to follow! 10 Timer Application Practice: A Decade of Workshop Experience from an Old Electrician A few days ago, Xiao Zhang rushed to me: “Master Li, please help me check, the conveyor belt on production line three keeps stopping and starting, causing us to rework a large batch of products!” I … Read more

Live Replay | Introduction to Embedded Rust & Practical Analysis of Three Rust Tasks

Live Replay | Introduction to Embedded Rust & Practical Analysis of Three Rust Tasks

▲ Click the blue text above to follow us and never miss any valuable articles! Senior engineers will guide you through the basics of Embedded Rust! Main Content: 1. Basic knowledge of Rust: origins, ecosystem, advantages, syntax, and development environment setup. 2. Analysis of three practical tasks, which include: Using bubble sort to process an … Read more

Five Considerations for Microcontroller Embedded Programming

Five Considerations for Microcontroller Embedded Programming

In the process of microcontroller programming, if a designer can master multiple programming languages simultaneously, then that designer is undoubtedly a very talented individual. However, mastering assembly, C, and C++ at the same time is quite challenging, and many beginners struggle significantly while learning just one of these languages. This article specifically compiles opinions from … Read more

Applications of Structures and Unions in Embedded Programming

Applications of Structures and Unions in Embedded Programming

01Union In the previous article “Combining Enumerations and Structures”, it was mentioned that a structure is like a packaging encapsulation, encapsulating some variables with common characteristics inside. A structure is a constructed type or complex type that can contain multiple members of different types. In the C language, there is another syntax very similar to … Read more

The Wizard’s Approach to Controlling Dual Stepper Motors with 51 Microcontroller

The Wizard's Approach to Controlling Dual Stepper Motors with 51 Microcontroller

Source: 21ic Electronics NetworkOriginal Author:yyy71cjA stepper motor is a digital motor controlled by numbers, particularly suitable for precise control applications. Today, we will discuss the application of stepper motors in controlling a gimbal for accurate positioning, detailing the control of stepper motor movements. 01 Background and Introduction First, the gimbal is controlled by a joystick … Read more