-
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
-
Chip: STM32F103C8T6 Application Pin: Output: PA0, PA1 TIM2 CH2 channel To achieve 50HZ (20ms) adjustable PWM output on the PA1 pin, set the system TIMx_CNT=8MHZ=8000 000HZ, set TIMx_PSC=800-1, then T...[Details]
-
Serial Port: 一. USART_ITConfig(USART1, USART_IT_TXE, ENABLE): As long as the transmit register is empty, there will always be an interrupt. Therefore, if you are not sending data, turn off the tran...[Details]
-
Security PPP is a new model of urban video surveillance projects: 1) The government and social capital establish a project company in a certain proportion; 2) The project company participates in the ...[Details]
-
Our photovoltaic power station starts working at 5:30 in the morning. When you are still sleeping, the inverter starts working to make money!
Some people are skeptical. The sun hasn't even...[Details]
-
This routine is also a classic routine on the development board. I modified the framework of the program to make it more suitable for future calls. The specific 4*4 keyboard scanning principle is rel...[Details]
-
This program uses the eight-channel ADC single acquisition mode. According to the configuration, ADC12SC will automatically reset after the conversion is completed in the single mode, so it is necess...[Details]
-
From concept proposal, prototype exploration, technology accumulation to product iteration and industrial development,
VR
has gradually expanded from the military market to the consumer market...[Details]
-
Similar to the development trend of photovoltaic modules, photovoltaic inverters are also one of the examples of China's successful localization of manufacturing and leading the global market and tech...[Details]
-
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
-
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]
-
Here is the temperature added in the previous chapter The above figure is the temperature calculation formula: where Vsense is the ADC value collected from the temperature channel. The stm32f407 ...[Details]
-
1. Common knowledge about DMA. 1. Function: to achieve high-speed data transmission between chips. That is, it can achieve data transmission without occupying the CPU. 2. Mode: There are three tran...[Details]
-
Title: Use two dynamic digital tubes to display from 0 to 60, output from the P1 port of 89C51, without adding a decoder, and directly connect the digital tubes. Note that they are dynamic digital tu...[Details]
-
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]