I've been learning about quadrature encoders recently. I found stm32f10x_encoder.c of unknown origin on the Internet. I took a look at it and felt it was okay. I roughly understood it, but there are s...
/*------------------------------------------------------------HELLOWIN.C -- Displays "Hello, Windows 98!" in client area(c) Charles Petzold, 1998-------------------------------------------------------...
Recently, I have a task to write a driver for a USB board. The business logic is very simple, which is the two-way data communication between the peripheral and the host. The data has no format and do...
I wrote a program with the stm32fs103cb chip to communicate with the host serial port to getkey, make judgments and process data. But I can't get the key value I want in the buf area. Please help! ! T...
In the interrupt service program (written in C language, compiled under TC), you cannot call functions such as printf, fprintf, putc, and you will get some unexpected results. So what should I do if I...
This is compiled in IAR environment, but the manual is in English. Haha, I wonder if anyone has posted it. The following files are a manual, a UCOS-III source code, and a UCOS translated into Chinese....
Sailing is gaining more and more attention. How to use modern technology to assist training and improve competition results is particularly important. Considering the real-time data collection in t...[Details]
No matter which processor you are learning, the first thing you need to understand is the registers and working mode of the processor.
ARM has 37 registers, including 31 general registers and ...[Details]
In this article, the high-performance DSP developed by TI can be used as an effective confidentiality method if it is applied to PC encryption cards.
As an effective network security solution,...[Details]
Contact resistance
is the resistance to current flow through a closed pair of contacts. This type of measurement is performed on devices such as connectors,
relays
, and switches. The...[Details]
1 Introduction to HART Protocol
HART (Highway Addressable Remote Transducer), an open communication protocol for addressable remote sensor high-speed channels, was launched by Rosemen in the U...[Details]
Problems such as the depletion of natural resources, air pollution, traffic congestion, and rising fossil fuel prices have forced societies and individuals to seek alternative means of transportati...[Details]
Motors, especially those with brushes, generate a lot of noise. This noise must be dealt with if the appliance is to meet the requirements of EMC standards. The means to solve EMC are nothing more ...[Details]
Our flight had just begun to descend when a gentleman sitting next to me turned to talk to me about engineering—he had seen me reading an engineering journal. The gentleman next to me said that he ...[Details]
LED is the abbreviation of the English word. Its main meanings are: LED = Light Emitting Diode, a solid-state semiconductor device that can convert electrical energy into visible light. It can dire...[Details]
Every time I go home and walk up the stairs, I am always scared. The corridor lights are often broken, and no one changes the bulbs, or they are not smart enough and need to be operated manually. E...[Details]
Among the uses of electrical energy, lighting accounts for a considerable proportion. Compared with the earlier ordinary incandescent lamps, the fluorescent lamps and energy-saving lamps we commonl...[Details]
Movpower is a portable power bank. It can charge most mobile phones and digital products, such as digital cameras, PDAs, and mobile phones such as Apple, iPod, Blackberry, Motorola, Samsung, Nokia,...[Details]
1. The composition and structure of mobile phone lithium battery
Mobile phone lithium batteries are mainly composed of plastic shell upper and lower covers, lithium battery cells, protection c...[Details]
The capacity of a battery depends on the amount of charge and discharge, in addition to some factors of the battery itself. Obviously, if the charge and discharge of the battery can be recorded all...[Details]
As a new type of centralized and decentralized elevator control system, serial communication has been widely used in China. Compared with the previous centralized and unified control system, each s...[Details]