1. What is an external interrupt? External interrupts are interrupts triggered by external events on pins external to the microprocessor or microcontroller, usually GPIO pins. These external events can be triggers from external devices, sensors, or other external sources. 2. Details of external interrupt The registers managed by the AFIO clock include AFIO_EVCR (time control […]
Tag: stm
STM32F103C8T6, use HAL library to simulate IIC reading MT6701 magnetic encoder
Foreword: The MT6701 magnetic encoder has a variety of reading methods, but the SSI and IIC reading methods are generally used more often. The blogger here uses the IIC driving method. The configuration of software and hardware is as follows, with source code attached, hoping to help more people. This article recommends two blogs: STM32 […]
STM32Timer + basic timer
1. Basic overview of timers 1. Principle of software timer It turns out that when we use the 51 microcontroller, we use a __nop()__ to delay The delay function we use through software is inaccurate and subject to many uncertain factors. 2. Timer principle: ratio between counts Because the use of software delay is affected, […]
Application of TS318_1B0814 thermopile sensor on stm32
This project is a piece of content used in my work. I have little talent and knowledge. If there are any omissions, please give me some advice. First, let’s introduce the TS318_1B0814 thermopile sensor. I uploaded the data used by this sensor on Baidu Cloud. To put it simply, this is an analog sensor. It […]
GJO-LSTM-Adaboost optimizes Adaboost classification prediction of long short-term memory neural network LSTM based on the golden jackal algorithm
?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For code acquisition, paper reproduction and scientific research simulation cooperation, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization […]
Use dht20 to implement temperature and humidity detection in stm32
dht20 hardware and environment i2c I2C (Inter-Integrated Circuit) is a serial communication protocol used to communicate between electronic devices. It consists of two lines: clock line (SCL, Serial Clock) and data line (SDA, Serial Data). The I2C protocol uses a master-slave structure, in which one device acts as the master device and is responsible for […]
stm32 dual machine (f1 and f4) serial communication sends multi-byte symbol number
When I looked for serial port communication information on the Internet, most of it was communication between the host computer and the board. I rarely saw communication between two computers. I will record my thoughts in this article and hope it will be helpful. Interface connection: Select serial port one for f103, select serial port […]
Stm32_Standard library_18_Serial port & Bluetooth module_Communication between mobile phone and Bluetooth module_Control LED light on and off
Control the LED lights on and off by inputting LED_ON and LED_OFF respectively wiring: The positive electrode of the LED is connected to positive electricity, and the negative electrode is connected to GPIOA_Pin1 Bluetooth module TXD is connected to GPIOA_Pin3, VCC is connected to positive power, and GND is connected to negative power. Note: USART2 […]
[Proteus simulation] [STM32 microcontroller] Multi-channel temperature control system
Article directory 1. Function introduction 2. Software design 3. Experimental phenomena Contact the author 1. Function introduction This project uses Proteus8 to simulate the STM32 microcontroller controller, using buttons, LEDs, buzzers, LCD1602, DS18B20 temperature sensor, HC05 Bluetooth module, etc. The main function: After the system is running, LCD1602 displays the temperature collected by the first […]