-
Hardware platform: stm32F407Zet6 Software platform: stm32cubeMX 4.7+MDK5.14 Circuit connection: PE8-LED0, PE9-LED1, PE10-LED2, PE11-LED3 Step 1: Create a project using stm32cubeMX 1. Start the soft...[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]
-
China Energy Storage Network:
At the Boao Forum, Zhu Min, the current dean of the National Institute of Finance at Tsinghua University, said: "When talking about blockchain, we must first sep...[Details]
-
When designing a product, if the application environment's requirements for power isolation are not considered, the product will be unstable due to improper design, and even high voltage may damage t...[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]
-
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[Details]
-
1) ADC multi-channel acquisition: (Multi-channel acquisition must use scanning mode. In scanning mode, the channels of the rule group share a register, so DMA transmission must be used; to prevent da...[Details]
-
12864 LCD parallel port driver is more commonly used, but considering that sometimes the IO port of the microcontroller or MCU is limited, the serial driver method can be used. The following is ...[Details]
-
Note: This STM32 microcontroller is the STM32F103 series. The ADC of Stm32 has DMA function. This is beyond doubt and is what we use most! However, if we want to sample a signal (such as a pulse sign...[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]
-
T1 or T2 are two timers/counters of MCS-51 microcontroller. The first method can use two timers/counters to generate rectangular waves. In order to save interface resources, the second method is used...[Details]
-
;Question: The 80C51 single-chip microcomputer has a fosc = 6MHz. It is required to use the T1 timer working mode 1 to perform a timing of 40ms. And P1.7 periodically outputs a rectangular wave with ...[Details]
-
Use P1.0 to output 1KHz and 500Hz audio signals to drive the speaker as an alarm signal. It is required that the 1KHz signal sound for 100ms and the 500Hz signal sound for 200ms, alternating between...[Details]
-
Caijing reporter exclusively learned that
Huawei
will merge and reorganize a number of departments in the near future. Some cloud-related business lines will be incorporated into the Cloud ...[Details]
-
#include #include "DS1302.h" #include void ds1302_init(void) { PORTX=0x00; DDRX=0x07; } void write_ds1302_byte(unsigned char dat) { unsigned char i; for(i=0;i 8;i++) { ...[Details]