Common I/O Ports of MCUs and Their Differences

Common I/O Ports of MCUs and Their Differences

When it comes to microcontrollers (MCUs), the first thing that comes to mind is that they have many input/output (I/O) ports, which can be difficult to distinguish. As the core of embedded systems, they can communicate with external devices or sensors. However, the presence of I/O ports often makes learning challenging for many people. This … Read more

Eight Essential Steps to Learning Microcontrollers

Eight Essential Steps to Learning Microcontrollers

Learning to use microcontrollers involves understanding the hardware structure of the microcontroller and the application of its internal resources, as well as learning various initialization settings for functions in assembly or C language, and programming to implement various functionalities. Here are some of my experiences: Step 1: Using Digital I/O Using button inputs to signal, … 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

Microcontroller Basics and Applications | Development of 8-bit Microcontrollers

Microcontroller Basics and Applications | Development of 8-bit Microcontrollers

Click the blue text to follow us 1. Development of the 80C51 Microcontroller 1. Development of the 80C51 Microcontroller MCS-51 is the name of the microcontroller series, which includes various chip models; the 80C51 is both the series name and a specific chip model. The early 80C51 series chip models corresponded exactly to MCS-51. They … Read more

How to Simulate STM32 Microcontroller in Keil

How to Simulate STM32 Microcontroller in Keil

1. Introduction When learning about the 51 microcontroller, we often use the combination of Keil and Proteus for experiments. This simulation saves us a lot of hardware and time costs, allowing us to visually observe the execution process of the code. However, when switching to the STM32 series microcontrollers, Proteus is obviously not supported, but … Read more

Don’t Be Fooled by High Resolution: OLED Screens Can Hurt Your Eyes

Don't Be Fooled by High Resolution: OLED Screens Can Hurt Your Eyes

Recently, more and more flagship smartphones have adopted OLED screens. However, while the visual effect is enhanced, OLED screens can actually be more harmful to the eyes compared to traditional LCD screens. OLED screens use organic light-emitting materials. Due to inherent reasons, most of them utilize PWM dimming, which continuously turns the screen on and … Read more

Understanding Mobile Phone Parameters: PWM, PPI, AIS, OIS, and AMOLED

Understanding Mobile Phone Parameters: PWM, PPI, AIS, OIS, and AMOLED

Many people are often confused by the proprietary terms in mobile phone specifications when purchasing a phone, not knowing what they actually mean. Today, we will unveil some common mobile phone parameter abbreviations. I hope this is useful for beginners. 1. Pixel Density Unit PPI The pixel density unit PPI, also known as image sampling … Read more

22 Common Concepts About ARM Hardware

MSB: Most Significant Bit; LSB: Least Significant Bit; AHB: Advanced High-performance Bus; VPB: VLSI Peripheral Bus connecting on-chip peripherals; EMC: External Memory Controller; MAM: Memory Accelerator Module; VIC: Vector Interrupt Controller; SPI: Full-Duplex Serial Interface; CAN: Controller Area Network, a serial communication protocol; PWM: Pulse Width Modulator; ETM: Embedded Trace Macrocell; CPSR: Current Program Status … Read more

A Simple Guide to Arduino Programming

A Simple Guide to Arduino Programming

Introduction Uh, why am I writing this tutorial~I don’t know either!Ah, too much to say brings tears, it’s hard, so competitive~ The following content is my personal understanding, and there may be errors in the explanations of technical terms, so I hope the readers will point them out, thank you very much! Basic Concepts Returning … Read more

Application Research of PWM Modulation in Arduino-Based Electronic Technology Experiments

Application Research of PWM Modulation in Arduino-Based Electronic Technology Experiments

Abstract Based on the openness and ease of use of the Arduino controller of the open source control platform, an experimental teaching module with the Arduino microcontroller as the core has been added to the original electronic technology comprehensive experiment. Using the pulse width modulation technology (referred to as PWM technology) in the Arduino microcontroller, … Read more