The eighth stage is like foolishness, the ninth stage is like hiding one's shortcomings. Hiding one's shortcomings is a high-level summary of Chinese wisdom. Through the hidden shortcomings space, you...
1. Principle 1. Infrared emission protocol There are many infrared communication protocols. This experiment uses the NEC protocol. This protocol uses PWM modulation and uses pulse width to represen...[Details]
All relevant units:
In accordance with the relevant requirements of the provincial and municipal electric vehicle charging infrastructure construction work, in order to further standardize the...[Details]
Today, under the guidance of a low-level expert, I learned how to configure the PWM module! Woof! First open the file configured last time, as follows: Then, we need to use TIM1 to set PWM: Then,...[Details]
Because the STM32 HAL library only has millisecond-level delay for HAl_Delay(), in order to achieve accurate microsecond-level delay, Systick has to be modified. However, since it is used internally ...[Details]
From last year to now, competition in the photovoltaic inverter industry has become increasingly fierce. In addition to the introduction of new products, various marketing and promotion methods hav...[Details]
Superconductors have physical properties such as zero resistance effect, Meissner effect and Josephson effect, which make them have broad application prospects and unparalleled advantages in many b...[Details]
Different from 51, AVR and other single-chip microcomputers, the clock signal sources of msp430 include LFXT1, XT2 and DCO. 1. LFXT1: It can connect high-speed and low-speed crystal oscillators. In l...[Details]
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[Details]
Ouster LiDAR OS-1 (left) and OS-2 (center) Velodyne invented the modern 3D LiDAR scanner in the mid-2000s, but in recent years conventional wisdom has held that Velodyne’s design — 64 lasers mounted...[Details]
1. What is PWM What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs...[Details]
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
Table of contents: 1 Overview 2: Common interrupt functions 3: PWM output 1 Overview In development, timers are widely used, which can be simply summarized into three aspects: 1.1: Application of ...[Details]