-
Photovoltaic inverters are the core equipment of photovoltaic systems. Their main function is to convert the direct current generated by photovoltaic modules into alternating current that meets the...[Details]
-
In our common sense, the word technology often has two definitions. The first is the technology sealed in the laboratory. They are like flowers on the mountain top. Only a few people on the mountai...[Details]
-
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
-
The status of interrupts in developing embedded systems is absolutely unquestionable. In the era of C51 microcontrollers, there were only 5 interrupts, including 2 external interrupts, 2 timer/counte...[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]
-
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 is a "cooperation" that is related to the future development of China's semiconductor industry. Let's follow the embedded editor to learn more about the relevant content.
Last week, a...[Details]
-
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
-
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[Details]
-
The first one is a DMA mode of multiple channel acquisition void ADC_DMA_Config(void) { ADC_InitTypeDef ADC_InitStructure; RCC_HSICmd(ENABLE); while (RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET); ...[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]
-
Assume that the crystal frequency of the microcontroller is 6MHz. It is required to use timer 1 in mode 0 to generate a continuous square wave pulse with a period of 500us, and output it from P1.0. T...[Details]
-
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
-
China Energy Storage Network News:
Recently, the "Internet +" smart energy demonstration project, which is supervised by the State Grid Corporation of China and led by the Global Energy Inter...[Details]
-
Each I/O port of the AVR microcontroller corresponds to three registers: DDRx, PORTx and PINx, where DDRx is the data direction, i.e. input or output; PORTx is the state of the internal pull-up r...[Details]