-
In recent years, as energy consumption and environmental protection issues have attracted people's attention, my country's solar photovoltaic power generation industry has shown a rapid development...[Details]
-
Function List and Notes (lower-level driver part) 1. IO port initialization: control IO and communication IO. Control includes power control, reset and low power mode. Communication is the serial po...[Details]
-
As photovoltaic power stations come into people's view, people are paying more and more attention to them. Recently, some netizens asked me how to match the inverter and components of photovoltaic ...[Details]
-
At the beginning, I used the stdlib library. Recently, I found that the cube library is more and more widely used, so I started to use the cube library to complete the ADC multi-channel acquisition e...[Details]
-
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
-
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
-
A crystal oscillator can be electrically equivalent to a two-terminal network consisting of a capacitor and a resistor in parallel and a capacitor in series. In electrical engineering, this network h...[Details]
-
Requirements: Set timer T1 as an external event counter, count 500 pulses every time, then switch T1 to timing mode and output a positive pulse with a width of 10ms at P1.2. Over and over again. A...[Details]
-
#include avr/io.h void Delay(unsigned int T) { unsigned int i,j; for (i=0;i T;i++) for (j=0;j 100;j++) asmvolatile ("nop"); //Assembly instruction, let the microcontroller run empty instruction...[Details]
-
According to a report by Russian News Agency on November 23, Alexander Hanin, founder and general manager of VisionLabs, a Russian facial recognition software development company, believes that in ...[Details]
-
1. Analysis of the main causes of AVR damage: The AVR circuit consists of three parts: the rectifier main circuit, the voltage detection circuit, and the comparison control circuit. Excluding the...[Details]
-
/**********(一)Timer A comparison mode*************/ int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1M Hz ; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; P1DIR |= BIT0; ...[Details]
-
#include "IRRemote.h" void main(void) { //初始化 Initialize(); //Infinite loopwhile (1) { unsigned int transmit; //Initialize va...[Details]
-
There is a very stupid but also very simple method, the steps are as follows: 1. Use AVRStudio to create a project in "c:\temp", for example, called "test.apr", and then add a C program source file, ...[Details]
-
Recently, the Ministry of Science and Technology issued a notice approving the establishment of six national research centers, including Beijing Molecular Science, Wuhan Optoelectronics, Beijing Co...[Details]