STM32 development of OLED data display based on SPI interface

1, SPI introduction SPI is the abbreviation of English Serial Peripheral interface. As the name suggests, it is the Serial Peripheral interface. It was first defined by Motorola on its MC68HCXX series processors. SPI interface is mainly used between EEPROM, FLASH, real-time clock, AD converter, digital signal processor and digital signal d ...

Posted by -twenty on Wed, 24 Nov 2021 20:40:36 +0100

Data acquisition of AHT20 temperature and humidity sensor based on I2C protocol (serial output)

1, I2C bus communication protocol 1.I2C protocol I2C (inter integrated circuit), an integrated circuit bus, is a serial communication bus. It uses a multi master-slave architecture. It was designed by Philips in the early 1980s to facilitate the communication between the motherboard, embedded system or mobile phone and peripheral equipment co ...

Posted by simcoweb on Tue, 23 Nov 2021 21:27:44 +0100

5 51 single chip microcomputer-DS18B20 temperature sensor

4.5 DS18B20 temperature sensor 4.5.1 introduction to schematic diagram Figure 4-5-1   Figure 4-5-2 The DS18B20 module on the experimental board is connected to P3.5 of MCU   On the IO port, when inserting the DS18B20 chip, the arc is inserted upward. See the above picture for the specific effect. 4.5.2 introduction to DS18B20 ...

Posted by numan82 on Mon, 22 Nov 2021 17:40:19 +0100

The OLED screen based on STM32 displays the temperature and humidity data collected by AHT20

Tools used in this experiment: STM32 wildfire mini development board, AHT20 temperature and humidity sensor, 0.96 inch OLED display 1, Realize temperature and humidity data acquisition and display through serial port Objective: to check whether the temperature and humidity acquisition of AHT20 sensor can be realized Please re ...

Posted by Cagecrawler on Sat, 20 Nov 2021 23:54:11 +0100

UCOSIII semaphores and mutually exclusive semaphores

1. UCOSIII semaphore 1.1 introduction to semaphore: The semaphore is like a locking mechanism. The code can continue to execute only after obtaining the corresponding key. Once the key is obtained, it means that the task has the permission to enter the locked part of the code. Once executed to the locked code segment, the task waits until the ...

Posted by titangf on Sat, 20 Nov 2021 04:46:10 +0100

Font reading and display of dot matrix Chinese characters

1, Chinese character coding rules 1) Location code It is stipulated in the national standard GD2312-80 that all national standard Chinese characters and symbols are allocated in a square matrix with 94 rows and 94 columns. Each row of the square matrix is called an "area", numbered from 01 to 94, and each column is called a &quo ...

Posted by poe on Fri, 19 Nov 2021 02:06:57 +0100

Font reading and display of dot matrix Chinese characters using OpenCV under Ubuntu

1, Lattice font principle 1. Chinese character coding 1.1 location code The national standard GD2312-80 stipulates that all national standard Chinese characters and symbols are allocated in a square matrix with 94 rows and 94 columns. Each row of the square matrix is called an "area", numbered from 01 to 94, and each column is call ...

Posted by hendoyeah on Tue, 16 Nov 2021 14:02:56 +0100

6, [intermediate level] watch dog

1. Use environment of watchdog In the industrial working environment, the equipment often faces some harsh environments, such as ultra-high temperature and ultra-low temperature strong electromagnetic interference. These environments will affect the normal operation of the equipment, cause the equipment to crash, and the programs running i ...

Posted by luketheduck on Sat, 13 Nov 2021 02:22:10 +0100

2021-11-12 stm32ll Library Series tutorial [3] - ADC single channel acquisition

Development board: Wildfire domineering V1 Chip: stm32f103ZET6 ADC: 1 CHANNEL: 11 GPIO: PC1 To create a new project 1. Open STM32CubeMx software 2. Select chip model: stm32f103ZETx 3. Configure project properties 4. Confirm clock source 5. Configure system clock 6. Open channel 11 of ADC1 7. Configuration structure typedef struct { ...

Posted by bouba on Fri, 12 Nov 2021 16:20:42 +0100

Communication learning between openmv and stm32 (digital recognition)

Premise: software installation and learning video explanation When we use the neural network in openmv, there is no nn library for you to call in the new version. It needs to be in the old version. Baidu cloud link: https://pan.baidu.com/s/1bgLiLMxyqqL9X3h5dN8cZA   Extraction code: behn   (can you praise this alone) The basic and u ...

Posted by lunas on Thu, 11 Nov 2021 04:01:39 +0100