Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

Detailed Explanation of Data, Xdata, and Code in 51 Microcontroller Programming

dATa: Fixed to the first 128 RAM addresses from 0x00 to 0x7F, can be directly read and written using ACC, fastest speed, and generates the smallest code. iDATa: Fixed to the first 256 RAM addresses from 0x00 to 0xFF, where the first 128 are identical to dATa, but accessed in a different way. iDATa is … Read more

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

Previously shared the article “What Features Were Updated in FreeRTOS V10.4.0?” and today we will elaborate on one of the knowledge points: FreeRTOS’s direct task (message) notification, aimed at reducing RAM usage and speeding up execution. 1. Introduction Almost all RTOS operating systems provide queue and semaphore functionalities, which are essential skills for most beginners. … Read more

Why Do Microcontrollers Have So Little RAM?

Why Do Microcontrollers Have So Little RAM?

You must be curious: mobile phone memory (RAM) often reaches 8G or 12G, but why do microcontrollers have less than 1M of RAM? To understand, the classic AT89C51 microcontroller has only 128 bytes of RAM (memory). Similarly, the classic MSP430F149 also has only 2K of RAM space. Even the STM32F1 series, which is commonly used … Read more

Hello, China: Developing for Chinese Smartwatch with C#

Hello, China: Developing for Chinese Smartwatch with C#

Previously, I wrote a few examples of how to use C# to write STM32 programs. Similarly, we can also use C# under ESP32, relying on the ever-growing .Net nanoFramework. Currently, it supports more and more development boards and chip types, and the related libraries are also increasing. The supported devices can fully support conventional application … Read more

Creating a Wake-On-LAN Device with .Net nanoFramework

Creating a Wake-On-LAN Device with .Net nanoFramework

This article will introduce how to create a wake-on-LAN device using ESP32 hardware and implement the WOL (Wake-on-LAN) function through .Net nanoFramework, sending WOL packets to wake up remote computers. 1. Background In previous articles, we introduced how to use libraries related to .Net nanoFramework to achieve various functions, such as reading sensor data, controlling … Read more

How to Understand Smartphone Specifications? Detailed Guide

How to Understand Smartphone Specifications? Detailed Guide

 Click on the image above Smartphone Knowledge Follow us! Sharing various practical tips for smartphones, ensuring safe and healthy usage. Nowadays, smartphones have penetrated every detail of our lives. Therefore, when purchasing a suitable smartphone, it is essential to understand the specifications and details. So, how to read smartphone specifications? Today, I will explain … Read more

My Experience Assembling a Computer from Scratch

My Experience Assembling a Computer from Scratch

Long Article, Many Images Warning!!! 8300 words in total, estimated reading time is 21 minutes. Last week, I assembled a desktop computer from scratch. Followed Follow Replay Share Like CloseWatch MoreMoreExit Full ScreenSwitch to Vertical Full ScreenExit Full ScreenMr. Xiao LiangFollowedShare Video, Duration00:53 0/0 00:00/00:53 Switch to Landscape Mode Continue PlayingProgress bar, 0 percentPlay00:00/00:5300:53Full Screen … Read more

RT-Thread Nano Learning Tutorial: A Comprehensive Video Guide

RT-Thread Nano Learning Tutorial: A Comprehensive Video Guide

RT-Thread Nano is a minimalist hard real-time kernel developed in C language, adopting object-oriented programming thinking, and has a good coding style. It is a scalable, preemptive real-time multitasking RTOS.It occupies very little memory resources and includes features such as task handling, software timers, semaphores, mailboxes, and relatively complete real-time operating system characteristics.It is suitable … Read more

Exploring NanoFramework: A C# Framework for Microcontrollers

Exploring NanoFramework: A C# Framework for Microcontrollers

If you are unfamiliar with NanoFramework, you can check out the following examples ![im https://cshark-hub.github.io/mako-iot/posts/waste-bins-calendar/ A very cool high-tech trash can project Introduction to NanoFramework NanoFramework is an open-source, cross-platform version of .NET, specifically designed for embedded systems and Internet of Things (IoT) devices. It allows developers to build embedded applications using .NET languages such … Read more

Essential Toolkit for Building an Excellent Embedded Software Framework

Essential Toolkit for Building an Excellent Embedded Software Framework

Click on the top “Embedded Application Research Institute“, select “Pin/Star the Official Account“ Useful resources delivered to you first! Source | Github Compilation & Layout | Embedded Application Research Institute Source: https://github.com/cproape/toolkit 1. Introduction ToolKit is a general-purpose toolkit for embedded systems, which can be flexibly applied to programs with or without RTOS, implemented with … Read more