Facebook Pixel Catching Lightning in an IMU | Circuit Cellar - education - Lisez cet article sur Magzter.com
Passez à l'illimité avec Magzter GOLD

Passez à l'illimité avec Magzter GOLD

Obtenez un accès illimité à plus de 9 000 magazines, journaux et articles Premium pour seulement

$149.99
 
$74.99/Année

Essayer OR - Gratuit

Catching Lightning in an IMU

Circuit Cellar

|

November 2024

Simulating Diffusion-Limited Aggregation with a Raspberry PI RP2040 MCU

- Angela Cui, Nathaniel Navarro, William Yoon

Catching Lightning in an IMU

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.

PLUS D'HISTOIRES DE Circuit Cellar

Circuit Cellar

Circuit Cellar

Mesh for Embedded Control

Mesh Networks Are Rewiring Embedded Systems

time to read

11 mins

March 2026

Circuit Cellar

Circuit Cellar

A System That Detects, Tracks, and Deters Deer

Using Computer Vision, an Arduino, and a Raspberry Pi 5

time to read

14 mins

March 2026

Circuit Cellar

Circuit Cellar

Analog Meets Digital

Part 4: Eliminating Mains Interference with an ADC

time to read

19 mins

March 2026

Circuit Cellar

Circuit Cellar

Datasheet: Linux-Based SBCs

SBCs Running Linux Bring Enterprise Power to the Network's Edge

time to read

8 mins

March 2026

Circuit Cellar

Circuit Cellar

Running Model Trains Without Human Input

A Raspberry Pi Pico Controls Two Trains

time to read

9 mins

March 2026

Circuit Cellar

Circuit Cellar

Inside the Tech: E-Bikes Explained

The Future of Product Developement Nature

time to read

5 mins

March 2026

Circuit Cellar

Circuit Cellar

Connector Requirements for High-Voltage Healthcare Applications

Simplifying Safety and Security

time to read

9 mins

March 2026

Circuit Cellar

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.

time to read

1 mins

March 2026

Circuit Cellar

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.

time to read

7 mins

March 2026

Circuit Cellar

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.

time to read

21 mins

March 2026

Listen

Translate

Share

-
+

Change font size