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.

Esta historia es de la edición November 2024 de Circuit Cellar.

Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.

Esta historia es de la edición November 2024 de Circuit Cellar.

Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.

MÁS HISTORIAS DE CIRCUIT CELLARVer todo
Catching Lightning in an IMU
Circuit Cellar

Catching Lightning in an IMU

Simulating Diffusion-Limited Aggregation with a Raspberry PI RP2040 MCU

time-read
10+ minutos  |
November 2024
Build an Interactive Kinetic Wall
Circuit Cellar

Build an Interactive Kinetic Wall

Using a Raspberry Pi 4 and Kinect V1 Camera

time-read
10 minutos  |
October 2024
Learn to Program MCUs with uLISP
Circuit Cellar

Learn to Program MCUs with uLISP

Part 1: Crash Course Offers Insight Into Pioneering Language

time-read
10+ minutos  |
October 2024
Intelligent Automotive Battery Sensor
Circuit Cellar

Intelligent Automotive Battery Sensor

Shunt Resistors and Evaluation Electronics Offer Two Key Components

time-read
4 minutos  |
October 2024
Understanding Mesh Circuits How to Use and Calculate Them
Circuit Cellar

Understanding Mesh Circuits How to Use and Calculate Them

Microcontrollers and other digital systems concern mostly ones and zeros but when connections to the real word are needed it can get messy. Stuart writes about mesh analysis and how mesh circuits can be calculated and applied in practical scenarios.

time-read
10+ minutos  |
October 2024
Datasheet: Very Cool Micro Machines
Circuit Cellar

Datasheet: Very Cool Micro Machines

Smartphone Cooling Rounds Out Parade of Advanced MEMS

time-read
2 minutos  |
October 2024
Improving Patient Outcomes
Circuit Cellar

Improving Patient Outcomes

Device Technology Advances Medical Practices

time-read
10+ minutos  |
October 2024
Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing
Circuit Cellar

Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing

GPU silicon and cloud computing infrastructure are too costly for mass markets devices like refrigerators and washers. By deploying compute resources only to the necessary parts of AI inference, Sparse AI allows product designers to practically incorporate new AI features like natural voice interfaces into their consumer offerings without breaking the bank or electric bill surprises.

time-read
5 minutos  |
September 2024
Thin Film Transistor LED Displays - Visual I/O
Circuit Cellar

Thin Film Transistor LED Displays - Visual I/O

To add a resistive touchscreen on top of a TFT display, Jeff explores the technology offerings and libraries needed to accomplish his task. Calibrating the touchscreen's computed coordinates with the actual pixel coordinates of the display proved difficult with a modular framework but separating functions allows easy expansion.

time-read
9 minutos  |
September 2024
Mobile APP Development with React Native
Circuit Cellar

Mobile APP Development with React Native

This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.

time-read
9 minutos  |
September 2024