python common modules (continuous update)

Serial port class Two ttl modules are used on win computer You can see the information of another serial port when inserting. The other serial port I see here is COM11 You need to install the serial port tool in advance. Here I choose the conda environment, so I just switch to the virtual environment, and then install pip Let's start wi ...

Posted by scraff on Wed, 12 Jan 2022 12:27:57 +0100

STM32F407ZE realizes Multi-sensor Detection and data upload to oneNet based on RT thread and ZigBee

1, RT thread 1. Introduction RT thread nano is a minimalist version of hard real-time kernel. It is developed by C language, adopts object-oriented programming thinking, and has a good code style. It is a tailorable, preemptive real-time multitasking RTOS. Its memory resources are very small, and its functions include relatively complete ...

Posted by believer on Wed, 12 Jan 2022 10:18:23 +0100

LPIT overview of NXP S32K1 Timer

summary S32K1 has rich Timer resources. Today, we start with the simplest LPIT. LPIT: low power periodic interrupt timer. LPIT is a periodic interrupt timer with multiple timer channels. When a timer reaches the programmed count value, the corresponding channel will generate pre trigger and trigger output signals, which can trigger other modu ...

Posted by chakhar86 on Mon, 10 Jan 2022 12:41:43 +0100

04_ Writing OLED driver based on wiringPi

Purpose: Familiar with the use of the IIC interface of raspberry pie through the screen display case of OLED. catalogue 1. Basic knowledge 1.1 introduction to OLED 1.2 OLED initialization 1.3 OLED display 1.3.1 page addressing mode 1.3.2 horizontal addressing mode 1.3.3 vertical addressing mode 1.4 interface usage of IIC on raspber ...

Posted by christophe on Mon, 10 Jan 2022 03:32:32 +0100

NXP S32K1 DMA module Driver

summary By analyzing the official S32SDK of NXP S32K1, this paper analyzes its DMA code, so as to better use DMA in the future. virtual channel In MCU, there may be 1- multiple DMA instances, and each instance has several different numbers of DMA channels. Therefore, the concept of virtual channel is introduced into the DRV of S32SDK to ...

Posted by alexville on Thu, 06 Jan 2022 13:18:28 +0100

Smart car experience sharing - Electromagnetic Ring

This article can be regarded as an end to the smart car. Later, we'll see if we can share other things. It's a little lazy. At first, we thought about whether we can be Zhou Geng, and finally it became Nian Geng. hhh, I don't know whether the things mentioned before have helped you. The electromagnetic loop is divided into several parts. First ...

Posted by ninevolt1 on Thu, 06 Jan 2022 12:54:50 +0100

Blue Bridge Cup MCU learning notes updated on January 6, 2022

About the program I wrote, there's nothing to upload I've been taking notes with txt before, but later I thought of writing it on csdn because there was too much code The following is the text, in no order, where you want to write. Some basic -In the 138 decoder, the first three bits represent 5, 6 and 7 P2=0xA0 corresponds to 1010 0000, th ...

Posted by ThEoNeTrUeAcE on Thu, 06 Jan 2022 06:32:13 +0100

STM32MP157 experiment DMA (Memory To Memory)

Design requirements Use DMA to move data from memory A to memory B 1, Basic knowledge DMA (Direct Memory Access) Direct Memory Access can greatly reduce the workload of CPU. The CPU executes instructions according to the content of the code. Among these instructions, there are instructions for calculation, control program and data tr ...

Posted by tim_ver on Wed, 05 Jan 2022 16:12:10 +0100

STM32 - understanding the clock system

preface Clock system is an essential part of MCU. This paper will discuss the following problems: What is a clock?How to understand the STM32 clock structure?Why does MCU have multiple clock sources?How does STM32 configure the clock? catalogue 1, Clock introduction 2, STM32 clock tree 2.1 STM32F10X clock source 2.2 system clock 3, ...

Posted by TheSeeker on Wed, 05 Jan 2022 13:20:25 +0100

MSP430FR6989 series tutorial LCD

MSP430FR6989 series tutorial LCD Since MSP430 pursues the characteristics of low power consumption, the LCD mounted on MSP430FR6989 is not our usual LCD display (TFT LCD), but a segment LCD MSP430FR6989 series tutorial water lamp MSP430FR6989 series tutorial serial communication MSP430FR6989 series tutorial timer MSP430FR6989 series tutor ...

Posted by pedro84 on Wed, 05 Jan 2022 08:38:11 +0100