The gentle Lori with a value of more than 100 million said to the small yard farmer, will ADC collect

How dare a small code farmer say he can't collect Analog quantity - > digital quantity (ADC module) Relationship between analog quantity and digital quantity of single chip microcomputer The CPU circuit of 5V single chip microcomputer is binary. In the operation process, there are only two kinds of voltages: high level 5V a ...

Posted by dinku33 on Sun, 21 Nov 2021 03:12:04 -0800

STM32 uses a timer channel to control any IO to output the same PWM wave

Abstract: this blog introduces a method that STM32 uses a timer channel to control any IO to output the same PWM wave. The hardware platform used in this paper is STM32F407VET6. The codes of other types of platforms may be different, but the principles are general. Implementation principle: we all know that STM32 can directly output PWM wa ...

Posted by zuperxtreme on Sat, 20 Nov 2021 18:45:47 -0800

STM32F103 completes the data acquisition of AHT20 temperature and humidity sensor based on I2C protocol

1, I2C bus communication protocol 1. Introduction to I2C bus I2C is the abbreviation of inter integrated circuit, which reads as I-squared-C. It was proposed by Philips in the 1980s and developed to allow motherboards, embedded systems or mobile phones to connect low-speed peripheral external devices. I2C bus is a bidirectional synchrono ...

Posted by atulkul on Sat, 20 Nov 2021 01:05:21 -0800

Some problems about stm32 driving matrix keyboard and the alternative method of matrix keyboard (Zhenxiang)

Some problems about stm32 driving matrix keyboard and alternative methods of matrix keyboard About matrix keyboard For general buttons, I generally prefer interrupt mode to trigger. One is to save the resources of single chip microcomputer without having to scan it back and forth. Second, the interrupt is very efficient and easy to handle. Bu ...

Posted by $phpNut on Fri, 19 Nov 2021 20:52:24 -0800

[C language] an easy-to-use circular queue and use example (AT framework taking EC200/600 as an example)

1. Preface Previous: https://blog.csdn.net/ylc0919/article/details/111050124 It's been ten months since I said I would send the second generation framework. It's hard to have time to summarize the harvest during this period. After writing the first generation AT queue, I have many ideas. For example, can one AT queue manage multiple AT mod ...

Posted by webtailor on Fri, 19 Nov 2021 12:14:48 -0800

Font reading and display of dot matrix Chinese characters and file transmission through serial port

1, Serial port transmission file 1. Serial port connection Cross connect the RXD and TXD pins of the two USB TO TTL serial ports, and connect the two USB interfaces to a laptop respectively to realize the serial port transmission between the two computers. Serial Interface is referred to as serial port for short. Serial Interface refers t ...

Posted by aunquarra on Wed, 17 Nov 2021 04:53:55 -0800

ADC acquisition experiment

catalogue Test requirements: Experimental equipment: Experimental ideas: Experimental steps: Summary: Program source code: Test requirements: Collect 50hz AC through stm32ADC and display it through serial port Experimental equipment: Wildfire stm32MINI series with stm32f103RC chip Experimental ideas: Trigger ADC through Tim (time ...

Posted by Randuin on Tue, 16 Nov 2021 18:48:13 -0800

LCD1602 displays temperature symbols based on Arduino

LCD1602 display is based on Arduino This article mainly introduces the Arduino control LCD1602 display, specific hardware knowledge, working principle and sequence diagram. Many great gods have analyzed it in detail on the Internet, such as Reference I https://blog.csdn.net/Lucifer_min/article/details/112133408 Reference II https://blog.csdn ...

Posted by skypilot on Tue, 16 Nov 2021 02:41:03 -0800

STM32F103 - timer encoder mode and advanced timer output complementary PWM signals

STM32F103 - timer encoder mode and advanced timer output complementary PWM signals When STM32 is just used, the encoder speed is calculated by using the input capture interrupt to obtain the motor speed. After a period of learning, it is found that the motor speed is obtained by using the input capture interrupt. When the motor speed is not hi ...

Posted by fred2k7 on Fri, 12 Nov 2021 14:59:58 -0800

stm32+TB6612 drive DC motor

         Because the single chip microcomputer can not directly drive the motor, it is necessary to add a motor drive module between them. The L298N motor drive module was used in the previous article. Now we recommend a new motor drive module. It is much easier to use than L298N, and it takes up a small ...

Posted by Walle on Fri, 12 Nov 2021 13:57:31 -0800