# Raspberry Pi LED Matrix Sand Toy

## Overview

https://www.youtube.com/watch?v=X3Ce89f873Y

Danger: This guide is no longer supported! Check out the new Matrix Portal Sand Toy for an updated project.

[Matrix Portal Sand Toy](https://learn.adafruit.com/matrix-portal-sand)
![](https://cdn-learn.adafruit.com/assets/assets/000/051/322/medium800thumb/raspberry_pi_hero-loopB.jpg?1519700452)

## Simulated LED Sand Physics!

These LEDs interact with motion and looks like they’re affect by gravity.&nbsp;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](../../../../users/pburgess), simulates physics by calculating collisions and terminal velocity.

![](https://cdn-learn.adafruit.com/assets/assets/000/051/320/medium800thumb/raspberry_pi_hero-timer-still-loop.jpg?1519697739)

![](https://cdn-learn.adafruit.com/assets/assets/000/051/273/medium800/raspberry_pi_partsB.jpg?1519610471)

## Prerequisite Guides

&nbsp;

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

&nbsp;

- [Adafruit LIS3DH Triple-Axis Accelerometer](../../../../adafruit-lis3dh-triple-axis-accelerometer-breakout)

&nbsp;

- [RGB Matrix Bonnet for RaspberryPi](../../../../adafruit-rgb-matrix-bonnet-for-raspberry-pi)

![raspberry_pi_hero-star.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/316/medium640/raspberry_pi_hero-star.jpg?1519697034)

![raspberry_pi_hero_timer.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/317/medium640/raspberry_pi_hero_timer.jpg?1519697057)

### Part: M2.5x5mm Screws
quantity: 14
M2.5x5mm Screws

### Part: M3x5mm Screws
quantity: 4
M3x5mm Screws

Danger: 

### 64x64 RGB LED Matrix - 2.5mm Pitch

[64x64 RGB LED Matrix - 2.5mm Pitch](https://www.adafruit.com/product/3649)
Winter time can be rough in the city. The sky is gray. The weather&nbsp;is unpredictable. So slough off those seasonal blues with&nbsp;some&nbsp;Times Square razzle dazzle from this sweet, ultra-high-density **64x64 RGB LED Matrix**. These panels are typically used to make video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3649)
[Related Guides to the Product](https://learn.adafruit.com/products/3649/guides)
![Video of two hands flipping over a powered on 64x64 RGB LED Matrix. The matrix display has a falling colored sand effect. ](https://cdn-shop.adafruit.com/product-videos/640x480/3649-06.jpg)

### Adafruit RGB Matrix Bonnet for Raspberry Pi

[Adafruit RGB Matrix Bonnet for Raspberry Pi](https://www.adafruit.com/product/3211)
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&nbsp;it super easy to control RGB matrices such as those we stock in the shop&nbsp;and&nbsp;create a colorful scrolling...

In Stock
[Buy Now](https://www.adafruit.com/product/3211)
[Related Guides to the Product](https://learn.adafruit.com/products/3211/guides)
![Still image of a Adafruit RGB Matrix Bonnet powering a Matrix. ](https://cdn-shop.adafruit.com/640x480/3211-05.jpg)

### Raspberry Pi Zero 2 W

[Raspberry Pi Zero 2 W](https://www.adafruit.com/product/5291)
 **Raspberry Pi Zero 2 W** is the latest product in Raspberry Pi's most affordable range of single-board computers. The successor to the breakthrough Raspberry Pi Zero W, **Raspberry Pi Zero 2 W** is a form factor–compatible drop-in replacement for the...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5291)
[Related Guides to the Product](https://learn.adafruit.com/products/5291/guides)
![Angled shot of a Raspberry Pi Zero 2 W.](https://cdn-shop.adafruit.com/640x480/5291-00.jpg)

### Part: 16mm Pushbutton
quantity: 2
Momentary Pushbutton - Red
[16mm Pushbutton](https://www.adafruit.com/product/1445)

### Part: Slide Switch
quantity: 1
Breadboard-friendly SPDT Slide Switch
[Slide Switch](https://www.adafruit.com/product/805)

### Part: LIS3DH Accelerometer
quantity: 1
Axis Accelerometer (+-2g/4g/8g/16g) Product ID: 2809
[LIS3DH Accelerometer](https://www.adafruit.com/product/2809)

### Part: Male DC Power adapter
quantity: 1
2.1mm plug to screw terminal block
[Male DC Power adapter](https://www.adafruit.com/product/369)

### Part: PowerBoost 1000C
quantity: 1
Rechargeable 5V Lipo USB Boost @ 1A - 1000C
[PowerBoost 1000C](https://www.adafruit.com/product/2465)

# Raspberry Pi LED Matrix Sand Toy

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/052/653/medium800/raspberry_pi_circuit-diagramB.jpg?1522375517)

Take a moment to review the components in the circuit diagram. This illustration is meant for&nbsp;referencing wired connections - The length of wire,&nbsp;position and size of components are not exact.&nbsp;

The **Slide switch** will connect to the **PowerBoost1000C** board on the&nbsp; **GND** and&nbsp;the **EN** pin

PowerBoost **5v** and **G** connects to the Bonnet via the 2.1mm Male DC adapter and will both need to be 150mm long.

**RGB Matrix Bonnet** &nbsp;connects to the **Raspberry Pi Zero**.

**LIS3DH** connects to the Bonnet and will need to be 80mm long for&nbsp; **3V, GND, SDA and SCL** &nbsp;connections.

The **Reset Button** connects to **pin 19** and will need to be **110mm** long. **Ground** will need to be **95mm** long.

**Mode Button&nbsp;** connects to **pin 25** on the Bonnet and will need to be **130mm** long. **Ground** will need to be **160mm** long.

# Raspberry Pi LED Matrix Sand Toy

## Code

[PixelDust Demos](https://github.com/adafruit/Adafruit_PixelDust/tree/master/raspberry_pi)
First make sure you've loaded the latest Raspbian Lite operating system on your Raspberry Pi. &nbsp;You can find the&nbsp;[OS image download here](http://www.raspberrypi.org/downloads/), instructions for&nbsp;[burning to an SD card image here](http://www.raspberrypi.org/documentation/installation/installing-images/README.md), and a&nbsp;[convenient guide here](../../../../adafruit-raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi/overview)&nbsp;that explains how to load an operating system.

Make sure your Raspberry Pi is connected to the internet, either with a wired connection to&nbsp;its ethernet port, or by setting up wireless access to a&nbsp;WiFi network. &nbsp;Check out the&nbsp;[guide on network setup](../../../../adafruits-raspberry-pi-lesson-3-network-setup/overview)&nbsp;for more details on using wireless and WiFi networks with the Pi.

Once your Raspberry Pi is powered up and connected to a network you can follow the steps below to install the video looper software.

If you're familiar with connecting to the&nbsp;[Raspberry Pi&nbsp;over SSH](../../../../adafruits-raspberry-pi-lesson-6-using-ssh/overview)&nbsp;you can use an SSH terminal application to connect and skip down to the&nbsp;[install commands section below](../../../../raspberry-pi-video-looper/installation#install-commands). &nbsp;If you aren't familiar with SSH you can use the&nbsp;[Adafruit Pi Finder tool](https://github.com/adafruit/Adafruit-Pi-Finder)&nbsp;to find your Raspberry Pi and open a terminal to run the installation. &nbsp;I'll show installation steps using the Pi Finder&nbsp;tool below.

Warning: 

## Install Matrix Driver

OK now you are ready to install the drive for the LED matrix.&nbsp;We have a script that downloads the code and any prerequisite software. It works with the current&nbsp; **Raspbian “Stretch” operating system** &nbsp;(either the Lite or Desktop version).&nbsp;Walk through the options it presents and select the ones that pertain to your setup. If you get stuck, we have a more details in the [Bonnet Matrix guide](../../../../adafruit-rgb-matrix-bonnet-for-raspberry-pi?view=all#driving-matrices).

```
curl https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/rgb-matrix.sh &gt;rgb-matrix.sh
sudo bash rgb-matrix.sh
```

The script will&nbsp; **confirm your selections** &nbsp;and offer&nbsp; **one more chance to cancel** &nbsp;without changes.

There’s a lot of software to update, download and install, so it may take up to&nbsp; **15 minutes** &nbsp;or so to complete. Afterward, you’ll be asked whether you want to&nbsp; **reboot** &nbsp;the system.

## Install Git and Clone

Once you have enabled SSH and connected to the Pi via a separate computer over WiFi, you can install the proper tools to install the software. First, let's get the git command so we can clone the library repo. Then, we'll install the library and copy code from the repo to the home directory of the Pi.

```
sudo apt-get install -y git
git clone https://github.com/adafruit/Adafruit_PixelDust.git
```

## Enable I2C via raspi-config

In order to read the accelerometer, I2C must be enabled via the **raspi-config** interface. Follow the guide below for a step by step guide. If your familiar with this, use **sudo raspi-config** and enable I2C through the “Interfacing Options.”

[Raspberry Pi – Enable I2C](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c)
## Make PixelDust

In order to compile the Adafruit PixelDust library to the Pi, we'll need to execute a make command.

```
cd Adafruit_PixelDust/raspberry_pi
make
```

## Running the Code

OK now it's time to run the demo! Execute the command below and use the two buttons to change demos and reset the simulation. You'll need to be in the right directory to run the python script.

```
cd Adafruit_PixelDust/raspberry_pi/
sudo python buttons.py
```

Press Control+C to stop the program and get back to the command line.

## Adjusting Brightness

By default the LED brightness is set to 100%…this might be a bit much both on the eyes and the battery. We can tone it down by editing the Python script…

```
nano buttons.py
```

Look for this line near the top of the code (around line 15):

```
FLAGS        = ["--led-rgb-sequence=rbg", "--led-brightness=100"]
```

That “100” is the brightness, expressed as a percentage from 1 to 100. Quite often running around 1/3 brightness (33) looks perfectly good. For photography and video you may want even less, perhaps 10 percent. Save changes to the file, exit and try running again with “sudo python buttons.py”

## Automatic Startup

We can configure the system to start the demo automatically after booting, so you don’t need a keyboard and screen to get it started every time…

```
sudo nano /etc/rc.local
```

Just BEFORE the final “exit 0” line, insert the following two lines:

```
cd /home/pi/Adafruit_PixelDust/raspberry_pi
python buttons.py &amp;
```

(If you’ve installed the code in a different location, adjust the “cd” command to match.)

Save changes to the file, exit and reboot.

It may take 30 second to a minute before the software starts. This is normal…booting a Linux system is a lot of work and our code is the last thing to run.

## Safely Shutdown setup

Turning the switch off before properly shutting down the Pi can cause the SD card to corrupt so we suggest safely shutting down the Pi before turning off the PowerBoost. We have a dedicate guide for enabling **Read-Only** mode which will allow you to quickly turn off the Pi without risking corrupting the SD card. Check it out here:&nbsp;[https://learn.adafruit.com/read-only-raspberry-pi](../../../../read-only-raspberry-pi)&nbsp;

[Read-Only Pi Guide](https://learn.adafruit.com/read-only-raspberry-pi)
## Customization Options

The Python script (Adafruit\_PixelDust/raspberry\_pi/buttons.py) uses two buttons (currently on GPIO 19 and 25) to cycle between demos or reset the current one.&nbsp;Near the top of that file you'll see settings for the GPIO pin numbers and LED brightness. You can edit and save the script using **&nbsp;nano buttons.py** so you won't not have to type changes every single time.

# Raspberry Pi LED Matrix Sand Toy

## 3D Printing

![](https://cdn-learn.adafruit.com/assets/assets/000/051/274/medium800/raspberry_pi_3d-parts.jpg?1519610619)

The 3D printed parts are fairly easy to make with most common home desktop 3D printers that are&nbsp;on the market.

And if you don’t have access a 3D printer, you can order our parts by visiting our Thingiverse page and have someone local 3D print the parts and ship them to you.&nbsp;

Warning: 

[Download Fusion 360 files](http://a360.co/2EWlrzz)
[Download from Thingiverse](https://www.thingiverse.com/thing:2808127)
[Download from Youmagine](https://www.youmagine.com/designs/led-matrix-sand-toy)
[Download from Pinshape](https://pinshape.com/items/43250-3d-printed-led-matrix-sand-toy)
## Slice Settings

&nbsp;

Download the STL file and import it into your&nbsp;3D printing slicing software. You'll need to adjust your settings accordingly if you're using material different than PLA.

&nbsp;

- 230C Extruder Temp
- No heated bed (65C for&nbsp;heated)
- 1.0&nbsp;Extrusion Multiplier
- .8mm Nozzle
- 0.7 Extrusion Width
- .2mm Layer Height
- 30% infill
- 30% Supports
- skirt
- 60mm/s&nbsp;| 120mm travel speed

## Mirror

&nbsp;

Use the mirror function inside your slicing software to print the opposite handle&nbsp;

![raspberry_pi_slice.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/297/medium640/raspberry_pi_slice.jpg?1519618170)

![raspberry_pi_slice-mirror.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/321/medium640/raspberry_pi_slice-mirror.jpg?1519699939)

# Raspberry Pi LED Matrix Sand Toy

## Assemble

## Prep Bonnet&nbsp;

&nbsp;

First we'll need to add a jumper to connect two pins and then bridge two pads to enable the RGB Matrix Bonnet to work with the 64x64 LED Matrix.

&nbsp;

## Jumper

We'll start by measuring a wire 30mm long. Tin and solder pin 4 to pin 18. Carefully bend the wire and move it away from the headers on the Bonnet.

&nbsp;

## Bridge Pad

&nbsp;

Next we need to turn the Matrix Bonnet over and locate the three solder pads. Tin the middle pad " **E**" and the " **8**" pad. Now heat up one of the pads and drag solder over to the next pad to bridge the two connections.&nbsp;&nbsp;

![raspberry_pi_bonnet-jump.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/275/medium640/raspberry_pi_bonnet-jump.jpg?1519610776)

![raspberry_pi_bonnet-bridge.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/276/medium640/raspberry_pi_bonnet-bridge.jpg?1519610994)

## Solder LIS3DH

&nbsp;

The accelerometer is solder to the Bonnet. Measure four wires **80mm** long to connect **5v** , **GND** , **SDA** , and **SLC&nbsp;** on the **Bonnet** and **LIS3DH**.

&nbsp;

We used heat shrink to keep the wires organized.&nbsp;

![raspberry_pi_lis3dh-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/277/medium640/raspberry_pi_lis3dh-solder.jpg?1519611164)

## PowerBoost

&nbsp;

Now we'll need to measure wires for power and ground to connect the Pi and Bonnet. Cut wires **150mm** long so it can reach the barrel on the Bonnet.

&nbsp;

## Slide Switch

&nbsp;

To power the circuit on and off, we'll add a slide switch on the GND and EN pin on the PowerBoost.

![raspberry_pi_slide-swith-soldered.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/278/medium640/raspberry_pi_slide-swith-soldered.jpg?1519612167)

## DC Plug

&nbsp;

Power and ground connect to the DC plug by tightening the terminal screws.&nbsp;

![raspberry_pi_barrel-wire.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/279/medium640/raspberry_pi_barrel-wire.jpg?1519612615)

## Board Frame

&nbsp;

With all of the boards soldered we can move on to mounting them to the **LED-boards** part.

&nbsp;

Use M2.5mmx5mm long screws to mount the boards to each standoff on the part.

![raspberry_pi_boards-mounted.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/280/medium640/raspberry_pi_boards-mounted.jpg?1519612759)

## Matrix Cables

&nbsp;

Now we can move on to the LED Matrix! Connect the red ribbon cable and the power and ground wire plug as shown on the picture.&nbsp;

![raspberry_pi_matrix-cables.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/281/medium640/raspberry_pi_matrix-cables.jpg?1519613010)

## Matrix Handles&nbsp;

&nbsp;

To attach the handles, we'll use the M3 thumb screws&nbsp;included with the LED Matrix. Align the handles so the button holes both align with the Matrix.

&nbsp;

Secure by inserting the thumb screws into the counter sink holes and tighten. You can use pliers to ensure the handles are securely attached.

&nbsp;

&nbsp;

![raspberry_pi_matrix-handles.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/282/medium640/raspberry_pi_matrix-handles.jpg?1519613170)

## Attach boards frame

&nbsp;

Position the boards to align with the mounting holes on the LED Matrix. Use M3x5mm long screws to secure the boards onto the LED Matrix.

&nbsp;

Note that the PowerBoost will cover one of the mounting holes, so we'll need to secure that one screw on the Matrix frame and then fasten the PowerBoost back on.

![raspberry_pi_bonnet-power-ribbon.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/283/medium640/raspberry_pi_bonnet-power-ribbon.jpg?1519613457)

## Battery frame

&nbsp;

Mount the 6600mAh battery to the **LED-bat** part. Align it so the cable is positioned on the inside of the battery frame as shown in the picture.

&nbsp;

Turn the two over and use a zip tie or twisty ties to secure the battery to the frame. Pass the ties through the two slits on the battery frame to tightly secure the battery to the frame.

&nbsp;

## Mount Battery frame

&nbsp;

Use M3x5mm long screws to secure the battery frame to the LED Matrix. Align the mount as shown and fasten each screw to attach the part to the matrix.

![raspberry_pi_bat-frame.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/284/medium640/raspberry_pi_bat-frame.jpg?1519613766)

![raspberry_pi_bat-zip-thread.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/285/medium640/raspberry_pi_bat-zip-thread.jpg?1519613798)

![raspberry_pi_bat-zipped.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/286/medium640/raspberry_pi_bat-zipped.jpg?1519613818)

![raspberry_pi_bat-frame-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/287/medium640/raspberry_pi_bat-frame-mount.jpg?1519614051)

## Buttons

&nbsp;

To easily connect and disconnect the buttons, we'll use quick connects. First start by measuring wires for the reset button.&nbsp; The **Reset Button** will connect to **Pin 19** on the Bonnet&nbsp;and will need to be **110mm** long. The **GND** wire will need to be **95mm** long.

&nbsp;

The **Mode button** will connect to **Pin 25** on the Bonnet, and will need to **130mm** long. **GND** will need to be **160mm** long.&nbsp;

![raspberry_pi_btn-conect-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/288/medium640/raspberry_pi_btn-conect-solder.jpg?1519614212)

## Mount buttons&nbsp;

&nbsp;

The two buttons mount inside the cutouts on the handles. Push each button through to snap fit them on to the handles.&nbsp;

![raspberry_pi_btn-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/289/medium640/raspberry_pi_btn-mount.jpg?1519614693)

## Solder Buttons

&nbsp;

Next we'll solder the buttons to the GPIOs on the Bonnet. Tin and solder connects for **Pin 19** and **Pin 25.**

&nbsp;

## Ground

&nbsp;

To make it easy, we'll solder the two ground connections to the slide switch leg connected to **GND** on the **PowerBoost**.

![raspberry_pi_btn-pin-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/290/medium640/raspberry_pi_btn-pin-solder.jpg?1519614932)

![raspberry_pi_btn-pin-gnd-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/291/medium640/raspberry_pi_btn-pin-gnd-solder.jpg?1519615054)

## Thread Button wires

&nbsp;

Finally we can thread our button wires through the LED frame and connect them to each button.

&nbsp;

## Connect Battery

&nbsp;

All thats left is to plug the battery into the JST connection on the **PowerBoost** and flip on the switch!

![raspberry_pi_btn-connected.jpg](https://cdn-learn.adafruit.com/assets/assets/000/051/292/medium640/raspberry_pi_btn-connected.jpg?1519615130)

![](https://cdn-learn.adafruit.com/assets/assets/000/051/319/medium800thumb/raspberry_pi_hero-timer-still-loop.jpg?1519697714)


## Featured Products

### Adafruit RGB Matrix Bonnet for Raspberry Pi

[Adafruit RGB Matrix Bonnet for Raspberry Pi](https://www.adafruit.com/product/3211)
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&nbsp;it super easy to control RGB matrices such as those we stock in the shop&nbsp;and&nbsp;create a colorful scrolling...

In Stock
[Buy Now](https://www.adafruit.com/product/3211)
[Related Guides to the Product](https://learn.adafruit.com/products/3211/guides)
### 64x64 RGB LED Matrix - 2.5mm Pitch

[64x64 RGB LED Matrix - 2.5mm Pitch](https://www.adafruit.com/product/3649)
Winter time can be rough in the city. The sky is gray. The weather&nbsp;is unpredictable. So slough off those seasonal blues with&nbsp;some&nbsp;Times Square razzle dazzle from this sweet, ultra-high-density **64x64 RGB LED Matrix**. These panels are typically used to make video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3649)
[Related Guides to the Product](https://learn.adafruit.com/products/3649/guides)
### Male DC Power adapter - 2.1mm plug to screw terminal block

[Male DC Power adapter - 2.1mm plug to screw terminal block](https://www.adafruit.com/product/369)
If you need to connect a battery pack or wired power supply to a board that has a DC jack - this adapter will come in very handy! There is a 2.1mm DC plug on one end, and a screw terminal block on the other. The terminals are labeled with positive/negative assuming a positive-tip configuration...

In Stock
[Buy Now](https://www.adafruit.com/product/369)
[Related Guides to the Product](https://learn.adafruit.com/products/369/guides)
### 16mm Panel Mount Momentary Pushbutton -  Red

[16mm Panel Mount Momentary Pushbutton -  Red](https://www.adafruit.com/product/1445)
OK, this item is pretty simple - it's a panel mount pushbutton. It's not that exciting, no LEDs, no bells & whistles. But we really like it anyways – look at that lovely rounded shape, that elegant bevel. If you're going to go with a momentary pushbutton, let it be this...

In Stock
[Buy Now](https://www.adafruit.com/product/1445)
[Related Guides to the Product](https://learn.adafruit.com/products/1445/guides)
### PowerBoost 1000 Charger - Rechargeable 5V Lipo USB Boost @ 1A

[PowerBoost 1000 Charger - Rechargeable 5V Lipo USB Boost @ 1A](https://www.adafruit.com/product/2465)
PowerBoost 1000C is the perfect power supply for your portable project!&nbsp; **With a built-in load-sharing battery charger circuit, you'll be able to keep your power-hungry project running even while recharging the battery!** &nbsp;This little DC/DC boost converter module can...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2465)
[Related Guides to the Product](https://learn.adafruit.com/products/2465/guides)
### Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g)

[Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g)](https://www.adafruit.com/product/2809)
The **LIS3DH** &nbsp;is a very popular low power **triple-axis accelerometer**. It's low-cost, but has just about every 'extra' you'd want in an accelerometer:

- Three axis sensing, 10-bit...

In Stock
[Buy Now](https://www.adafruit.com/product/2809)
[Related Guides to the Product](https://learn.adafruit.com/products/2809/guides)
### Breadboard-friendly SPDT Slide Switch

[Breadboard-friendly SPDT Slide Switch](https://www.adafruit.com/product/805)
These nice switches are perfect for use with breadboard and perfboard projects. They have 0.1" spacing and snap in nicely into a solderless breadboard. They're easy to switch no matter what size fingers you have, but not so easy that they'll get flipped by accident. Work great as...

In Stock
[Buy Now](https://www.adafruit.com/product/805)
[Related Guides to the Product](https://learn.adafruit.com/products/805/guides)
### Raspberry Pi Zero WH (Zero W with Headers)

[Raspberry Pi Zero WH (Zero W with Headers)](https://www.adafruit.com/product/3708)
If you didn't think that the Raspberry Pi Zero W could possibly get any better, then boy do we have a pleasant surprise for you!&nbsp;The new **Raspberry Pi Zero WH&nbsp;** offers all the benefits of the Pi Zero W, but with one big difference – a **pre-soldered GPIO...**

In Stock
[Buy Now](https://www.adafruit.com/product/3708)
[Related Guides to the Product](https://learn.adafruit.com/products/3708/guides)

## Related Guides

- [Adafruit Powerboost 1000C](https://learn.adafruit.com/adafruit-powerboost-1000c-load-share-usb-charge-boost.md)
- [7” Portable Multitouch Raspberry Pi Tablet](https://learn.adafruit.com/7-portable-raspberry-pi-multitouch-tablet.md)
- [PyPortal Alarm Clock](https://learn.adafruit.com/pyportal-alarm-clock.md)
- [Portable Apple Watch Charger](https://learn.adafruit.com/portable-apple-watch-charger.md)
- [Boomy Pi Airplay Boombox](https://learn.adafruit.com/boomy-pi-airplay.md)
- [7" Portable HDMI Monitor](https://learn.adafruit.com/7-hdmi-portable-monitor.md)
- [CircuitPython Hardware: LIS3DH Accelerometer](https://learn.adafruit.com/circuitpython-hardware-lis3dh-accelerometer.md)
- [I2C Addresses and Troublesome Chips](https://learn.adafruit.com/i2c-addresses.md)
- [NeoPixel LED Mickey Ears](https://learn.adafruit.com/neopixel-led-mickey-ears.md)
- [Wireless LED Juggling Balls with ESP-NOW](https://learn.adafruit.com/wireless-juggling-balls-esp-now.md)
- [Make It Shake, Rattle, and Roll: Accelerometer Use](https://learn.adafruit.com/make-it-shake-rattle-and-roll.md)
- [PiGRRL Zero](https://learn.adafruit.com/pigrrl-zero.md)
- [Booster Cable](https://learn.adafruit.com/booster-cable.md)
- [RGB Matrix Panels With Raspberry Pi 5](https://learn.adafruit.com/rgb-matrix-panels-with-raspberry-pi-5.md)
- [Raspberry Pi Pipboy 3000](https://learn.adafruit.com/raspberry-pi-pipboy-3000.md)
- [Overwatch Prop Gun: Lucio's Blaster Pt. 1](https://learn.adafruit.com/overwatch-lucio-gun-pt1.md)
