-
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]
-
Security PPP is a new model of urban video surveillance projects: 1) The government and social capital establish a project company in a certain proportion; 2) The project company participates in the ...[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]
-
This program uses the eight-channel ADC single acquisition mode. According to the configuration, ADC12SC will automatically reset after the conversion is completed in the single mode, so it is necess...[Details]
-
*This article is based on the author's report at the "Embedded System Association Theme Discussion (Total 22nd) - Current Situation and Development Prospects of Internet of Things Operating Systems...[Details]
-
In January, Android 7.0 Marshmallow surpassed Lollipop three years ago to become the second most used Android version in the world. According to
the latest data from
Google
, a snapshot of d...[Details]
-
The analog watchdog of the ADC is used to check if the voltage is out of bounds. It has two upper and lower bounds, which can be set in the registers ADC_HTR and ADC_LTR respectively. The library fun...[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. Common knowledge about DMA. 1. Function: to achieve high-speed data transmission between chips. That is, it can achieve data transmission without occupying the CPU. 2. Mode: There are three tran...[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]
-
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]
-
;Question requirements: ;Stopwatch timing, press S0 to start timing, and the digital tube will display; ;Press S0 again to stop. If S0 is not pressed to stop after counting for 1 minute, the buzzer w...[Details]
-
Title: Use two dynamic digital tubes to display from 0 to 60, output from the P1 port of 89C51, without adding a decoder, and directly connect the digital tubes. Note that they are dynamic digital tu...[Details]
-
Pay attention to whether the new lock matches the old door Smart locks have many advantages over traditional mechanical locks. Although the domestic penetration rate is not high, with the strength...[Details]
-
#ifndef _I2C_H #define _I2C_H #define SDA_1 P4OUT|=0x02 //SDA = 1 #define SDA_0 P4OUT&=~0x02 //SDA = 0 #define SCL_1 P4OUT|=0x01 //SCL = 1 #define SCL_0 P4OUT&=~0x01 //SCL = ...[Details]