The situation is this: I plan to use an electromagnet to absorb iron objects. When the electromagnet is 5mm-1cm above the iron object, I power it up to absorb it. So I need to detect the distance betw...
I finally built the frame these two days, and the effect is pretty good. I would like to share with you the effect of corner piece connectionPart of the frameThe whole machineLater I started to use ac...
Maybe someone has come across the MAX7317?These days I'm trying to output a high level to a pin of MAX7317. Unfortunately, it seems that they can only output open drain. I don't know if there is a way...
The development of TI DSP is similar to the development of integrated circuits. New DSPs are all 3.3V, but many peripheral circuits are still 5V. Therefore, in DSP systems, there are often problems wi...
Does anyone understand how drivers, IO Ports, IRQs and hardware are connected? The relationship between hardware and IRQ can be set dynamically, which can only be done through IO Ports. However, IO Po...
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
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]
According to foreign media reports, the 2018 GMC Terrain Denali is equipped with multiple collision detection systems, and a recent test verified the safety of the system. Even when driving in a bu...[Details]
Artificial Intelligence (AI) is undoubtedly the hottest topic in the technology industry in the past one or two years. In addition to the huge investments made by technology giants, financial and o...[Details]
Analysts have sorted out some interesting phenomena. Let's follow the embedded editor to learn about the relevant content.
Huawei emerged as a star in the all-
flash
array sales ra...[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]
On May 16, in response to
the public opinion storm caused by
Lenovo's
"
5G
voting" incident,
Lenovo
Holdings Chairman and
Lenovo
Group Founder Liu Chuanzhi, Lenovo Gr...[Details]
With the large-scale development of the domestic household photovoltaic market and the improvement of component and inverter technology, the system cost has dropped significantly in the past year. The...[Details]
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[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]
Use common anode digital tube and independent keyboard to connect P1 and P2 ports of single chip to realize answering machine The procedure is as follows: #include reg52.h void delay(unsigned char n)...[Details]
Assume that both the augend NA and the addend NB are three-byte compressed BCD codes, which are stored in the internal RAM units 20H~22H and 30H~32H, respectively, with the low digit first and the hi...[Details]
Title: Use two dynamic digital tubes to display from 0 to 60, output from the P1 port of 89C51, without adding a decoder, and directly connect the digital tubes. Note that they are dynamic digital tu...[Details]
//******************************************************************************/ #include msp430.h //Note: There must be a delay between two transmissions, otherwise it cannot be sent again, seria...[Details]
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]