The Adafruit LED Glasses Front Panel has 116 artfully arranged 2x2mm RGB LEDs, all controlled with the Circuit Playground Bluefruit, so it's plug-and-play.

On each side are STEMMA QT / JST-SH plugs - use these connectors with this cable to attach it to your Circuit Playground Bluefruit. Of course, you can pick left or right, then if you want to add on more hardware, like an accelerometer or light sensor, you can chain it onto the other side.

There are also six mounting holes for attaching to a glasses frame of your choosing - we recommend getting some 'fashion frames' from the mall or a street vendor. They're all the style and will provide a great mechanical support.

# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
# SPDX-License-Identifier: MIT

import board
from rainbowio import colorwheel
from adafruit_is31fl3741.adafruit_ledglasses import LED_Glasses
import adafruit_is31fl3741

i2c = board.I2C()  # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C()  # For using the built-in STEMMA QT connector on a microcontroller
glasses = LED_Glasses(i2c, allocate=adafruit_is31fl3741.MUST_BUFFER)

wheeloffset = 0
while True:
    for i in range(24):
        hue = colorwheel(i * 256 // 24 + wheeloffset)
        glasses.right_ring[i] = hue
        glasses.left_ring[23 - i] = hue
    glasses.show()
    wheeloffset += 10

This guide was first published on Jan 05, 2022. It was last updated on Apr 17, 2024.

This page (EyeLights LED Glasses) was last updated on Apr 17, 2024.

Text editor powered by tinymce.