Skip to main content

Posts

Showing posts from August, 2026

How a 28.9-Million-Parameter LLM Runs on an ESP32-S3: The Memory Trick That Changes Edge AI

Running a 28.9-Million-Parameter Language Model on an ESP32-S3 How a 28.9-Million-Parameter Language Model Runs on an ESP32-S3 Running a transformer language model directly on a microcontroller is normally constrained not only by computational throughput, but more fundamentally by the amount of fast memory available to hold model parameters, activations, temporary buffers and the attention state. A project published in July 2026 demonstrated a different approach: a 28.9-million-parameter language model running entirely on an ESP32-S3 , generating approximately 9.5 tokens/s end-to-end . The result is not based on fitting the complete model into SRAM. Instead, it relies on a deliberate decomposition of the model across the device's memory hierarchy, with a large Per-Layer Embedding (PLE) table retained in flash and only the computationally active portion of the model kept in fast memory. This result deserves a...

Mastering the Voltage Divider Circuit: Practical Exercise with Step-by-Step Solution

Whether you are designing an Arduino project, interfacing sensors, or stepping down voltage signals, the voltage divider is one of the most fundamental circuits every electronics enthusiast and engineer must master. In this post, we will break down the core theory, work through a practical exercise, and solve it step-by-step with clear equations. What is a Voltage Divider? A voltage divider is a simple passive linear circuit that converts a higher voltage into a lower one using two resistors in series. The output voltage ( V out ) depends on the input voltage ( V in ) and the ratio of the two resistors ( R 1 and R 2 ). The fundamental voltage divider equation is: V out = V in × [ R 2 / (R 1 + R 2 ) ] The Exercise Problem Scenario: You want to measure the voltage of a 12V battery using a microcontroller analog input pin (such as an Arduino ADC). However, the microcontroller pin can only handle a maximum voltage of 5V . Given Parameters: Input Voltage ( V in ) = 12 V Target Output...