-
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[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]
-
This paper combines embedded control technology with network control technology to realize the design of temperature control system based on single chip microcomputer through Internet control. Th...[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]
-
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
-
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[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]
-
This program sets the LED running light and the 0-16 numbers of the 0th position of the digital tube to light up in a cycle. The digital tube program cannot be put into the main function, because the...[Details]
-
#include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f ,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; unsigne...[Details]
-
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[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]
-
//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]
-
The Arctic region has always been cut off from the outside world, and if oil workers and polar expedition personnel are in danger, they need
robots
to provide rescue work.
Sergey...[Details]
-
;*********************************************************************** ; Self-receiving photoelectric detection.dt ;*************************************************************************** PORT...[Details]
-
Recently, the Ericsson Mobility Report pointed out that
5G
is expected to be deployed first in dense urban areas to support eMBB (enhanced mobile broadband) services. The report predicts th...[Details]