10 51 single chip microcomputer - using counter to measure NE555 pulse frequency
4.10 use the counter to measure the pulse frequency of NE555
4.10. 1 Introduction to schematic diagram
Figure 4-10-1
Figure 4-10-2
4.10. 2 introduction of counter mode of single chip microcomputer
Two 16 bit timers / counters t0 and T1 set inside STC90C51RC/RD + series single chip microcomputer have two working modes: counting mode an ...
Posted by Thoaren on Sun, 26 Dec 2021 10:55:10 +0100
STM32 AS608 optical fingerprint module driver (common to HAL library and standard library)
working principle:
If you want to look at the code directly, you can skip the principle, turn down directly, and then the code at the end AS608 mainly communicates through serial port 1. Buffer and fingerprint database The system is equipped with a 72K byte image buffer and two 512 bytes feature file buffers, named ImageBuffer, CharBuffer1 and ...
Posted by munuindra on Sun, 26 Dec 2021 01:51:31 +0100
4. ☛ electronic ringer based on STM32 √★☆
4, 💙💙 ☛ electronic ringer based on STM32 √★☆ 💙💙
Introduction
As a tool, the answerer has been widely used in various intelligence and knowledge contest occasions. However, the frequency of use of answering devices is low, and some of them are either complicated to make or have low reliability. As a unit, if you buy a responde ...
Posted by Dani34 on Sat, 25 Dec 2021 03:55:02 +0100
Master the principle of SD card protocol and complete the data reading of SD card with STM32F103 (fat file mode)
1, Principle of SD card protocol
1. Physical structure of SD card
General SD card includes five parts: storage unit, storage unit interface, power detection, card, interface controller and interface driver.
The storage unit is a storage data component, and the storage unit transmits data with the card control unit through the storage unit ...
Posted by njm on Fri, 24 Dec 2021 14:17:11 +0100
EXIT external interrupt configuration description
preface
This paper teaches you to use the external interrupt, connect the key to the IO port, and use the interrupt to control the internal program of the single chip microcomputer. Equipment used: STM32F407
1, Introduction to STM32F4 external interrupt
Each io of STM32F4 can be used as an interrupt input port for external interrupt. STM ...
Posted by tofi84 on Fri, 24 Dec 2021 03:40:18 +0100
Memory allocation of C program - Ubuntu and STM32
1, Memory allocation of C program
stack area It is automatically allocated and released by the compiler to store the parameter values of functions and the values of local variables. Its operation is similar to the stack in the data structure.heap Generally, it is allocated and released by the programmer. If the programmer does not release ...
Posted by f8ball on Thu, 23 Dec 2021 14:21:52 +0100
Display based on STM32F103+4PIN-OLED
preface
Use tools
Final effect and connection
code
KEIL document overview
critical code
oled. IIC pin definition in H
display string
Display number
display string
Display Chinese characters
Show BMP picture
Use of mold taking software
Software settings
Dynamic graph implementation
preface
Use tools
Punctual atom STM32F103RCTb ...
Posted by phpforme on Thu, 23 Dec 2021 12:04:53 +0100
Program source code sharing - PLC Experiment of STM32 (including DAC and ADC)
I. principle of PID algorithm
In industrial applications, PID and its derivative algorithms are one of the most widely used algorithms and are well deserved universal algorithms. If you can skillfully master the design and implementation process of PID algorithm, it should be enough for ordinary R & D personnel to deal with general R & ...
Posted by spfoonnewb on Thu, 23 Dec 2021 08:28:26 +0100
STM32 serial port transceiver function application [HAL version]
STM32 serial port data transceiver foundation - blocking and non blocking application understanding [HAL version]
Send data to serial port
Blocking transmission (recommended) Features: the program command sending service starts sending, and will accompany the sending service until all bytes are sent at one time. Or the timeout limit is rea ...
Posted by hasin on Thu, 23 Dec 2021 01:43:59 +0100
STM32 Configure SPI Read-Write SD Card in FATFS Mode with cube
Requirements: Master the principle of SD card protocol, complete the data reading of SD card with STM32F103 (FAT file mode)
1. SD card and FATS
1. SD card
(1) Introduction SD card (Secure Digital Memory Card) is very common in our life. Controllers usually have two communication interfaces to read and write SD card, one is SPI interfac ...
Posted by chingwaah on Wed, 22 Dec 2021 22:16:59 +0100