-
P1.0 and P1.1 are driven by 7407 to light up alternately and flash once per second. See the figure below for hardware connection (using 6MHZ crystal oscillator)
Analysis: The flashing cycle is...[Details]
-
This system is mainly composed of light detection circuit, pyroelectric infrared sensor and processing circuit, single chip system and control circuit. When working, the light detection circuit and...[Details]
-
introduction
Deinterlacing algorithms were developed to solve an old problem: interlaced video from analog TV must be converted to be displayed on today's digital TVs.
Interlaced video is a 5...[Details]
-
Introduction
Embedded systems, with their advantages of high performance, low power consumption and low cost, have greatly changed people's lives. For example, MP3 players, smart phones, digi...[Details]
-
Step 1: Find the base (b): First, set the meter to the r×lk ohm range and adjust it to zero. Connect the black test lead to the assumed base electrode b, and the red test lead to the other two electr...[Details]
-
What is a portable water quality tester and what functions does it have Holder Electronics HED-S11 portable water quality tester is a detector suitable for industrial sewage, aquaculture, river moni...[Details]
-
As a special instrument for precise detection of gas humidity, the SF6 micro-water meter is suitable for precise and rapid detection of gas humidity in SF6 switches of substations, hydrogen productio...[Details]
-
After installing the ssh service yesterday, I tried to log in with xshell on Windows today and found that I couldn't log in. The reason was that I used the NAT mode of VirtualBox. In NAT mode, th...[Details]
-
LED is an electroluminescent light source. Its luminescence principle is that when a forward voltage is applied to both ends of the PN junction, the holes in the P region will flow to the N region. Th...[Details]
-
Write code led.c void delay(volatile int d) { while (d--); } int led_on(int which) { unsigned int *pGPFCON = (unsigned int *)0x56000050; unsigned int *pGPFDAT = (unsigned int *)0x56000054; ...[Details]
-
On January 16, Huawei's official Weibo account announced the results of Huawei's mobile phone business in 2019. Huawei shipped more than 240 million smartphones in 2019, with the Mate and P series fl...[Details]
-
In the last class, we mentioned the internal structure of one of the microcontroller IO ports, the "quasi-bidirectional IO". In fact, our microcontroller IO port has three other states, namely open d...[Details]
-
There are still problems with the hardware I2C of STM8S, so I dare not use it rashly. #define SCL PE_ODR_ODR1 #define SDA PE_ODR_ODR2 #define SDAM PE_IDR_IDR2 #define SET_SCL_OUT() {PE_DDR_DDR1=1; PE...[Details]
-
Servo motor encoder zeroing and alignment is one of the key steps to ensure precise control of the servo system. This article will introduce the methods of servo motor encoder zeroing and alignment...[Details]
-
First, let’s talk about what port multiplexing is. STM32 has many built-in peripherals, and the external pins of these peripherals are multiplexed with GPIO. In other words, if a GPIO can be multiple...[Details]