2021-06-16 STM32F103 EXTI interrupt identification using firmware library

This paper shows the identification operation of STM32 external interrupt EXTI The content involves: Identification of external interrupt EXTI IO port input and output External interrupt processing of key External interrupt capture method preface Here we only explain the code of the core part. The setting of some variables and the in ...

Added by lbraine on Sun, 30 Jan 2022 06:57:55 +0200

STM32F407 -- steps and application of hardware I2C driver

This article will introduce the theory and practical application of I2C communication mode from theory to practice. The theory part mainly describes the physical structure of I2C bus, the relevant provisions in its protocol and several different communication processes. In the practice part, we will take a display module commonly used in var ...

Added by lazytiger on Sat, 29 Jan 2022 17:56:48 +0200

[STM32 training - Item 1] Part 2: STM32 drives SIM900A to send Chinese and English text messages

catalogue The first part is the preface 1. Preparation knowledge 2. Commissioning purpose 3. Wiring mode of module and single chip microcomputer Part II Engineering Code 1. Code function description 2. SIM900A code for sending English SMS 3. SIM900A code for sending Chinese SMS 4,main.c document code The third part is the summary 1. ...

Added by arya6000 on Fri, 28 Jan 2022 11:49:28 +0200

Blue Bridge Cup learning notes 8: capture counter

1, What is a capture counter? For example, we want to know the duration of a high-level input to a pin (the signal frequency is actually calculating the duration of the signal input). The timer in stm32 can certainly realize this function. The timer we just mentioned is not accurate at this time. It should be called counter, because the reali ...

Added by egroeg41 on Thu, 27 Jan 2022 22:00:44 +0200

DS18B20 temperature conversion

Programming flow: Reset write command word: 0xcc (skip ROM instruction), 0x44 (start temperature conversion) Skip the command word: because DS18b20 is a single bus device, and a single bus can mount many devices, ROM is used to store the id number of the device. Delay 700~900ms and wait for the completion of temperature conversion Reset wri ...

Added by CGRRay on Thu, 27 Jan 2022 19:47:15 +0200

[timer series] stm32 HAL library realizes multi-channel acquisition with the same timer

catalogue background Implementation method development environment code implementation reference resources background When using STM32 for project development, two channels of input acquisition are required. At the beginning, using different timers for acquisition can meet the requirements. However, when a new demand comes, multiple PW ...

Added by Xyox on Wed, 26 Jan 2022 08:18:11 +0200

STM32 serial driver LCD12864 LCD program code

1. Brief introduction to LCD12864 display principle 1.1 brief introduction to liquid crystal principle In fact, the LCD screen is composed of pixels, and there are several pixels in each row and column. The data bit width (or pixel depth) occupied by each pixel is different for different types of screens. For example, for A true color screen, ...

Added by WLC135 on Wed, 26 Jan 2022 02:39:53 +0200

ESP32-C3 uses AsyncWebServer and HTTP client to realize dual computer communication

Because I just need to use dual computer communication to do my homework. By the way, I have found many methods on the Internet. I have tried to use Bluetooth communication, but I can only send strings (my personal ability can only reach this step, and I will further study Bluetooth communication later). The final implementation method is Async ...

Added by jharbin on Tue, 25 Jan 2022 22:26:55 +0200

[punctual atom MP157 serial] Chapter 15 FIFO experiment of IP core - extracted from [punctual atom] STM32MP1 embedded Linux Driver Development Guide v1 seven

1) Experimental platform: punctual atom STM32MP157 development board 2) Purchase link: https://item.taobao.com/item.htm?&id=629270721801 3) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-318813-1-1.html 4) Official station B of punctual atom: https://space.bilibili.com/394620890 5) Punc ...

Added by mcmuney on Tue, 25 Jan 2022 05:42:58 +0200

STM32CubeMX learning notes (39) -- FSMC interface use (TFT-LCD touch screen)

1, Introduction to TFT-LCD TFT-LCD (thin film transistor liquid crystal display) is a thin film transistor liquid crystal display. TFT-LCD is different from the simple matrix of passive TN-LCD and STN-LCD. It is equipped with a thin film transistor (TFT) on each pixel of the LCD, which can effectively overcome the crosstalk when it is not g ...

Added by TechXpert on Mon, 24 Jan 2022 00:19:32 +0200