Skip to content

SL-GlassesLed26x7 - a 26 by 7 matrix LED glasses: circuit, examples and template arduino code

License

Notifications You must be signed in to change notification settings

DrSapling/LED-Glasses-Matrix-26x7-SL-GlassesLed26x7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SL-GlassesLed26x7 - LED Glasses Matrix

Reverse-engineered 26x7 LED matrix driver for LED glasses, allowing custom animations using a microcontroler.

TL;DR

Want to see it in action? Check out these examples.


This repository contains:

  • circuit connections
  • example arduino code
  • reverse engineering history
  • bitmap image generator

General overview

GlassesLed26x7 is circuit board used in LED Glasses like these from Aliexpress or these.

alt text It is a 26x7 LED matrix designed using Charlieplexing

The design uses a HC899S003A, but I removed it and used an ESP32 for convenience.

Warning

You have to drive the LEDs with around 3.3V !!! That is why I used an ESP32, what i had on hand.


1. Pin connection

I have numbered the pins in order (not the chip pin numbers or ESP pin numbers).

alt text

  • 1-13 digital high and low
  • 14-16 digital low only
  • VCC was originally used for battery +
  • BTN was originally used for button

The board includes 5 pins for flashing firmware to the original HC899S003A chip.

(If you manage to do it I can link you)

The pins connect LEDs into 13 sections of 14 LEDs

alt text

Whenever a pin for digital low would be the same as digital high it is swapped for 15 (for odd section number) and 16 (for even section number)

2. Examples

Having an array of microcontroler pins pins we can drive the matrix iterating throuth every pin for each section and light them up occording to the bitmap image.

I also built a bitmap generator for ease of development.


TODO

Driving the matrix using register manipulation for longer glow time, thus brighter image.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0) - see the LICENSE file for details.