Advanced STM32: Implementing Circular Buffer for UART

Advanced STM32: Implementing Circular Buffer for UART

The Concept of Queue Before we start, let’s review the basic concept of a queue: Queue: A linear structure that follows the First In First Out (FIFO) principle, allowing insertion at one end (enqueue) and deletion at the other end (dequeue). Characteristics of a Queue Similar to a ticket queue, the first person to arrive … Read more

Practical Knowledge of JSON Data in Embedded Systems

Practical Knowledge of JSON Data in Embedded Systems

JSON (JavaScript Object Notation) is a lightweight data interchange format. JSON is widely used in internet-related development, and it is also quite common in embedded systems. Recently, I used it in a project, and I would like to share my experience. An example of a simple JSON formatted data is as follows: { "name": "xxx", … Read more

Data Structures Commonly Used in Embedded Application Development

Data Structures Commonly Used in Embedded Application Development

来源 | 吃时间的虫子TK Software engineers typically need to determine which data structures and algorithms to use based on specific application business logic. It can be said that suitable data structures and algorithms are the cornerstone of stable business software operation. If you are a software engineer, whether you are preparing for coding interviews, optimizing your … Read more

Enabling Python Features in Microbit MakeCode

Enabling Python Features in Microbit MakeCode

In the latest update of Microbit MakeCode, the Python feature has been enabled. This means that when using MakeCode, we can also use Python programming just like in the Maker version of MakeCode, making MakeCode a versatile programming platform. First, open the beta version of MakeCode in your browser (the Python feature is currently in … Read more

Introduction to Micro:bit Particle Creation – What Makes Our Machines ‘Alive’?

Introduction to Micro:bit Particle Creation - What Makes Our Machines 'Alive'?

“Introduction to Micro:bit Particle Creation” is a beginner’s tutorial combining micro:bit with BOSON, suitable for beginners who are new to micro:bit and programming. By following this tutorial, learners will start with a simple blinking LED project and gradually understand the principles of makecode programming and the workings of BOSON modules, ultimately achieving advanced features such … Read more

Getting Started with Micro:bit: Value Sequences and Mini Games

Getting Started with Micro:bit: Value Sequences and Mini Games

Micro:bit, as the most popular microcontroller board in China today, has captured the hearts of many young people and teachers. Its high-tech features have been fully explored by enthusiasts, and it truly lives up to the phrase “value for money”! First, there is the online programming version provided by the official website, which greatly facilitates … Read more

Three Innovative Ideas to Break Through micro:bit Case Design

Three Innovative Ideas to Break Through micro:bit Case Design

Click the aboveTechnology Classroomto subscribe for the latest technology education information Just starting out as a beginner teacher and want to make a big impression? Is your teaching content repetitive, leaving students disinterested? About to participate in a competition but lack creative ideas? At critical moments, you need to learn from the creative and unconventional … Read more

Microbit Programming: Simple AI for Game Playing

Microbit Programming: Simple AI for Game Playing

Last week, we wrote our first game on Microbit: Catching Apples. My two sons loved playing it, competing for the highest score, which seems to be capped at 35 points. The code for the Catching Apples game and the Microbit simulator: https://makecode.microbit.org/_DV93uT7i0WuK Is there a limit? Even if we react quickly enough and make no … Read more