Skip to content
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

Hub75 output #108

Merged
merged 64 commits into from
Mar 9, 2024
Merged

Conversation

netmindz
Copy link
Collaborator

@netmindz netmindz commented Jan 13, 2024

Option to set LED type of Hub85Matrix to drive HUB75 displays directly rather than using APA102 output and then a second ESP32 running Pixelvation

Panel size is limited by memory so for larger than 32x32 we probably need to use PSRAM, but I'm waiting on a board to come in stock that has this so I can test 64x64

MatrixPanel_I2S_DMA *display = nullptr;
VirtualMatrixPanel *fourScanPanel = nullptr;
HUB75_I2S_CFG mxconfig;
uint8_t r, g, b, x, y;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I be using fast here @softhack007 ?

I pulled these RGB values out so that it was only a single memory allocation rather than local variable. Not sure if that really helps or if the complier will handle this. Maybe I'm thinking too much like Java

@netmindz netmindz merged commit 1f4d5b8 into MoonModules:mdev Mar 9, 2024
31 checks passed
@netmindz netmindz deleted the ESP32-HUB75-MatrixPanel-DMA branch March 9, 2024 13:44
@jadenv
Copy link

jadenv commented Jul 8, 2024

Supports 32x32, 64x32 and 64x64

@netmindz were you able to drive a 64x64 matrix with the Adafruit Matrix Portal S3? Saw you had mentioned before it might not have enough memory, so just wanted to double check before ordering my panel to try this out 🚀

@netmindz
Copy link
Collaborator Author

netmindz commented Jul 8, 2024

Correct @jadenv

PXL_20240708_190906131 MP

@netmindz
Copy link
Collaborator Author

netmindz commented Jul 9, 2024

@eadmaster
Copy link

eadmaster commented Jul 10, 2024

Is this enabled in the regular esp32 4mb build?

are the pin numbers configurable?

@netmindz
Copy link
Collaborator Author

Both your questions @eadmaster are answered here https://mm.kno.wled.ge/2D/HUB75/

@eadmaster
Copy link

eadmaster commented Jul 11, 2024

You need to use a build with WLED_ENABLE_HUB75MATRIX defined, for example, esp32_4MB_V4_S.

does this include github beta releases like 'WLEDMM_0.14.1-b32.40_esp32_4MB_S.bin'?

Or, should i get the 'V4' version instead?
https://github.com/MoonModules/WLED/releases/download/v0.14.1-beta.32/WLEDMM_0.14.1-b32.40_esp32_4MB_V4_S.bin

@netmindz
Copy link
Collaborator Author

It must be the V4 build listed @eadmaster

@softhack007
Copy link
Collaborator

You definitely need a "V4" build

  • esp32_4MB_V4_S
  • adafruit_matrixportal_esp32s3

@eadmaster
Copy link

eadmaster commented Jul 13, 2024

EDIT: nevermind, i've figured out you need to setup BOTH "2d configuration" and "LED Preferences" with the appropriate settings.

now i'm getting the "MatrixPanel_I2S_DMA !KABOOM! I2S memory allocation failed" message, any suggestion?

My Led matrix is 128x64 , and it was working fine with the same library and these settings.

@netmindz
Copy link
Collaborator Author

A closed merge request isn't really the best place to provide support - please discuss here - https://discord.gg/Pgdv8MgR

Running a minimal sketch is not the same memory requirements as running the whole of WLED

Also, if you look at the docs for the library they say that 128x64 is the very limit of what is possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants