I use L298N integrated board to drive 12V motor. I use 12V power supply to power the microcontroller through 7805 voltage regulator. Now the control terminal GND and output terminal GND of L298N are c...
void T2_Init(void){TIM2_TimeBaseInit(TIM2_PRESCALER_256, 0xffff-625+1);TIM2_ITConfig(TIM2_IT_UPDATE, ENABLE);enableInterrupts();TIM2_Cmd(ENABLE);}Using HSI, 16MHz, no frequency division, the above tim...
I designed one when I was free, but it can only achieve constant voltage, and I haven't done cross-current yet. The basic principle is that the microcontroller detects the output voltage, and then use...
Authors: Peng Huaxin, Professor, Zhejiang University; Qin Faxiang, Researcher, Zhejiang UniversityElectromagnetic functional composite materials can be divided into three categories according to their...
Abstract: In order to generate a stable excitation signal, the design of a digital frequency synthesizer is implemented on FPGA using Verilog hardware language. The design includes accumulator, wav...[Details]
5. Identifiers and keywords of C language
A complete PIC microcontroller C language program usually consists of six parts: include files (i.e. header files 1, variable definitions, variable de...[Details]
A multi-point temperature control heating control system was designed using the SST89E564RC single-chip microcomputer and a new temperature measuring device. The heating system can be controlled in...[Details]
my country is a big country in agriculture, grain production and consumption. Grains are a necessary condition for our nation to survive and develop. The flour processing industry will exist forever w...[Details]
This controller uses PIC16C54 single-chip microcomputer as the controller, and it is very easy to use: just connect a telephone line to the loudspeaker through the controller, and you can rem...[Details]
This paper designs a 16x16LED Chinese character display bar based on single-chip dynamic scanning control, briefly analyzes the principle of Chinese character display, and studies how the LED displ...[Details]
Printed circuit boards ( PCBs
)
are used in most electrical products
. If a PCB has low
insulation resistance
(IR), the performance of the circuits on the PCB will be greatly reduced...[Details]
Abstract: In recent years, with the establishment and grid-connected power generation of a large number of solar photovoltaic power stations at home and abroad, photovoltaic grid-connected inverter...[Details]
With the rapid development of cities and the improvement of citizens' living standards, the number of various vehicles in cities is growing, and the demand for parking spaces in major commercial an...[Details]
Electric bicycles have long been a means of transportation for lower-income groups due to their affordability. The largest concentrated expense in the use of electric vehicles is the cost of replac...[Details]
At present,
the control system used in
automobiles
can be divided into three parts from the functional point of view:
sensor
unit, control unit and execution unit. Among them,
th...[Details]
1. Introduction
With the rapid development of computer technology, communication technology, and integrated circuit technology, the large-scale application of field control instruments and equ...[Details]
The number of timers/counters and interrupt sources directly determines the performance of the microcontroller. The MCS-51 microcontroller has two programmable 16-bit timers/counters and five inter...[Details]
introduction
In the late 1990s, due to the great safety issues of liquid cobalt lithium-ion batteries, people studied and developed polymer lithium-ion batteries. In addition to the performanc...[Details]
Any power transmission and distribution equipment and power-consuming devices cannot be pure resistive loads, so they must occupy a certain amount of reactive power. The existence of reactive curre...[Details]