-
On April 20, the Photovoltaic Summit, guided by Jiangsu Renewable Energy Industry Association, hosted by Growatt, and supported by LONGi Solar Technology Co., Ltd. and Jiangsu Bigo New Energy Group...[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]
-
1. Usage scenarios In the first case, when using a common STM32 delay function, similar to HAL_Delay(time), since this function uses a loop to judge and delay, when executing this function, the ent...[Details]
-
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[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]
-
China Energy Storage Network News:
On the 7th, Jurong Economic Development Zone signed a strategic cooperation framework agreement on comprehensive energy services with State Grid Jiangsu Int...[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]
-
ADC Introduction: ADC (Analog-to-Digital Converter). That is, converting analog signals into digital signals for processing. When storing or transmitting, analog-to-digital converters are almost ...[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]
-
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]
-
;The hardware connection circuit of the 51 single-chip microcomputer is as follows: ;P1.3 and P1.4 are each connected to a button; ;P0.0 and P0.3 are each connected to a light-emitting diode; ;P2.0~P...[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]
-
/****************************************************************** ** ** File: IIC.c | IIC Communication | ...[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]
-
/*34864 Chinese character library*/ // Connection of MCU //******************************************************** //p3= data port //p4--control port// p4.0 = rs //p4.1= r/w //p4.2= e //...[Details]