Essayer OR - Gratuit
Catching Lightning in an IMU
Circuit Cellar
|November 2024
Simulating Diffusion-Limited Aggregation with a Raspberry PI RP2040 MCU
A bolt of lightning flashes across the sky and scientists marvel at diffusionlimited aggregation, a process in which random moving particles join to form static clusters. Three Cornell University students, Angela, Nathaniel and William, use an RP2040 and an inertial measurement unit to build a cyclic DLA simulator to tap into technology's ability to shed insight on natural processes like the formation of lightning.
The formation of snowflakes, the growth of crystals, and the path taken by lightning are all examples of natural phenomena can be modeled by diffusion limited aggregation (DLA), the process by which particles undergo a random walk and cluster together. Inspired by technology's ability to help us better understand natural processes, we built an interactive, diffusion-limited aggregation simulator as our final project for Cornell University's Digital System Design using Microcontrollers class. We augmented with motion controls that enabled users to manipulate the behavior of our simulated particles.
What Is DLA? Diffusion-limited aggregation models systems in which particle transport occurs primarily through diffusion, and particles tend to cluster around a pre-existing aggregate. DLA can model systems such as dielectric discharge, mineral aggregation, and even snowflake formation, an example of which is shown on a frosty window in Figure 1.
DLA models diffusion by simulating Brownian motion of particles. In a given time step, particles move by an amount sampled from a random normal distribution. The equation for the probability distribution of a normal distribution is shown below, where depends on the time step and simulation parameters. The 0 in the exponent expresses the notion that a particle is equally likely to go in one direction as it is the other.
Cette histoire est tirée de l'édition November 2024 de Circuit Cellar.
Abonnez-vous à Magzter GOLD pour accéder à des milliers d'histoires premium sélectionnées et à plus de 9 000 magazines et journaux.
Déjà abonné ? Se connecter
PLUS D'HISTOIRES DE Circuit Cellar
Circuit Cellar
Mesh for Embedded Control
Mesh Networks Are Rewiring Embedded Systems
11 mins
March 2026
Circuit Cellar
A System That Detects, Tracks, and Deters Deer
Using Computer Vision, an Arduino, and a Raspberry Pi 5
14 mins
March 2026
Circuit Cellar
Analog Meets Digital
Part 4: Eliminating Mains Interference with an ADC
19 mins
March 2026
Circuit Cellar
Datasheet: Linux-Based SBCs
SBCs Running Linux Bring Enterprise Power to the Network's Edge
8 mins
March 2026
Circuit Cellar
Running Model Trains Without Human Input
A Raspberry Pi Pico Controls Two Trains
9 mins
March 2026
Circuit Cellar
Inside the Tech: E-Bikes Explained
The Future of Product Developement Nature
5 mins
March 2026
Circuit Cellar
Connector Requirements for High-Voltage Healthcare Applications
Simplifying Safety and Security
9 mins
March 2026
Circuit Cellar
PIC32CM PL10 MCUs Expand Microchip's ARM Cortex-MO+ Portfolio
Building on decades of experience, Microchip Technology has added PIC32CM PL10 MCUs to its PIC32C family of ARM Cortex-M0+ core devices. PL10 MCUs feature a rich set of Core Independent Peripherals (CIPs), 5V operation, touch capabilities, integrated toolsets and safety compliance.
1 mins
March 2026
Circuit Cellar
From Buffer Overflows to Control Flow Attacks
This article extends the January 2026 article by showing a buffer overflow attack that changes a return value. I also discuss the use of the GCC stack protection feature, and demonstrate that it's not always a bulletproof protection method, even if it is better than doing nothing.
7 mins
March 2026
Circuit Cellar
Another Matter-Enabled MCU: the ESP32-C6
The list of MCUs that support the Matter protocol continues to get longer. In this column, Brian goes in-depth on one of the newer Matter-enabled MCUs and shows just how it compares to some of the alternatives now on the market.
21 mins
March 2026
Listen
Translate
Change font size

