-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ESP32-HUB75-MatrixPanel-DMA bus to WLED #3072
Comments
We have used the mrfaptastic DMA DIY project you linked with esp32 only without wled and the wiring picture will tell you that doing that with wled only without extra hardware is a long shot . In our DIY project the wifi did not work and the number of pins used is not ideal Might be a more practical solution is to use something like https://github.com/Pixelvation/Pixelvation with wled |
Thank you for your reply. Wiring, Recommended by ESP32-HUB75-MatrixPanel-DMA
|
Interesting you can use wifi ,we only tested mrfaptastic DMA project a while back and did faced few issues with wifi but could be old build / info or we had an issue in our code . We will try to test multiple projects including the one you linked . If wifi is usable then could it be possible to add ArtNet or DDP support to your project ? if so then we can use wled on another mcu or even use something like xlights for animation and effects . I hope the ones you linked are easy to replicate |
@dosipod I've done a lot of work with the esp32 and Hub75, mainly just using the mtfapptsstics library. I'm happy to run some tests if it would help, just let me know what you want me to try and I'll let you know I have designed some open source hardware to connect to that makes that part a lot simpler (esp32 Trinity ), I'm also happy to provide one to a maintainer of wled if it would help the process |
Setup mtfapptsstics project and access wifi at same time . create a web server and see if it is stable . Once your tested that then share pics and video of the same along with code used |
Ok sure.
I have definitely made projects in the past with a webserver and the
matrix, but I'll make a minimum viable project and share it here.
…On Mon 20 Mar 2023, 02:14 AlDIY, ***@***.***> wrote:
Setup mtfapptsstics project and access wifi at same time . create a web
server and see if it is stable . One your test that then share pics and
video of the same along with code used
—
Reply to this email directly, view it on GitHub
<#3072 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL5PQSTCVNELGWB465MQIDW464Q5ANCNFSM6AAAAAAUNNXGX4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here is a video of a project that has a web server running on an ESP32 while also controlling the matrix. The project is a modified "HelloServer" from the ESP32 webserver examples, combined with an example I have for just scrolling text. Code for the example is here: https://gist.github.com/witnessmenow/b12decb79b4c9c782d1c0af4c43559b6 Is this what you were looking for @dosipod ? |
Which hw you have use for that ?"ESP32 Trinity ? |
Yeah that's using a Trinity. I'm not sure what you mean by "regular esp32"? The Trinity is just a uniquely shaped esp32 dev board, it's nothing special. It's just a wroom module with an appropriate connector broken out for connecting to the display. All it has other than that from an esp32 point of view is a USB to serial and a 3.3v reg. Doesn't have any psram or anything like that. Anything you can make with a Trinity you can make with any esp32 with enough pins broken out. Here is a wiring diagram that is equivalent logically to the Trinity. link to Full size to actually read the pin numbers As you mentioned in your earlier comment about doing it diy, there is a lot of connections and it's a bit of a pain, so the Trinity just makes it easier. Trinity is fully open source so if people want to make their own, they are welcome to. |
I trust what you are saying as you have showing in the video , only small matter that Trinity board cost $30 but a cheaper option that work with wled out of the box is https://github.com/Pixelvation/Pixelvation . During our limited testing which could have shortcoming of the wiring as you see in the pic we posted it was not stable with wifi . We have tested that almost one year ago and might try to do that again with the updated code but honestly not looking forward to wiring mess again |
Looking at the Pixelvation, it and the Trinity are fundamentally the same, so I may try get pixelvation engine running on the Trinity as an intermediate solution. Any progress made on this would not be Trinity specific, it could even be used with pixelvation directly, rather than it emulating APA102 from a second ESP32, or with any ESP32 if your patient enough to wire it up 😄 As mentioned earlier, I'm happy to provide a trinity to a WLED contributer for working on this, with no expectation of results or even progress. (any work at all even!) From a quick look, without fundamentally changing how WLED works, adding support the matrix panels would make more sense at the NeoPixelBrightness level? If one was to create a new LED type for NeopixelBrightness, which interfaced with the HUB75 matrix, then getting it working in WLED would be straight forward. I only took a quick look at everything at lunch time so I could be mistaken. Is there LED abstraction layer I missed in WLED? |
Some the guys are asking if you could show the video running mtfapptsstics effects along side the web server as you only showed text and not effects . Also the code you linked to is not complete so the guys could test it . attache the whole project . And we do have our own HW but mainly work with normal MCUs and noting that is costly so that others could easily replicate |
That code is the complete project? There are two dependant libraries, mtfapptsstics matrix library and adafruit gfx. Other than that, just fill in your ssid and password. The only other thing I can think of is the pins for matrix, I use the default pins of the library so I don't need to set them. If you are using different pins you can set them in display config like I have for the e pin on like 72. I can add a webserver to the effects demo if you want, not sure what it will prove? The text demo is already a constantly updating project already as it needs to scroll the text Ok, I get it, you think the Trinity is too expensive 😅 let's remove the Trinity from the discussion |
Added HelloServer code to Aurora: Video: https://www.youtube.com/watch?v=9gHJLBsv8c8 Code: https://github.com/witnessmenow/AuroraPlusWebserver-WLEDTest Some Instructions:
|
Very interesting , few days ago i was in the middle of setting up colorlight card and hub75 with FPP with the aim to use that with DDP and wled. . Since the webserver is fine do you think it would be possible to setup the MrFaptastic unit as DDP or artnet receiver . This way we could use all wled effects . Also this is the code for audio sync might be useful here https://github.com/netmindz/WLED-sync . We have 4 different projects at the moment with hub75 and might change the direction for that based on your good outcome , We are on an offsite project at the moment but for sure will test that in more details after. The price of HW is a bit of a concern as we work with students but we are also testing with PIs and receiving cards so might be Trinity cost is reasonable ( i see $30 vs $5 esp32 is a bit crazy but i might still try to get it if we can get other hw with it) |
why even bother with using trinity, if you think its too expensive you can diy something like this, like what i did. which is just a standard ESP32 with an FRC connector and an external antenna bodged on. as for WIFI it works fine in my experience, here is some code which uses WiFi and hosts a Web-UI https://github.com/mzashh/HUB75-Pixel-Art-Display i have also ported witnessmenow's HUB75 Web draw example to the current library, which allows to draw on the matrix via websockets so confirming that websockets also work, ill share the code for that soon if someone needs it just in case. the only thing to worry about is the panel variation as there are 100's of panel variations and not all are compatible with the library |
Yeah we have mrfaptastic project with standard ESP32 as you see in the pics , performance was not bad but not that great , I was looking for a project that uses a web server in a stable way Might since your project is newly updated ( still Asynchronous ) that you could test it as an artnet or ddp receiver Still interesting Pixel-Art-Display . And FYI for Asynchronous gif player and more there are commercial wifi cards that cost around $10 which i have two of at the moment so might be if that is your use case to go for that as there is an app and it is very much stable . Real time control is what we are after |
What about Matrix Portal from Adafruit? That and the Divoom App would be awesome |
The matrix portal isn't much different than using a standard ESP32, its pretty much the same thing except for the convenience of wiring up the matrix. As for Divoom, their stuff is proprietary and most of their products use obscure mcu's like the ANYKA AK1052 which have poor documentation except for the Divoom pixoo max (64x64) which uses an ESP32 in combination with an ARTERY AT32 (stm 32 clone). so basically we cant use their app and even if we manage to reverse engineer it, it would be illegal to use their stuff. tho i am working on a similar pixel art display, and have lots of plans for it, but due to my current circumstances I don't have enough free time to work on it even though i have a lot of features almost done/planned for it. Here is the repo link if you are interested. |
thanks for your answer, ill be waiting, maybe someone clones the software, would be comfortable to use instead of coding everytime to change the screen ;) |
that's pretty much what my software is, for now you can upload multiple GIF files on it via a web page and play each one or let them loop one by one, no need to reprogram software. |
Ok i will test it, thank you |
I am not really sure of the progress as of now as i did not have a chance to test but someone is working on native hub75 support with wled MoonModules#87, might try it out |
Hey all. I was curious if anyone got this working with WLED. I'm trying to use a third party software called SignalRGB and if I can get hub75 to be controlled by wled that would be awesome. Thanks for all the previous work on this. |
I'm using a barebone ESP32 and it's working beautifully. This is the library: https://github.com/jnthas/clockwise |
Support has been added to MoonModules - MoonModules#108 and https://github.com/MoonModules/WLED/releases/tag/untagged-85eec230baeafee03968 There is also a MR open to add to the AirCookie version of WLED - #3777 |
This is coming to AC shortly |
Thank you for providing excellent. WLED provides an excellent software framework that allows users to customize functions。
Describe the solution you'd like
HUB75 is a common LED matrix panel interface, ESP32-HUB75-MatrixPanel-DMA is a popular driver library. It seems possible to add ESP32-HUB75-MatrixPanel-DMA as WLED bus to make WLED support HUB75-MatrixPanel。
The text was updated successfully, but these errors were encountered: