Simple Methods to Achieve Breathing Light Effect with Microcontrollers

Simple Methods to Achieve Breathing Light Effect with Microcontrollers

Follow+Star Public Account Number, don’t miss exciting content Source | Renesas Embedded Encyclopedia To create a better atmosphere, many electronic products have applied breathing lights. There are many methods to achieve breathing lights, which are relatively simple. Today, I will describe a few simple steps to configure a breathing light effect with the Renesas microcontroller. … Read more

Is a 10-bit ADC Sufficient for Microcontrollers?

Is a 10-bit ADC Sufficient for Microcontrollers?

1. Introduction Currently, most microcontrollers come with built-in AD converters that are typically between 10 to 12 bits. In general applications, how much does the bit depth of AD conversion affect measurement errors? Is a 12-bit ADC sufficient? We will discuss the impact of AD conversion bit depth on measurement error through practical measurements. 2. … Read more

Mastering STM32 Microcontroller Serial Communication

Mastering STM32 Microcontroller Serial Communication

To master the STM32 microcontroller, one cannot do without serial communication. Serial communication uses a protocol called the serial communication protocol to manage data transmission, which controls the data flow during transmission, including data bits, baud rate, parity bits, and stop bits. Due to its simplicity and ease of use, serial communication is widely applied … Read more

Understanding the Principle of Directly Running Code from Flash in Microcontrollers

Understanding the Principle of Directly Running Code from Flash in Microcontrollers

This issue’s topic A few days ago, I shared an article about CPUs:A Hardcore Knowledge About CPUs, which discussed what work CPUs actually do: “The core work of the CPU is to fetch instructions from programs or applications and execute computations. This process consists of three key stages: fetch, decode, and execute. The CPU first … Read more

Mastering Microcontrollers: From Beginner to Expert

Mastering Microcontrollers: From Beginner to Expert

Many students mention learning microcontrollers, and they often have the following expression: Seeing others’ programs densely packed, they don’t know where to start. In fact, if you calm down and read others’ programs, you will find a certain pattern, which is often modular. Microcontrollers have a lot of registers, and it’s hard to remember what … Read more

Memory Optimization Techniques in Microcontroller Development (C Language Version)

Memory Optimization Techniques in Microcontroller Development (C Language Version)

First, let’s talk about As we all know, the biggest difference between microcontroller programming and computer programming is that microcontrollers have very limited resources, and most low-end microcontrollers do not have an operating system. Except for some embedded-level chips that use Linux, most operations are done with simple RTOS, and some simple applications or chips … Read more