-
1. Brief description For buttons, it is common to use MCU to continuously detect the state change of the GPIO connected to the button (high - low or low - high) to confirm whether there is a key in...[Details]
-
In recent years, new energy vehicles have developed rapidly in China. Due to its high efficiency, energy saving, low noise, and pollution-free characteristics, it has become a new trend in the develo...[Details]
-
#ifndef __SPI_H_ #define __SPI_H_ #include "common.h" #include "delay.h" // cs p1.21 //sck p1.20 //miso p1.23 //mosi p1.24 #define SPI_CLOCK 12000000 void spi0_select_cs(void); void spi0_...[Details]
-
Working principle of permanent magnet synchronous motor
A permanent magnet synchronous motor is a motor that works based on magnetic field interaction. Its working principle is to place perman...[Details]
-
This paper discusses in detail the problems existing in the protection of the main transformer of the generator, which mainly include three aspects: imperfect protection design, defective relay princ...[Details]
-
1. Concept of timer/counter of MCS-51 microcontroller The timer and counter in the microcontroller are actually the same physical electronic component, but the counter records what happens outside ...[Details]
-
Hall effect rotary position sensors are used for measurement, monitoring and data feedback and are an integral component of many transportation and industrial applications. In most personal ...[Details]
-
As cars develop towards intelligence, they are transforming from mechanical systems to electronic systems. Currently, the proportion of electrical and electronic components used in cars in the total ...[Details]
-
IEEE 754 Standard The floating point format can be divided into three parts: the sign bit s, the exponent bit e and the mantissa bit f. The real exponent E has an offset relative to the actual exp...[Details]
-
As IoT devices are increasingly used in industrial products, home automation, and medical applications, there is increasing pressure to optimize the power management of these devices by reducing form...[Details]
-
7 working modes: fiq/irq/abt/und/sys/usr/svc. Switched by "MSR cpsr_c,#0xdx". Enters svc mode at power-on. The difference between svc and usr is that svc can switch to any other mode freely through...[Details]
-
Byte format Each byte sent to the SDA line must be 8 bits. The number of bytes per transfer is unlimited. Each byte must be followed by an ACK response bit. Data is transferred starting with the most...[Details]
-
/*********************************************** **** AVR Timer Usage Examples *** **** *** **** Compiler: WINAVR20050214 *** ********************...[Details]
-
Under the HAL library, it is indeed simpler to use STM32CubeMX to generate source code, much simpler than using the standard library. Now summarize my learning process: Hardware platform: Zhengdi...[Details]
-
The original intention of developing new energy plug-in hybrid technology is to enable the car to operate in both oil and electricity modes, and to run farther, have longer battery life, and consum...[Details]