MCU in Embedded Development – Task Management in FreeRTOS

MCU in Embedded Development - Task Management in FreeRTOS

Continuing from the previous article, we have already learned about the porting and startup process of FreeRTOS. Today, we will continue to study the task management part of FreeRTOS, starting with understanding what a task is. 1. Task 1.1 Introduction to Tasks (1) In bare-metal systems, we generally use a front-and-back system for development. If … Read more

51 Microcontroller Hardware System

51 Microcontroller Hardware System

51 Microcontroller Hardware System The 51 microcontroller (such as the Intel 8051 series and its derivatives) is a classic8bit microcontroller widely used in embedded system development. 1.Central Processing Unit (CPU) Architecture: Based on an8bitCISC (Complex Instruction Set) architecture, with the core being theMCS51 instruction set. Functional Modules: Arithmetic Logic Unit (ALU): Performs arithmetic and logical … Read more

Using the RK3588 Chip NPU: Compiling YOLOv8-Pose C Demo in Windows 11 Docker and Running on Development Board

Using the RK3588 Chip NPU: Compiling YOLOv8-Pose C Demo in Windows 11 Docker and Running on Development Board

The Objective of This Article This article will compile the YOLOv8-Pose C Demo in the RKNN Docker environment and deploy it to the RK3588 development board using the adb tool. Development Environment Description Host System: Windows 11 Target Device: Android development board equipped with the RK3588 chip Core Tools: Docker image containing rknn-toolkit2, rknn_model_zoo, and … Read more

STM32 Microcontroller #12 SPI Communication (Software Read/Write)

STM32 Microcontroller #12 SPI Communication (Software Read/Write)

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner Tutorial – 2023 Edition Detailed Explanation with Chinese Subtitles Development material download link: https://pan.baidu.com/s/1h_UjuQKDX9IpP-U1Effbsw?pwd=dspb Microcontroller kit: STM32F103C8T6 development board microcontroller C6T6 core board experimental board minimum system board kit (available for purchase at the end of the article) SPI Communication • SPI (Serial Peripheral Interface) is … Read more

Getting Started with Embedded STM32: Downloading, Installing, and Registering Keil5 MDK

Getting Started with Embedded STM32: Downloading, Installing, and Registering Keil5 MDK

Click the blue text above tofollow us 1. Downloading and Installing Keil5 MDK 1. Obtain the installation package Reply with (Keil) to our public account to get the download link⤵️! 2. Install MDK5.41 Right-click to run the file framed in the image as an administrator Fill in the information as desired After the installation is … Read more

Practical Development of MQTT on Android

Practical Development of MQTT on Android

Click the blue text Follow us 1. Core Analysis of MQTT Protocol (1) Essential Characteristics of Lightweight Communication Protocols MQTT (Message Queuing Telemetry Transport) is a “lightweight” communication protocol based on the publish/subscribe model, built on top of the TCP/IP protocol. Its greatest advantage is that it can provide real-time and reliable messaging services for … Read more

Stop Using Random Strings! Generate Unique IDs with Python’s UUID – System-Wide Uniqueness for Large Projects!

Stop Using Random Strings! Generate Unique IDs with Python's UUID - System-Wide Uniqueness for Large Projects!

😩 Have you encountered these issues? Writing scripts to temporarily save data, worried about filename duplication? Need to generate a unique ID for user registration, but handwritten logic is long and clunky? Want to assign a unique number to each task, but afraid of conflicts? Stop using <span>time.time()</span> and <span>random.randint()</span> to concatenate strings! Python has … Read more

Rewriting Solaris Command in Python Reduced Code by 90% and Improved Performance by 17 Times

Rewriting Solaris Command in Python Reduced Code by 90% and Improved Performance by 17 Times

Author: Darren Moffat Translator: Xia Ye Editor: Tian Xiaoxu In the /usr/bin/listusers command, I fixed a memory allocation error that caused issues when the command was converted to 64-bit. After fixing this error, I decided to investigate whether this ancient C code could be improved by converting it to a Python implementation. This C code … Read more

Open Source GUI Framework Based on C Language: Powerful, Efficient, Reliable, and Easy to Use

Open Source GUI Framework Based on C Language: Powerful, Efficient, Reliable, and Easy to Use

Yifei Open Source introduces creative, novel, interesting, practical open-source applications, systems, software, hardware, and technologies, serving as a platform for exploration, discovery, sharing, usage, and interaction within the open-source technology community. Committed to building a vibrant open-source community and co-creating a new open-source ecosystem! 1. Introduction to the Open Source Project AWTK, short for Toolkit … Read more