Temperature and humidity display of OLED based on stm32

1, SPI   1. Introduction SPI (Serial Peripheral Interface) is a synchronous serial data transmission standard proposed by Motorola Company. It is a high-speed, full duplex and synchronous communication bus, which is widely used in many devices. 2.SPI interface SPI interface is often called 4-wire serial bus, which works in master / slave m ...

Posted by Balmung-San on Tue, 30 Nov 2021 19:08:34 +0100

651 single chip microcomputer EEPROM memory chip (AT24C02)

4.6 EEPROM memory chip (AT24C02) 4.6.1 introduction to schematic diagram Figure 4-6-1 Figure 4-6-2 The EEPROM model on the experimental board is AT24C02N, and the communication interface is IIC, which is connected to P2.1(SCL) and P2.2(SDA) ports of single chip microcomputer. AT24C02 is a 2kbit (256 byte) EEPROM. The schematic diagr ...

Posted by pete07920 on Tue, 30 Nov 2021 15:19:30 +0100

FreeRTOS semaphore --- binary semaphore

Semaphores can be used for resource management and task synchronization. Semaphores in FreeRTOS are divided into binary semaphores, computational semaphores, mutually exclusive semaphores and recursive mutually exclusive semaphores. 0x01 binary semaphore Binary semaphore is actually a queue with only one queue item. This special queue is eith ...

Posted by Saethyr on Fri, 26 Nov 2021 13:09:45 +0100

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

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

Using wireshark to capture chat information and get started with Crawlers

1. Chat preparation      1. Turn off your computer's firewall      2. Turn off unnecessary virtual networks and other unnecessary Ethernet, leaving only a network chat channel      3. Connect two computers to the same mobile hotspot and open the crazy chat program 2 chat a ...

Posted by fiddlehead_cons on Sat, 20 Nov 2021 20:59:04 +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

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