Git Product home page Git Product logo

led-matrix's Introduction

LED-matrix

16x16 pixel RGB LED matrix with support for WLED and text (digits only for now).

Price for components was about 18โ‚ฌ (see comment).

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 image

More well-documented projects are mentioned here in german and at https://github.com/2dom/PxMatrix#examples.

TODO

Log

Click to expand

01.03.22 Created this repo and extracted commits from smart-home:

$ 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

led-matrix's People

Contributors

vogler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

led-matrix's Issues

Missing Config

Hey it would be nice if one could use you project with a config.ini like written down here:

https://docs.python.org/3/library/configparser.html Configparser

Aka that it works with mqtt with name and pw like in Hass :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.