Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vogler/led-matrix

16x16 pixel RGB LED matrix with support for WLED and text
https://github.com/vogler/led-matrix

3d-printing esp32 esp8266 led-display led-matrix rgb-led wemos-d1-mini wled ws2812b

Last synced: 3 months ago
JSON representation

16x16 pixel RGB LED matrix with support for WLED and text

Awesome Lists containing this project

README

        

# LED-matrix

16x16 pixel RGB LED matrix with support for [WLED](https://github.com/Aircoookie/WLED) and text (digits only for now).

Price for components was about 18€ (see [comment](https://www.mydealz.de/deals/divoom-pixoo-pixelart-display-16x16-nft-foto-frame-inkl-akku-1954933#comment-35482339)).

Use WLED and its interfaces for controlling the light and showing effects.
To show digits (which WLED can't), see `wled.py` which sends pixel information to WLED via UDP.

Run a server taking commands via MQTT on `lights/wled-matrix` with `python3 wled.py mqtt`.
Commands are `on, off, num 123, co2`.

Grid and case were designed in Fusion 360: https://a360.co/36UBWL9

You can 3D print the `.stl` files in `models`.
Beware of warping (visible in top right corner below).

![image](https://user-images.githubusercontent.com/493741/156219889-854490f8-e715-45d4-9400-5dd8a94ac959.png)
![image](https://user-images.githubusercontent.com/493741/156219938-665f8553-356a-4c82-9fce-6b1e8f622a15.png)

More well-documented projects are mentioned [here in german](https://www.mydealz.de/comments/permalink/36838747) and at https://github.com/2dom/PxMatrix#examples.

### TODO
- [ ] endpoint for animations, .gif upload etc.
- via [WLED: Scrolling Text Feature](https://github.com/Aircoookie/WLED/issues/1207#issuecomment-1193900656):
Webserver to upload and display jpeg: [webserver_jpeg_ws2812.ino](https://github.com/datasith/Ai_Demos_ESP8266/blob/master/webserver_jpeg_ws2812/webserver_jpeg_ws2812.ino)
- [JS Pixel Art Editor](https://eloquentjavascript.net/19_paint.html)

### Log

Click to expand

01.03.22 Created this repo and [extracted commits](https://www.pixelite.co.nz/article/extracting-file-folder-from-git-repository-with-full-git-history/) from [smart-home](https://github.com/vogler/smart-home/search?q=wled&type=commits):
```console
$ cd smart-home
$ git log --pretty=email --patch-with-stat --reverse --full-index --binary -- audio-reactive-led-strip wled.py > ../patch
$ cd ../LED-matrix
$ git am < ../patch
```

19.02.23 Was still commiting to `smart-home/wled.py` instead of here. Extracted new commits, deleted the file there and added this repo as a submodule.

Also noticed that GitHub showed 'Mar 1, 2022' for all extracted commits.
Reason was that AuthorDate was correct, but CommitDate was set to the time of amend operation. Normal `git log` shows AuthorDate, `git log --pretty=fuller` also shows CommitDate which is what GitHub uses.
Fix was to use `git am --committer-date-is-author-date`. However, had to get rid of the commits with the wrong date first, and then redo:

```
$ cd ../smart-home
$ git log --pretty=email --patch-with-stat --reverse --full-index --binary -- audio-reactive-led-strip wled.py > ../wled.patch
$ # split it into wled1.patch (up to Nov 9 2021) and wled2.patch (from Nov 12 2022)
$ cd ../LED-matrix
$ git log --pretty=email --patch-with-stat --reverse --full-index --binary > ../led-matrix.patch
$ # delete commits that are also in wled.patch from led-matrix.patch
$ git reset b3d14b1f3fea1b708972e8da08000790efedad8c # go back to 'Initial commit'
$ git am --committer-date-is-author-date < ../wled1.patch
$ git am --committer-date-is-author-date < ../led-matrix.patch
```