3 Ways to Program Microcontrollers (ISP, ICP, IAP)

3 Ways to Program Microcontrollers (ISP, ICP, IAP)

A microcontroller is a type of programmable controller that, after setting up the hardware circuit, can use programs to implement many very complex logical functions. Compared to pure hardware circuits, it simplifies the design of hardware peripherals, facilitates logical design, and enriches logical outputs. Different manufacturers of microcontrollers require different programming IDEs to achieve programming. … Read more

How to Output Analog Signals via Microcontroller UART?

How to Output Analog Signals via Microcontroller UART?

1. Introduction In electronic circuit design, there might be a situation where the microcontroller has no DAC resources and no spare PWM ports available. The only remaining option is a UART. So how can we output an analog voltage through this port? By using the microcontroller’s port, we can output a square wave signal with … Read more

What Software to Use for Microcontroller Programming?

What Software to Use for Microcontroller Programming?

In the field of microcontroller programming, it is crucial for developers to choose the right development tools. Choosing the wrong one may significantly reduce learning efficiency and make it harder to explore microcontrollers. Below, we will review several common programming software for microcontrollers, hoping to help everyone. 1. Keil Advantages: As an essential tool for … Read more

Understanding Pointers in Microcontrollers

Understanding Pointers in Microcontrollers

Word Count: 6000 Content Quality Index: ⭐⭐⭐⭐⭐ Abstract: Have you ever wondered where the functions and variables you write in Keil for microcontrollers end up? We often talk about the five areas of memory, but what exactly are those five areas? Where are they located on the chip? And why is it that after learning … Read more

Exploring the Path of Microcontroller Development

Exploring the Path of Microcontroller Development

Introduction Microcontrollers are quite “low-level” and “hardware” components, lacking complex data structures and intricate programming algorithms. We only need to understand and program from the perspective of how the microcontroller executes. For the average person, there is no need to delve deeply into the subject, as most of us are merely users of microcontrollers, not … Read more

Comparison of Eight Microcontroller Technologies and Their Application Scenarios

Comparison of Eight Microcontroller Technologies and Their Application Scenarios

In embedded system design, microcontrollers serve as the core controller and are one of the key learning topics for many engineers. However, there are a wide variety of microcontrollers on the market with different functions. Today, this article will compare several of the most common types of microcontrollers, hoping to help everyone. 1. 51 Microcontroller … Read more

STM32CubeMX Configuration for STM32F103C8Tx UART Data Manager

STM32CubeMX Configuration for STM32F103C8Tx UART Data Manager

Introduction Since both the Arduino controlling the lead screw and the board controlling the servo only have one UART, they need to communicate with each other, and also with the Raspberry Pi. Therefore, the number of UARTs is insufficient. Thus, I created a UART Data Manager using the STM32F103 chip, which has three UARTs: USART1~3. … Read more

STM32CubeIDE Tutorial: Project Configuration 01

STM32CubeIDE Tutorial: Project Configuration 01

0 Preface The previous article introduced how to use STM32CubeIDE to create a new project and its features. This article will continue to explain how to configure the project, which is also a very important step. 1 Introduction to the Configuration Interface (STM32CubeMX Interface) The project configuration is mainly operated through the original STM32CubeMX tool. … Read more