2021 national college student electronic design competition question F intelligent drug delivery car

2021 national college student electronic design competition question F intelligent drug delivery car Premise: This article focuses on sharing our own experiences and feelings and reflecting on our own shortcomings. The problem completion of our group is not very good. We solved the most important part, camera tracking and camera digital recogn ...

Posted by mikewooten on Thu, 11 Nov 2021 09:50:10 -0800

Dynamic Bluetooth password lock

The foregoing: QQ: 961209458 V X: F9986858 Undertake graduation project. function 1. Use the 4 * 4 matrix key to enter the password 2. Passwords can be generated regularly and randomly 3. There is an external EEPROM that can store passwords to prevent power loss 4. Connect the mobile phone to Bluetooth and input specific instructions to obtai ...

Posted by melody on Tue, 09 Nov 2021 16:45:52 -0800

Program memory allocation

1, Preliminary knowledge - program memory allocation The memory occupied by a program compiled by c/C + + is divided into the following parts 1. Stack - automatically allocated and released by the compiler to store the parameter values of functions, local variable values, etc. Its operation is similar to the stack in the data structure. 2. Hea ...

Posted by WeddingLink on Sun, 07 Nov 2021 19:45:47 -0800

stm32 interrupt and serial DMA communication under stm32cubemx

catalogue 1, External interrupt to realize the flashing and extinguishing of LED 1. Create project 2. Compiling and writing programs 3. Burning 4. Experimental results 2, Serial port interrupt to realize serial port communication 1. Create project 2. Redirect printf and scanf 3. Operation results 4.UART receiving interrupt 3, Serial ...

Posted by aussieguy on Sat, 06 Nov 2021 16:55:55 -0700

STM32 interrupt, DMA communication principle and programming method example

STM32 interrupt, DMA communication principle and programming method example STM32 interrupt, DMA communication principle and programming method example 1 Introduction to interrupt 1.1 concept Interrupt actually means that when the CPU executes a program, due to some random event (external or internal), the CPU temporarily interrupts the ...

Posted by chrispols on Sat, 06 Nov 2021 14:56:59 -0700

Based on STM32Cube and using the middle section to realize LED on and off and serial communication

Article content: One pin of the GPIOA end of the stm32F103 core board is connected to an LED, and one pin of the GPIOB port is connected to a switch (replaced by DuPont line simulation). Interrupt mode programming is adopted. When the switch is connected to high level, the LED lights up; When connected to low level, the LED is off. And use th ...

Posted by biodrux on Sat, 06 Nov 2021 07:24:45 -0700

stm32 interrupt mode and DMA mode complete serial communication

Interrupt knowledge point EXTI0 to EXTI15 are used for GPIO. Any GPIO can be used as the input source of EXTI through programming control. EXTI0 can be selected and configured as PA0, PB0, PC0, PD0, PE0, PF0, PG0, PH0 or PI0 through the EXTI0[3:0] bit of 1 (AFIO_EXTICR1) of AFIO's external interrupt configuration register. See figure. The ...

Posted by php_tom on Fri, 05 Nov 2021 23:08:26 -0700

Use stm32tubemx interrupt mode to light up LED and serial communication

1, Stm32subemx interrupt mode LED on 1. Interruption and its function       It is precisely because of the interrupt mechanism that I can methodically "complete multiple tasks at the same time". The interrupt mechanism essentially helps me improve my concurrent "processing" ability. It can also bring the sa ...

Posted by eagle1771 on Fri, 05 Nov 2021 16:12:25 -0700

STM32 interrupt and DMA communication programming

STM32 interrupt and DMA communication programming 1, Topic content Learn stm32 interrupt, DMA communication principle and programming method. Complete the following programming exercises using stm32tubemx and HAL libraries: One pin of the GPIOA end of the stm32F103 core board is connected to an LED, and one pin of the GPIOB port is conne ...

Posted by MerMer on Fri, 05 Nov 2021 15:20:51 -0700

STM32F103 uses interrupt mode to control LED

Catalog 1. Interruption 1. What is an interruption 2. Break the whole process 3. Role of interruption 4. Interrupt Priority 5. Interrupt response process   2. Interrupt System of STM32   1. Priority Grouping 2. Programming steps 3. Specific functions   3. Use interruption to light up LED 4. Interrupt for Serial Comm ...

Posted by MNS on Thu, 04 Nov 2021 16:27:18 -0700