[b]In motor control, I want to send sampled data to a computer for viewing. The sampled data is a floating point number. But the SCI register is only 8 bits. I converted the floating point number into...
[i=s]This post was last edited by 574433742 on 2015-7-29 18:21[/i] I haven't learned C language for a long time, so today I am going to relive the past. As a newbie, I learn C language every week and ...
Maybe I thought things were too simple. I was tortured by the AT24C512 for almost two days. Without reading the data sheet carefully, I wrote the driver according to my (in)normal understanding. Singl...
I would like to ask, for example, if the system needs a +24V power supply, but it is not convenient to provide this voltage externally, then is it reasonable to use an amplifier circuit to amplify +12...
Since it is a ranking list, it should be arranged according to the points. But now it is so messy. You have to look for the points slowly. There is no order at all. It is not a ranking list at all. It...
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]
Autonomous driving
and
5G
are the two hot topics that global companies and media are paying the most attention to, and the combination of the two is the focus of everyone's attention....[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]
The adoption of vehicle tracking systems for cars and fleets is increasing. Modern trackers have reduced form factors and increased functionality to support active data transmission for real-time tra...[Details]
The ZTE incident has aroused people's concerns about the future of Chinese chips, and they have been using WeChat and Weibo to express their views; the Chinese display industry is also worried abou...[Details]
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[Details]
Ouster LiDAR OS-1 (left) and OS-2 (center) Velodyne invented the modern 3D LiDAR scanner in the mid-2000s, but in recent years conventional wisdom has held that Velodyne’s design — 64 lasers mounted...[Details]
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[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]
The following is a 16-way multi-channel ADC acquisition circuit diagram and source program made using the STM32 microcontroller. It uses a USB interface to connect to the computer, which is actually ...[Details]
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
Table of contents: 1 Overview 2: Common interrupt functions 3: PWM output 1 Overview In development, timers are widely used, which can be simply summarized into three aspects: 1.1: Application of ...[Details]
In the 80C51 single-chip microcomputer, the clock frequency is known to be 6MHz. Please program P1.0 and P1.1 to output square waves with periods of 2s and 0.5s respectively. Please give the answer a...[Details]
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[Details]