Input subsystem

Previously, we introduced the concept of layering: we want to drive a device. We just need to write differentiated Code: 5. Hardware information, etc... Then other code: the kernel will do it for you: How does our kernel help you? How does it know how to apply for an equipment number? How do you know how to read and write information? Wait, wha ...

Posted on Thu, 23 Sep 2021 07:53:14 -0400 by redreset

Not bad. The implementation of multi-level menu is so simple!

abstract The product is user-oriented. Users only need functions and good interactive interface. Multi-level menu plays an important role in it. Limited keys realize complex interface and are linked layer by layer. The marking method is very difficult for menu management, and they will be dizzy if they have more... Here is a fairly good multi- ...

Posted on Sun, 19 Sep 2021 21:12:31 -0400 by Gonwee

ADC analog-to-digital conversion + experiment

ADC overview: Analog to digital converter. Refers to an Analog-to-Digital Converter or an Analog-to-Digital Converter. It refers to the device that converts the analog signal of continuous variable into discrete digital signal. A typical analog-to-digital converter converts an analog signal into a digital signal representing a certain proporti ...

Posted on Sun, 19 Sep 2021 20:03:44 -0400 by Nhoj

stm32f103c8t6 PWM output

preface First, let's understand the concept of PWM. PWM (Pulse Width Modulation) is Pulse Width Modulation. Put it here, simply put, is to use the single chip microcomputer to generate the square wave with specified duty cycle and specified frequency. For example, the MCU outputs a square wave with high level of 0.5s and low level of 0.5s. The ...

Posted on Sun, 19 Sep 2021 05:56:39 -0400 by Jeller

STM32CubeMX(06) STM32 controls different switches to achieve the electronic organ function.

Preface Today I want to learn how to control different switches with STM32 to realize the function of the electronic organ. Hardware: STM32ZET6 Software: keil 5 1. Experimental Contents To achieve the function of the electronic piano and control different switches, you can achieve different frequency audio output, and complete the p ...

Posted on Sat, 18 Sep 2021 22:19:48 -0400 by chixsilog

Single phase current controller

Single phase current controller preface In order to protect the load and system power supply, it is sometimes necessary to limit the load current. When the load current exceeds a certain value, disconnect the load for power supply, and then supply power after recovery. 1, Overview    For these products with s ...

Posted on Sat, 18 Sep 2021 11:37:52 -0400 by Chips

Platform device driver architecture - concept, platform bus, platform driver, platform device

Reference: I.MX6U embedded Linux Driver Development Guide of Zhengyuan Electronics 1. platform device driver architecture          Starting from Linux 2.6, Linux has added a set of driver management and registration mechanism - platform bus driver model. Platform bus is a virtual bus (only one), which h ...

Posted on Fri, 17 Sep 2021 11:25:46 -0400 by kevin1

STM32F429 Getting Started: RCC Clock Tree

RCC:reset clock control reset and clock controller. We use clock controller more often. I. The main function of RCC is the clock part. Set the system clock SYSCLK, set the AHB frequency dividing factor (determine how much HCLK equals), set the APB2 frequency dividing factor (determine how much PCLK2 equals), set the APB1 frequency dividing fa ...

Posted on Wed, 15 Sep 2021 13:29:30 -0400 by vb_123

Micro angle encoder: KYTB-1503-1024

Introduction: Through the test of KYTB angle encoder by ESP32, the basic functions of KYTB are preliminarily verified. Since the port interrupt of ESP32 has the maximum upper limit frequency, it is experimentally measured that this frequency is about 26kHz. Key words: angle encoder, KYTB, ESP32   § 01 angle encoder &emsp ...

Posted on Sun, 12 Sep 2021 21:10:35 -0400 by eazyefolife

FAL: Use of Flash abstraction layer

FAL: Use of Flash abstraction layer Start with a brief introduction to the website Official link: http://packages.rt-thread.org/detail.html?package=fal. FAL (Flash Abstraction Layer) Flash abstraction layer is the abstraction layer that manages and operates Flash and Flash-based partitions. It unifies Flash and the API for partition opera ...

Posted on Sun, 12 Sep 2021 14:15:47 -0400 by sigmon