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.
This story is from the November 2024 edition of Circuit Cellar.
Subscribe to Magzter GOLD to access thousands of curated premium stories, and 10,000+ magazines and newspapers.
Already a subscriber? Sign In
MORE STORIES FROM Circuit Cellar
Circuit Cellar
The Future of Sensors in Safety Systems Sensing the Stop
How Magnetic Sensors Are Enabling the Next Generation of Braking Systems
5 mins
December 2025
Circuit Cellar
Alif Semiconductor Elevates Generative AI at the Edge with New Support for ExecuTorch Runtime in Its Ensemble MCUs
Alif Semiconductor, the leading global supplier of secure, connected, power efficient Artificial Intelligence and Machine Learning (AI/ML) microcontrollers (MCUs) and fusion processors, announced that developers can now use the ExecuTorch Runtime, a quantization extension of the popular PyTorch ML framework, for AI applications built to run on its Ensemble E4/E6/E8 series of MCUs and fusion processors.
1 min
December 2025
Circuit Cellar
Encrypted MQTT Protocol for Critical Sectors
Mechanisms, Challenges, and Best Practices
3 mins
December 2025
Circuit Cellar
Datasheet: Small Size, Big Power
Smaller Microcontrollers Bring New Possibilities
9 mins
December 2025
Circuit Cellar
Analog Devices Launches ADI Power Studio and New Web-Based Tools
Analog Devices, Inc. (ADI), a global semiconductor leader, announced the launch of ADI Power Studio, a comprehensive family of products that offers advanced modeling, component recommendations, and efficiency analysis with simulation.
1 mins
December 2025
Circuit Cellar
Compact IBR300 2.5" SBC Powered by NXP i.MX 93 from IBASE
IBASE Technology, Inc., a leading provider of rugged embedded computing platforms, announced the release of the IBR300, a 2.5\" RISC-based single board computer (SBC) powered by the NXP i.MX 93 processor with dualcore ARM Cortex-A55 (up to 1.7GHz) and a Cortex-M33 MCU.
1 min
December 2025
Circuit Cellar
Sensors in the Spotlight
The Next Decade of Embedded Sensor Systems
12 mins
December 2025
Circuit Cellar
Bob's Wrap Up
In Bob's last article with Circuit Cellar, he attempts to wrap up a career of more than 50 years as an embedded systems engineer and 14 years with Circuit Cellar. He looks at each of his 58 articles by category and provides some recommendations for his fellow engineers.
7 mins
December 2025
Circuit Cellar
Designing Embedded Software Architectures That Last
I've reviewed hundreds of firmware projects over the years, and one thing always stands out: the most successful projects have a clear, deliberate architecture.
10 mins
December 2025
Circuit Cellar
Broadcom Introduces Industry's First Wi-Fi 8 Silicon Ecosystem Powering the AI Era
Broadcom, Inc. unveiled the first Wi-Fi 8 silicon solutions for broadband wireless, targeting residential gateways, enterprise access points, and smart mobile clients.
1 mins
December 2025
Listen
Translate
Change font size

