# Bricktunes: LEGO Synthesizer Glove

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/125/365/medium800/sensors_bricktunes-5263.jpg?1697587559)

https://youtu.be/vd9vivHPXOE

Point at a LEGO part and make music with the Bricktunes synthesizer.

Bricktunes is a LEGO color sensing glove-mounted synth. It uses an eight channel color sensor to distinguish between bricks and plays synthesized chime arpeggios with synthio in CircuitPython running on a Feather Prop-Maker RP2040.

This project was inspired by an MIT Media Lab project by friend-of-Adafruit [Jay Silver](https://1derful.org/).

### LEGO Colors

Many different LEGO colors were tested during the development of Bricktunes. While I was able to have the sensor distinguish between over 25 different colors (of the 64 I tested) -- there are trade-offs to be made between speed and accuracy. Ultimately, I settled on 12 colors that are distinct enough to register quickly with very few false reads.

Here's a&nbsp;[helpful guide](https://brickset.com/colours/type-Solid/status-Current)&nbsp;on the currently produced solid brick colors.

![sensors_bricktunes-4948.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/375/medium640/sensors_bricktunes-4948.jpg?1697599803)

## Parts & Materials
### Adafruit RP2040 Prop-Maker Feather with I2S Audio Amplifier

[Adafruit RP2040 Prop-Maker Feather with I2S Audio Amplifier](https://www.adafruit.com/product/5768)
The Adafruit Feather series gives you lots of options for a small, portable, rechargeable microcontroller board. By picking a feather and stacking on a FeatherWing you can create advanced projects quickly. One popular combo is our [Feather M4](https://www.adafruit.com/product/3857)...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5768)
[Related Guides to the Product](https://learn.adafruit.com/products/5768/guides)
![Video of a white hand pressing a button to briefly turn an LED strip into white lights. Also wired up to the microcontroller are a servo motor and a speaker.](https://cdn-shop.adafruit.com/product-videos/640x480/5768-09.jpg)

### Adafruit AS7341 10-Channel Light / Color Sensor Breakout

[Adafruit AS7341 10-Channel Light / Color Sensor Breakout](https://www.adafruit.com/product/4698)
The **Adafruit AS7341 10-Channel Light / Color Sensor Breakout** is a multi-channel spectrometer, which is a special type of light sensor that is able to detect not only the amount of light present but also the amounts of light within different wavelengths. This means that you can...

In Stock
[Buy Now](https://www.adafruit.com/product/4698)
[Related Guides to the Product](https://learn.adafruit.com/products/4698/guides)
![Angled shot of black, rectangular light sensor breakout.](https://cdn-shop.adafruit.com/640x480/4698-10.jpg)

### Mono Enclosed Speaker with Plain Wires - 3W 4 Ohm

[Mono Enclosed Speaker with Plain Wires - 3W 4 Ohm](https://www.adafruit.com/product/4445)
Listen up! This single&nbsp; 2.8" x 1.2" speaker&nbsp;is&nbsp;the perfect addition to any audio project where you need 4 ohm impedance and 3W or less of power. We particularly like these speakers as they are small and enclosed for good audio volume and quality. This speaker _does..._

In Stock
[Buy Now](https://www.adafruit.com/product/4445)
[Related Guides to the Product](https://learn.adafruit.com/products/4445/guides)
![Enclosed Speaker with wires](https://cdn-shop.adafruit.com/640x480/4445-01.jpg)

### STEMMA QT / Qwiic JST SH 4-Pin Cable - 400mm long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 400mm long](https://www.adafruit.com/product/5385)
This 4-wire cable is a little over 400mm / 15.7" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/5385)
[Related Guides to the Product](https://learn.adafruit.com/products/5385/guides)
![Angled shot of 400mm long STEMMA QT cable.](https://cdn-shop.adafruit.com/640x480/5385-01.jpg)

### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
![Angled shot of a Lithium Ion Polymer Battery 3.7V 500mAh with JST-PH connector.](https://cdn-shop.adafruit.com/640x480/1578-03.jpg)

### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
![Black Nylon Screw and Stand-off Set with M2.5 Threads, kit box](https://cdn-shop.adafruit.com/640x480/3299-00.jpg)

### Glove

Any glove should work fine, however [these work gloves](https://www.awp-gear.com/product/duck-canvas-max-impact/) are especially nice for mounting parts, thanks to their rubber patches. I got a pair at my local hardware store for about $20.

![sensors_bricktunes-4974.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/374/medium640/sensors_bricktunes-4974.jpg?1697590254)

### LEGO Plates

Not all LEGO parts come in every color. Instead of bricks we're technically using plates. You can order these from the [LEGO Pick a Brick](https://www.lego.com/en-us/pick-and-build/pick-a-brick) shop, or a seller through [Brinklink](https://www.bricklink.com/v2/main.page) or other online stores.

You can use as many pieces as you like. Four each of the 2x4 plates in the following colors is a great starting point. Note: the names used are from BrickLink's Studio and Marketplace, with the official LEGO name in parentheses where different.

- **Blue (Bright Blue)**
- **Bright Green**
- **Bright Light Orange (Flaming Yellowish Orange)&nbsp;**
- **Bright Pink (Light Purple)**
- **Coral**
- **Dark Purple (Medium Lilac)**
- **Dark Turquoise (Bright Bluish Green)**
- **Lavender&nbsp;**
- **Lime (Bright Yellowish Green)**
- **Red (Bright Red)**
- **Sand Green**
- **Yellow (Bright Yellow)**

![sensors_bomplates.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/380/medium640/sensors_bomplates.jpg?1697602599)

![](https://cdn-learn.adafruit.com/assets/assets/000/125/381/medium800/sensors_platecolors_2.png?1697602622)

Info: 

### More Color Info

The last time LEGO published an official color chart was 2016, see the image below. Since then a few new colors have been released -- Coral, Neon Yellow, Medium Tan, and Medium Brown -- and the Dark Turquoise color was brought back, so there have been community efforts to produce updated charts, such as the [one found here](https://bricknerd.com/home/the-lego-color-palette-2023-edition-1-24-23).

![](https://cdn-learn.adafruit.com/assets/assets/000/125/527/medium800/light_LEGO-Color-Palette-2016.jpg?1697912705)

- [Next Page](https://learn.adafruit.com/bricktunes-lego-glove-synthesizer/assemble-the-bricktunes-circuit.md)

## Featured Products

### Adafruit RP2040 Prop-Maker Feather with I2S Audio Amplifier

[Adafruit RP2040 Prop-Maker Feather with I2S Audio Amplifier](https://www.adafruit.com/product/5768)
The Adafruit Feather series gives you lots of options for a small, portable, rechargeable microcontroller board. By picking a feather and stacking on a FeatherWing you can create advanced projects quickly. One popular combo is our [Feather M4](https://www.adafruit.com/product/3857)...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5768)
[Related Guides to the Product](https://learn.adafruit.com/products/5768/guides)
### Adafruit AS7341 10-Channel Light / Color Sensor Breakout

[Adafruit AS7341 10-Channel Light / Color Sensor Breakout](https://www.adafruit.com/product/4698)
The **Adafruit AS7341 10-Channel Light / Color Sensor Breakout** is a multi-channel spectrometer, which is a special type of light sensor that is able to detect not only the amount of light present but also the amounts of light within different wavelengths. This means that you can...

In Stock
[Buy Now](https://www.adafruit.com/product/4698)
[Related Guides to the Product](https://learn.adafruit.com/products/4698/guides)
### Mono Enclosed Speaker with Plain Wires - 3W 4 Ohm

[Mono Enclosed Speaker with Plain Wires - 3W 4 Ohm](https://www.adafruit.com/product/4445)
Listen up! This single&nbsp; 2.8" x 1.2" speaker&nbsp;is&nbsp;the perfect addition to any audio project where you need 4 ohm impedance and 3W or less of power. We particularly like these speakers as they are small and enclosed for good audio volume and quality. This speaker _does..._

In Stock
[Buy Now](https://www.adafruit.com/product/4445)
[Related Guides to the Product](https://learn.adafruit.com/products/4445/guides)
### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
### Black Nylon Machine Screw and Stand-off Set – M2.5 Thread

[Black Nylon Machine Screw and Stand-off Set – M2.5 Thread](https://www.adafruit.com/product/3299)
Totaling 380 pieces, this **M2.5 Screw Set** &nbsp;is a must-have for your workstation.&nbsp;You'll have enough screws, nuts, and hex standoffs to fuel your maker tendencies&nbsp;for days on end! M2.5 size screws fit almost all of the Adafruit breakout/dev board mounting holes...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3299)
[Related Guides to the Product](https://learn.adafruit.com/products/3299/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 400mm long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 400mm long](https://www.adafruit.com/product/5385)
This 4-wire cable is a little over 400mm / 15.7" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

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

## Related Guides

- [Adafruit RP2040 Prop-Maker Feather](https://learn.adafruit.com/adafruit-rp2040-prop-maker-feather.md)
- [Arcade Bonnet Controller](https://learn.adafruit.com/arcade-bonnet-controller.md)
- [HalloWing Magic 9 Ball](https://learn.adafruit.com/hallowing-magic-9-ball.md)
- [NeoKey Emoji Keyboard](https://learn.adafruit.com/neokey-emoji-keyboard.md)
- [Adafruit AS7341 10-Channel Light / Color Sensor Breakout](https://learn.adafruit.com/adafruit-as7341-10-channel-light-color-sensor-breakout.md)
- [Ninja Timer: Giant 7-Segment Display](https://learn.adafruit.com/ninja-timer-giant-7-segment-display.md)
- [Feather Fingerboard](https://learn.adafruit.com/feather-fingerboard.md)
- [How to Make Animated Graphics for Hologram Displays](https://learn.adafruit.com/how-to-make-animated-graphics-for-hologram-displays.md)
- [USB to Eurorack Power Supply](https://learn.adafruit.com/usb-to-eurorack-power-supply.md)
- [Haunted Air Blaster](https://learn.adafruit.com/automated-air-blaster.md)
- [PyPortal Titano Weather Station](https://learn.adafruit.com/pyportal-titano-weather-station.md)
- [Close Encounters of the MIDI NeoPixel Visualizer Kind](https://learn.adafruit.com/midi-neopixel-visualizer.md)
- [reef-pi Guide 4: Water Level Controller](https://learn.adafruit.com/reef-pi-water-level-controller.md)
- [Audio Synthesis with CircuitPython synthio](https://learn.adafruit.com/audio-synthesis-with-circuitpython-synthio.md)
- [Adabot Toy Robot Friend](https://learn.adafruit.com/adabot-rp2040.md)
- [3D Printed Case for Adafruit Feather](https://learn.adafruit.com/3d-printed-case-for-adafruit-feather.md)
