Simulated LED Sand Physics!

These LEDs interact with motion and looks like they’re affect by gravity. An Adafruit LED matrix displays the LEDs as little grains of sand which are driven by sampling an accelerometer with Raspberry Pi Zero!

The 3D Printed handles make it easy to hold the 64x64 LED Matrix and the two buttons make it easy to switch modes or reset simulations!

The code, written by Phillip Burgess, simulates physics by calculating collisions and terminal velocity.

Prerequisite Guides


I suggest walking through the following guides to get a better understanding of the electronics.



14 x M2.5x5mm Screws
M2.5x5mm Screws
4 x M3x5mm Screws
M3x5mm Screws
WARNING - The hole spacing on the 64x64 2.5mm pitch matrix (PID 3649) has changed. Currently, the 3D parts DO NOT match this new spacing.
Video of two hands flipping over a powered on 64x64 RGB LED Matrix. The matrix display has a falling colored sand effect.
Winter time can be rough in the city. The sky is gray. The weather is unpredictable. So slough off those seasonal blues with some Times Square razzle dazzle from this...
Out of Stock
Still image of a Adafruit RGB Matrix Bonnet powering a Matrix.
You can now create a dazzling display with your Raspberry Pi with the Adafruit RGB Matrix Bonnet. These boards plug into your Pi and make it...
In Stock

This guide was first published on Feb 28, 2018. It was last updated on 2021-03-25 12:34:26 -0400.

This page (Overview) was last updated on Feb 25, 2018.

Text editor powered by tinymce.