Tagged articles
microcontroller
36 articles · Page 1 of 1
This article explains embedded systems as specialized computers embedded in devices like washing machines, cars, and smartwatches, covering their hardware components, software architectures, real-time requirements, development tools, and emerging edge AI applications.
IoTRTOSc-programming
0 likes · 11 min read


21CTOJul 30, 2026 · Artificial Intelligence
An eight‑year‑old Indian developer named Laksh created a fully offline, voice‑controlled AI storytelling device using an $8 ESP32‑S3 microcontroller, an INMP441 microphone, a MAX98357A amplifier, and the open‑source TinyStories LLM, demonstrating that small language models can run without cloud connectivity.
ESP32Open Source ModelTinyStories
0 likes · 5 min read

The article explains how MCUs focus on minimal, low‑power designs with limited resources, while SOCs integrate powerful CPUs, GPUs, and peripherals for full operating systems, and it guides selection based on performance, power, and cost with concrete product examples.
LinuxMCUReal-time
0 likes · 7 min read

This article explains what an MCU (Microcontroller Unit) is, details its hardware components such as CPU, memory and I/O ports, describes its instruction fetch‑decode‑execute cycle, and shows how MCUs serve as the processing hub, precise controller and communication bridge in embedded systems through concrete code examples.
I/O InterfacesMCUcommunication protocols
0 likes · 22 min read

An industrial study by STMicroelectronics and Inria shows that Rust firmware on an STM32U585 MCU uses 45% less RAM than equivalent C code while matching performance, incurs about 10% larger ROM, offers superior portability, and highlights safety benefits and remaining limitations.
Ariel OSEmbeddedRust
0 likes · 10 min read

A ten‑week side‑by‑side study by ST, Inria and university researchers shows that Rust firmware for an STM32U585 microcontroller uses 45 % less RAM than an equivalent C implementation while matching performance, highlighting Rust's zero‑heap model, portability advantages and the remaining limitations for low‑end MCUs.
Ariel OSC++Embedded Firmware
0 likes · 12 min read

The ESP32‑S31 is a new dual‑core RISC‑V wireless microcontroller from Espressif featuring a high‑performance core, low‑power core, 62 GPIO, gigabit Ethernet, Wi‑Fi, Bluetooth, 802.15.4, GPU, VPU and extensive peripherals, but it lacks some multimedia interfaces found in the ESP32‑P4, making its media capabilities more limited while still being possibly the most powerful ESP32 SoC released.
ESP32-S31EspressifRISC-V
0 likes · 3 min read

The article argues that beginners should skip exhaustive register manuals, use STM32's HAL library and CubeMX to quickly build functional projects, then deepen their understanding of registers only when performance or special needs arise, emphasizing practical experience over premature low‑level study.
CubeMXHALSTM32
0 likes · 5 min read

This tutorial walks through STM32's eight GPIO operating modes—four inputs and four outputs—detailing their electrical behavior, typical use cases, configuration steps, and providing complete HAL code examples to help embedded developers choose the right mode for reliable designs.
C++EmbeddedGPIO
0 likes · 16 min read

This article explains the fundamental concepts and step‑by‑step workflow of ADC conversion in embedded systems, covering sampling, hold, quantization, encoding, and output stages, and provides detailed STM32 HAL code examples along with tips for improving accuracy.
ADCAnalog-to-DigitalEmbedded
0 likes · 13 min read

This guide explains how to use a custom dynamic loader library on STM32 (Cortex‑M7) microcontrollers, covering project structure, installation steps, and runtime usage to load relocatable AXF files into RAM similarly to DLLs or shared objects.
C++Dynamic LoadingEmbedded
0 likes · 7 min read

This article curates a collection of popular open‑source microcontroller projects, covering practical software modules such as MultiButton, QueueForMcu, and StateMachine, complete hardware projects like TinyGameEngine and HomeAutomation, IoT platforms, creative gadgets, and debugging tools, each with repository links, feature highlights, usage examples, and code snippets.
C++EmbeddedIoT
0 likes · 13 min read

This article explains how to apply layered architecture and time‑slice (time‑slot) design in microcontroller programming, using a keypad‑scanning example to illustrate hardware, driver, and application layers, and shows how RTC‑based interrupts can manage multiple concurrent timers efficiently.
Embeddedc-programminglayered architecture
0 likes · 15 min read

This article explains how event‑driven programming and state‑machine concepts can be applied to microcontroller firmware, compares a simple flag‑based approach with a message‑queue solution, and presents a reusable GF1.0 framework that combines ISR, message buffering, and a main state machine for robust embedded systems.
Message Queueembedded systemsfirmware
0 likes · 32 min read

This article explains the purpose, operation modes, configuration parameters, and register-level setup of DMA in STM32 microcontrollers, illustrating how DMA offloads data transfers from the CPU, improves performance, and provides concrete code examples for UART and memory‑to‑memory transfers.
DMADirect Memory AccessPeripheral Programming
0 likes · 23 min read

This article introduces cJSON, a tiny open‑source C library designed for embedded systems, explains its core features, shows how to create, parse, and manipulate JSON data on microcontrollers, and provides practical code examples for configuration management, command handling, and data logging.
C libraryConfiguration ManagementJSON parsing
0 likes · 7 min read

This article introduces fourteen mainstream RTOS—including μClinux, μC/OS-II, eCos, FreeRTOS, mbed OS, RTX, VxWorks, QNX, NuttX, djyos, AliOS Things, Huawei LiteOS, RT-Thread, and SylixOS—detailing their characteristics, hardware requirements, strengths, and typical application scenarios for embedded development.
FreeRTOSIoTLinux
0 likes · 16 min read

This article explains a compact method for recording system logs on embedded devices with limited storage, detailing flash memory partitioning, data structures, parameter handling, and a set of AT‑style commands for querying, writing, and managing logs in external flash.
Flash Memorymicrocontrollersystem logging
0 likes · 24 min read

This article explains how MicroPython, a lightweight Python 3 implementation, enables programming on microcontrollers with limited resources, outlines hardware requirements, showcases example I2C code, and discusses its growing ecosystem alongside traditional C development.
EmbeddedIoTMicroPython
0 likes · 4 min read

This article details how a developer rebuilt the original Macintosh 128K using a low‑cost RP2040 microcontroller, covering the hardware design for VGA output, the software stack built around the Musashi 68‑bit emulator, performance‑tuning tricks, and the remaining limitations such as running MacPaint.
EmulationMacintoshRP2040
0 likes · 22 min read

This guide explains why embedded development seems difficult and provides a systematic approach to reproducing, locating, analyzing, and resolving typical embedded problems—including simulation conditions, log printing, online debugging, version rollback, binary search commenting, register snapshots, stack overflow, and hardware quirks—plus regression testing and experience summary.
Embeddeddebuggingfirmware
0 likes · 11 min read

An extensive guide covering MCU fundamentals, from its definition and rapid historical evolution, through classification, core functions, leading manufacturers, practical learning strategies, typical program architecture, and detailed C code examples, offering engineers essential knowledge for effective microcontroller development and application.
MCUelectronicsembedded systems
0 likes · 38 min read

In embedded systems, when an interrupt service routine takes too long, rapid successive interrupts can be lost, prompting questions about hardware flag buffering, software alternatives, and practical techniques to emulate a small interrupt cache without sacrificing real‑time responsiveness.
BufferingISRReal-time
0 likes · 5 min read

The article warns that overusing global variables in os‑less embedded C projects creates tangled code, blurs system layers, and leads to maintenance nightmares, then offers two core principles and practical tips to limit, encapsulate, and manage globals for more reliable firmware.
Best Practicesembedded Cglobal variables
0 likes · 7 min read

This article explains PWM fundamentals, compares several output methods ranging from blocking loops to hardware timer generation, and provides complete STM32F1 example code—including macro definitions, timer configuration, output functions, and practical tips on pin mapping and precision.
PWMSTM32Timer
0 likes · 8 min read

This step‑by‑step guide walks you through preparing the Java runtime, installing STM32CubeMX, configuring clocks, GPIOs, and core settings, and finally generating and flashing code for a blinking‑LED demo on an STM32F103 board, while highlighting best practices for beginners.
CubeMXLEDSTM32
0 likes · 9 min read

This article shares a comprehensive embedded software interview guide, covering written‑test topics such as structs vs. unions, linked lists, pointer safety, endianness detection, and a strcpy implementation, followed by technical interview tips, HR interview advice, and concluding remarks.
C++Linuxdata structures
0 likes · 22 min read

This article explains why a solid program architecture is essential for embedded projects, introduces a lightweight time‑slice scheduling framework that separates OS logic from user code, and provides complete C source files—including an intrusive doubly‑linked list implementation—to help developers quickly create and manage tasks on a microcontroller.
C++Intrusive Linked ListTime Slice Scheduling
0 likes · 11 min read

This article provides an overview of popular embedded GUI libraries—including LVGL, TouchGFX, Embedded Wizard, emWin, Qt for MCU, Crack Storyboard, Altia, μGFX, ThreadX GUIX and LLGUI—detailing their key features, supported hardware, licensing models and example screenshots to help developers choose the right solution for their microcontroller projects.
LVGLQt for MCUTouchGFX
0 likes · 12 min read

This article explains the principles of event‑driven programming and state‑machine design for microcontrollers, compares them with interrupt handling, introduces a message‑based architecture with concrete data structures and APIs, and shows how to build a reusable framework that solves ordering and loss problems in embedded applications.
ISRembedded systemsevent-driven
0 likes · 33 min read

In bare‑metal embedded systems without an RTOS, the fate of a program after the C main() function returns varies by compiler, and understanding the startup code and post‑main behavior explains why LEDs may flicker or why an infinite loop is often required.
c-programmingembedded systemsmain function
0 likes · 6 min read

Raspberry Pi is a compact, low‑cost micro‑computer ideal for learning programming and IoT, and this guide explains its basics, how to program it with Python—including a LED‑blinking example using RPi.GPIO—and outlines the step‑by‑step installation process on an SD card.
GPIOIoTLED
0 likes · 6 min read

This article explains the principles, transfer modes, parameters, features, and register configuration of Direct Memory Access (DMA) in STM32 microcontrollers, illustrating how DMA offloads data movement from the CPU, improves performance, and integrates with peripherals, memory, and interrupt handling.
DMADirect Memory AccessInterrupt
0 likes · 16 min read

The award‑winning ‘Hello‑IoT Creative Desktop Ornament’ demonstrates how TencentOS tiny and the Tencent Cloud IoT Explorer, combined with a Wi‑Fi‑enabled STM32‑based device and a WeChat Mini‑Program, enable rapid, low‑cost development of a customizable, remotely controllable desktop accessory.
IoTIoT ExplorerWeChat Mini-Program
0 likes · 11 min read

This article traces the origins of ARM from its 1978 founding, outlines the evolution of its classic and Cortex processor families, and explains the distinctions among application, real‑time, and microcontroller processors, providing a concise overview of ARM’s product classifications.
ARMCortexmicrocontroller
0 likes · 11 min read


ITPUBAug 19, 2016 · Fundamentals
This article explains STM32's 43 interrupt channels and how the AIRC register's 4-bit priority fields are divided into pre‑emptive and sub‑priority groups, illustrating each NVIC_PriorityGroup setting with concrete code examples and step‑by‑step configuration instructions.
EmbeddedInterruptPriorityNVIC
0 likes · 9 min read
