# LED Matrix Scoreboard

## Overview

https://youtu.be/tu0vUvM2PGo

## LED Pixel Hoops

Build an LED scoreboard with mini IR sensing hoop using an RGB Matrix and CircuitPython! This indoor game lets you shoot hoops and display your score on a 64x32 LED Matrix.

![led_matrices_hero-2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/202/medium640/led_matrices_hero-2.jpg?1594836434)

## IR Sensing Hoop

The hoop houses an IR breakbeam sensor that detects when a ball has gone through it. The 3D printed parts hold everything together and are designed to be easy to build. There’s an arcade button on the side that’s used for starting a new game and resetting the score. This build is powered by an Adafruit Feather M4 Express and the RGB matrix FeatherWing.

![led_matrices_hero-hoop-underview.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/203/medium640/led_matrices_hero-hoop-underview.jpg?1594837299)

## Prerequisite Guides

Take a moment to walk through the following guides to get better understanding of the parts used in this project.

- [RGB LED Matrix Guide](https://learn.adafruit.com/32x16-32x32-rgb-led-matrix)
- [Adafruit Feather M4 Guide](https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51)
- [RGB Matrices with CircuitPython](https://learn.adafruit.com/rgb-led-matrices-matrix-panels-with-circuitpython)

Black LED acrylic is used to diffuse the LEDs that are otherwise harsh and over exposed. This material features a matte finish and has the ability to transmit any color of light. That makes it perfect for bringing out the vibrance in the colors of the LEDs.

The 3D printed frame is designed with a slot on the side so it’s easy to insert a sheet of Black LED acrylic.

## Adafruit Parts
### Adafruit Feather M4 Express - Featuring ATSAMD51

[Adafruit Feather M4 Express - Featuring ATSAMD51](https://www.adafruit.com/product/3857)
It's what you've been waiting for, the Feather M4 Express featuring ATSAMD51. This Feather is fast like a swift, smart like an owl, strong like a ox-bird (it's half ox, half bird, OK?) This feather is powered by our new favorite chip, the **ATSAMD51J19** -&nbsp; with...

In Stock
[Buy Now](https://www.adafruit.com/product/3857)
[Related Guides to the Product](https://learn.adafruit.com/products/3857/guides)
![Angled shot of a Adafruit Feather M4 Express. ](https://cdn-shop.adafruit.com/640x480/3857-10.jpg)

### Adafruit RGB Matrix Featherwing Kit

[Adafruit RGB Matrix Featherwing Kit](https://www.adafruit.com/product/3036)
Ahoy! It's time to create a dazzling light up project with our new **RGB Matrix FeatherWing**. Now you can quickly and easily create projects featuring your favorite 16 or 32-pixel tall matrix boards. Using our RGB Matrix library is easy and...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3036)
[Related Guides to the Product](https://learn.adafruit.com/products/3036/guides)
![Video of a woman with a turquoise manicure attaching a driver board to the back of a LED matrix panel. She flips the matrix panel around reveal it lit up text in rainbow colors: "Ada
fruit
32x32
*RGB* ](https://cdn-shop.adafruit.com/product-videos/640x480/3036-05.jpg)

### 64x32 RGB LED Matrix - 4mm pitch

[64x32 RGB LED Matrix - 4mm pitch](https://www.adafruit.com/product/2278)
Bring a little bit of Times Square into your home with this sweet 64 x 32 square RGB LED matrix panel. These panels are normally used to make video walls, here in New York we see them on the sides of busses and bus stops, to display animations or short video clips. We thought they looked...

In Stock
[Buy Now](https://www.adafruit.com/product/2278)
[Related Guides to the Product](https://learn.adafruit.com/products/2278/guides)
![Two white hands hold out an assembled and powered on 64x32 RGB LED Matrix Panel - 4mm pitch. The matrix displays "Adafruit Industries LED MATRIX! 32x64 *RGB*"](https://cdn-shop.adafruit.com/640x480/2278-00.jpg)

### Adafruit STEMMA Speaker - Plug and Play Audio Amplifier

[Adafruit STEMMA Speaker - Plug and Play Audio Amplifier](https://www.adafruit.com/product/3885)
Hey, have you heard the good news? With Adafruit STEMMA boards you can easily and safely plug sensors and devices together, like this **Adafruit STEMMA Speaker - Plug and Play Audio Amplifier**. Like the name implies, it's got a class D audio amplifier on board, and our...

In Stock
[Buy Now](https://www.adafruit.com/product/3885)
[Related Guides to the Product](https://learn.adafruit.com/products/3885/guides)
![Top view of a black speaker breakout board connected to a round microcontroller via alligator clips. A music note animation emits from the speaker.](https://cdn-shop.adafruit.com/product-videos/640x480/3885-05.jpg)

### Mini LED Arcade Button - 24mm Translucent Clear

[Mini LED Arcade Button - 24mm Translucent Clear](https://www.adafruit.com/product/3429)
A button is a button, and a switch is a switch, but these translucent arcade buttons are in a class of their own. Particularly because they have **LEDs built right in!** That's right, you'll be button-mashing amidst a wash of beautiful light with these lil'...

In Stock
[Buy Now](https://www.adafruit.com/product/3429)
[Related Guides to the Product](https://learn.adafruit.com/products/3429/guides)
![Video of 24mm mini translucent clear LED arcade button flashing on and off.](https://cdn-shop.adafruit.com/product-videos/640x480/3429-03.jpg)

### Part: IR Break Beam Sesnor
quantity: 1
5mm LEDs
[IR Break Beam Sesnor](https://www.adafruit.com/product/2168)

### Part: IR Break Beam Sesnor
quantity: 1
3mm LEDs
[IR Break Beam Sesnor](https://www.adafruit.com/product/2167)

### Part: 2-pin JST Cable
quantity: 1
Female Connector 100mm
[2-pin JST Cable](https://www.adafruit.com/product/261)

### Part: 2-pin JST Cable
quantity: 1
Male Connector 200mm
[2-pin JST Cable](https://www.adafruit.com/product/3814)

### Part: 3-pin JST Cable
quantity: 1
Male Connector 200mm
[3-pin JST Cable](https://www.adafruit.com/product/4046)

### Part: 3-pin JST Cable
quantity: 1
female socket cable
[3-pin JST Cable](https://www.adafruit.com/product/3894)

### Part: 10-wire Ribbon Cable
quantity: 1
Silicone Cover Stranded-Core 1m long
[10-wire Ribbon Cable](https://www.adafruit.com/product/3890)

### Part: Header kit for Feather
quantity: 1
Female Header Set
[Header kit for Feather](https://www.adafruit.com/product/2886)

### Part: M2.5 Screw Kit
quantity: 1
Black Nylon M2.5
[M2.5 Screw Kit](https://www.adafruit.com/product/3299)

### Part: 5V 4A Wall Adapter
quantity: 1
switching power supply
[5V 4A Wall Adapter](https://www.adafruit.com/product/1466)

## Black LED Acrylic

A sheet of black LED acrylic used to diffuse the RGB LED Matrix. From their website:

> It looks like a matte black acrylic when it is not lit, but add a light behind it and watch it transform. This fantastic material has the ability to transmit light of any color.

![led_matrices_acrylic-matrix.jpg](https://cdn-learn.adafruit.com/assets/assets/000/093/184/medium640/led_matrices_acrylic-matrix.jpg?1594780858)

**Recommended Cut To Size Sheet: 257mm x 128mm (10.12in x 5.04in)**

### Part: Black LED Acrylic
quantity: 1
Black LED Acrylic from TAP Plastics
[Black LED Acrylic](https://www.tapplastics.com/product/plastics/cut_to_size_plastic/black_led_sheet/668)

## Hardware Screws

Fasteners used to secure 3d printed parts together.

- 8x M3 x 10mm pan head screws
- 4x M3 x 6mm pan head screws
- 6x M2.5 x 10mm pan head screws
- 4x M2.5 hex nuts

- [Next Page](https://learn.adafruit.com/led-matrix-scoreboard/circuit-diagram.md)

## Featured Products

### Adafruit Feather M4 Express - Featuring ATSAMD51

[Adafruit Feather M4 Express - Featuring ATSAMD51](https://www.adafruit.com/product/3857)
It's what you've been waiting for, the Feather M4 Express featuring ATSAMD51. This Feather is fast like a swift, smart like an owl, strong like a ox-bird (it's half ox, half bird, OK?) This feather is powered by our new favorite chip, the **ATSAMD51J19** -&nbsp; with...

In Stock
[Buy Now](https://www.adafruit.com/product/3857)
[Related Guides to the Product](https://learn.adafruit.com/products/3857/guides)
### Adafruit RGB Matrix Featherwing Kit

[Adafruit RGB Matrix Featherwing Kit](https://www.adafruit.com/product/3036)
Ahoy! It's time to create a dazzling light up project with our new **RGB Matrix FeatherWing**. Now you can quickly and easily create projects featuring your favorite 16 or 32-pixel tall matrix boards. Using our RGB Matrix library is easy and...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3036)
[Related Guides to the Product](https://learn.adafruit.com/products/3036/guides)
### 64x32 RGB LED Matrix - 4mm pitch

[64x32 RGB LED Matrix - 4mm pitch](https://www.adafruit.com/product/2278)
Bring a little bit of Times Square into your home with this sweet 64 x 32 square RGB LED matrix panel. These panels are normally used to make video walls, here in New York we see them on the sides of busses and bus stops, to display animations or short video clips. We thought they looked...

In Stock
[Buy Now](https://www.adafruit.com/product/2278)
[Related Guides to the Product](https://learn.adafruit.com/products/2278/guides)
### Adafruit STEMMA Speaker - Plug and Play Audio Amplifier

[Adafruit STEMMA Speaker - Plug and Play Audio Amplifier](https://www.adafruit.com/product/3885)
Hey, have you heard the good news? With Adafruit STEMMA boards you can easily and safely plug sensors and devices together, like this **Adafruit STEMMA Speaker - Plug and Play Audio Amplifier**. Like the name implies, it's got a class D audio amplifier on board, and our...

In Stock
[Buy Now](https://www.adafruit.com/product/3885)
[Related Guides to the Product](https://learn.adafruit.com/products/3885/guides)
### Mini LED Arcade Button - 24mm Translucent Clear

[Mini LED Arcade Button - 24mm Translucent Clear](https://www.adafruit.com/product/3429)
A button is a button, and a switch is a switch, but these translucent arcade buttons are in a class of their own. Particularly because they have **LEDs built right in!** That's right, you'll be button-mashing amidst a wash of beautiful light with these lil'...

In Stock
[Buy Now](https://www.adafruit.com/product/3429)
[Related Guides to the Product](https://learn.adafruit.com/products/3429/guides)
### IR Break Beam Sensor with Premium Wire Header Ends - 5mm LEDs

[IR Break Beam Sensor with Premium Wire Header Ends - 5mm LEDs](https://www.adafruit.com/product/2168)
Infrared (IR) break-beam sensors are a simple way to detect motion. They work by having an emitter side that sends out a beam of human-invisible IR light, then a receiver across the way which is sensitive to that same light. When something passes between the two, and its not transparent to IR,...

In Stock
[Buy Now](https://www.adafruit.com/product/2168)
[Related Guides to the Product](https://learn.adafruit.com/products/2168/guides)
### IR Break Beam Sensors with Premium Wire Header Ends - 3mm LEDs

[IR Break Beam Sensors with Premium Wire Header Ends - 3mm LEDs](https://www.adafruit.com/product/2167)
Infrared (IR) break-beam sensors are a simple way to detect motion. They work by having an emitter side that sends out a beam of human-invisible IR light, then a receiver across the way which is sensitive to that same light. When something passes between the two, and its not transparent to IR,...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2167)
[Related Guides to the Product](https://learn.adafruit.com/products/2167/guides)
### JST PH 2-Pin Cable - Female Connector 100mm

[JST PH 2-Pin Cable - Female Connector 100mm](https://www.adafruit.com/product/261)
Red and black tinned wires with a 2-pin JST PH connector on the end. 4" / 100mm long. Matches up nicely with our Lipoly chargers!

[We have the socket 'mating' version of this cable](https://www.adafruit.com/product/3814) over here, <a...></a...>

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

## Related Guides

- [Adafruit Feather M4 Express](https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51.md)
- [Adafruit RGB Matrix FeatherWings](https://learn.adafruit.com/rgb-matrix-featherwing.md)
- [Adafruit STEMMA Speaker](https://learn.adafruit.com/adafruit-stemma-speaker.md)
- [Burning Fire Wizard Staff](https://learn.adafruit.com/burning-fire-wizard-staff.md)
- [Faderwave Synthesizer](https://learn.adafruit.com/faderwave-synthesizer.md)
- [No-Code Indoor Grow Monitor with PPFD and VPD Measurements](https://learn.adafruit.com/no-code-indoor-grow-monitor.md)
- [Ocean Epoxy Resin Lightbox with RGB LED Matrix Image Scroller](https://learn.adafruit.com/ocean-epoxy-resin-lightbox-with-rgb-led-matrix-image-scroller.md)
- [Larsio Paint Music](https://learn.adafruit.com/larsio-paint-music.md)
- [Computer Space Mini Arcade](https://learn.adafruit.com/computer-space-mini-arcade.md)
- [CircuitPython 101: Functions](https://learn.adafruit.com/circuitpython-101-functions.md)
- [OOZE MASTER 3000: NeoPixel Simulated Liquid Physics](https://learn.adafruit.com/ooze-master-3000-neopixel-simulated-liquid-physics.md)
- [Tombstone Prop-Maker RP2040](https://learn.adafruit.com/tombstone-prop-maker-rp2040.md)
- [Feather Waveform Generator in CircuitPython](https://learn.adafruit.com/waveform-generator.md)
- [RP2040 RunCPM Emulator with USB Keyboard & HDMI screen](https://learn.adafruit.com/rp2040-runcpm-emulator-with-usb-keyboard-hdmi-screen.md)
- [eInk FeatherWing Display Stand](https://learn.adafruit.com/eink-featherwing-display-stand.md)
- [Circuit Playground Bluefruit Pumpkin with Lights and Sounds ](https://learn.adafruit.com/pumpkin-with-circuit-playground-bluefruit.md)
- [Adafruit NeoPXL8 FeatherWing and Library](https://learn.adafruit.com/adafruit-neopxl8-featherwing-and-library.md)
- [Weather Display Matrix](https://learn.adafruit.com/weather-display-matrix.md)
