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

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

Introduction to Single-chip Computer

        Independent key control LED light out         First let's look at the structure of the mechanical switch. As shown in the figure, there are switch keys and spring spring spring blades. When the switch is pressed, it touches the two unconnected shrapnels under the s ...

Posted by lvitup on Fri, 05 Nov 2021 10:30:44 -0700

Teach you by hand to realize the programming and debugging of MODBUS slave through HAL Library - the improvement of serial port and timing function

catalogue 1.STM32CubeMX operation   2. Program perfection 2.1 perfect usart.h   2.2 improve usart.c 2.2.1 header file improvement 2.2.2 add callback function 2.2.3 serial port initialization function 2.3 perfect tim.h 2.4 improve tim.c 2.4.1 improve header file   2.4.2 improve callback function and initialization fun ...

Posted by Gazan on Wed, 03 Nov 2021 21:06:49 -0700

High precision frequency meter based on FPGA

1, Design requirements A signal frequency detector is designed with FPGA, which requires: (1) Measuring pulse signal; (2) Frequency measurement 1-10MHz and duty cycle 10% - 99%, accurate to 1%; (3) Display the measured frequency and duty cycle on LCD1602; 2, Design scheme FPGA design is mainly divided into three modules: 1. Measured signal gen ...

Posted by sarun on Wed, 03 Nov 2021 18:13:04 -0700