Why Use C Language for Microcontrollers?

Why Use C Language for Microcontrollers?

Porting C to the MCU (commonly known as microcontroller) 8051 began in the late 1980s. Objectively speaking, there are many challenges in porting C to the 8051 MCU. For example: · The 8051’s non-Von Neumann architecture (separate program and data memory spaces), along with additional bit-addressable memory space on the chip;  · The on-chip data and … Read more

What Are the Main Development Languages for Microcontrollers?

What Are the Main Development Languages for Microcontrollers?

Microcontrollers have many names, such as MCU (Microcontroller Unit), and also referred to as microcontrollers. With the popularity of the Internet of Things, the demand for microcontrollers has been increasing. At the same time, as the performance and resources of microcontrollers have improved, the number of programming languages for developing microcontrollers has also increased. So, … Read more

The Path of Domestic CPUs You Must Know for Embedded Development

The Path of Domestic CPUs You Must Know for Embedded Development

The Path of Domestic CPUs You Must Know for Embedded Development 1 IntroductionIn May 2019, the Huawei ban on ARM marked the beginning of a heated discussion about domestic chips in China. Suddenly, people everywhere were talking about the necessity for China to have its own chips, and the internet was buzzing, digging up years … Read more

Arduino Lecture 4: Software Preparation

Arduino Lecture 4: Software Preparation

01Software Download Official Website Arduino Official Website:https://www.arduino.cc/en/software/ Mixly Official Website: http://mixio.org/explore/softwareNote: If you cannot download, please reply with “Microcontroller or Maxly” in the background or comment section to obtain the software.02IDE Interface Introduction ‌‌Verify:Verify:Code compilation ensures the program is correct; Upload:Upload to the Arduino board; Select Board & Port:Select Board & Port:The detected Arduino boards … Read more

Setting Up a Modbus Simulation Testing Environment

Setting Up a Modbus Simulation Testing Environment

Setting Up a Modbus Simulation Testing Environment If you like this, please click the little red heart, share it, and if you want to reward me, I will continue to work hard. 1.Simulating Modbus Communication in Modbus_TCP Mode: 1.Set up a Modbus virtual master station. Use the modsim32 program to set up the Modbus_TCP virtual … Read more

Keil uVision5 C51v959 Download Link and Installation Guide

Keil uVision5 C51v959 Download Link and Installation Guide

Keil uVision5 C51v959 Download Link and Installation Guide Download Link ① Baidu Cloud: Link: https://pan.baidu.com/s/1c1VYsdhEgqXyCwZT1OoWqg?pwd=2024 Extraction Code: 2024 Download Link ② Quark Cloud (tested to be faster than Baidu Cloud without membership): Link:https://pan.quark.cn/s/9578d9ddc891 Software Compatibility: Windows 7/Windows 8/Windows 10/Windows 11. Software Language: Simplified Chinese Software Introduction: Keil software is a powerful, easy-to-use, and widely supported … Read more

STM32 Microcontroller #11.5 I2C Communication (Hardware Read/Write)

STM32 Microcontroller #11.5 I2C Communication (Hardware Read/Write)

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner Tutorial – 2023 Edition Detailed Explanation with Chinese Subtitles Development materials download link: https://pan.baidu.com/s/1h_UjuQKDX9IpP-U1Effbsw?pwd=dspb Microcontroller kit: STM32F103C8T6 development board microcontroller C6T6 core board experimental board minimum system board kit Introduction to I2C Peripherals • The STM32 integrates hardware I2C transceiver circuits, which can automatically execute clock … Read more

Embedded Development Software Architecture in C: Hardware Driver Modules

Embedded Development Software Architecture in C: Hardware Driver Modules

1. What is a Hardware Driver Module In embedded systems, a hardware driver module acts like a bridge, connecting hardware devices on one end and upper-level software on the other, playing a crucial role in the entire system. In simple terms, a hardware driver module is a piece of program code specifically responsible for interacting … Read more

Comprehensive Introduction to C Language Course

Comprehensive Introduction to C Language Course

Reply to the public account: course, to obtain resources. Comprehensive Introduction to C Language Course Course Details This C language course is designed for students who want to systematically learn C programming. The course content covers the basic syntax of C language, including data types (such as integers, floating-point numbers, characters, etc.), the definition and … Read more

Embedded Development: The Third Method for Measuring Code Execution Time

Embedded Development: The Third Method for Measuring Code Execution Time

In engineering development, it is sometimes necessary to first confirm which part of the code consumes time in order to optimize the program. So, how do we measure code execution time? In previous articles, two methods were mentioned: using an oscilloscope to measure I/O level changes to calculate code execution time, and using the System … Read more