-
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]
-
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]
-
Overview
Lightning is a strong discharge phenomenon that occurs between thunderstorm clouds and between thunderstorm clouds and the earth due to severe convective weather. Lightning is gen...[Details]
-
ZTE was punished, and Hou Weigui, who had already retired, had to come out of retirement again and run around to mediate. Let's follow the embedded editor to learn about the relevant content.
...[Details]
-
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[Details]
-
At present, the Beidou system has achieved industrial breakthroughs and leapfrog development in five major areas, including the automotive OEM market, smart phones, and high-precision applications....[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]
-
In the project, CPLD is needed to complete part of the algorithm design. The parameters are given by AVR, so the communication between AVR and CPLD needs to be completed. Therefore, a test program is...[Details]
-
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[Details]
-
The storage media corresponding to the three boot modes of STM32 are built-in to the chip, they are: 1. User Flash = Flash built into the chip 2.SRAM = RAM area built into the chip, which is the m...[Details]
-
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[Details]
-
The STM8L contains a 12-bit ADC with 25 input channels, including an internal temperature sensor, an internal reference voltage As can be seen from the figure above, there is an internal re...[Details]
-
When the program starts running, light A turns on for 5 seconds, then turns off, light B turns on for 5 seconds, light B turns off, light C turns on for 5 seconds, light C turns off, the program ends...[Details]
-
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
-
/*----------------------------------------------- Name: Two-color dot matrix Forum: www.doflye.net Written by: shifang Modification: None Content: Using hc595 to drive two-color d...[Details]