Mapping for our ICN2037-based 64x32 1/8 scan panels #867
Replies: 13 comments 4 replies
-
|
platformio.ini: |
Beta Was this translation helpful? Give feedback.
-
So you should have named your topic "Mapping for our panels." With actual name your title creates the false impression that this is a universal mapping for any 64x32 s8 panels on a ICN2037 driver, which is incorrect. I see in the code that you tried three mapping options with different execution times. Why didn't you test the mapping offered in the library? It's significantly shorter in code size than your variants. It would be interesting to compare the speed. |
Beta Was this translation helpful? Give feedback.
-
|
@board707 Updated title. Will test and reply. Initially we were unable to get the default mappings to work. |
Beta Was this translation helpful? Give feedback.
-
|
Tests: PANEL_SCAN_TYPE = FOUR_SCAN_32PX_HIGH Our code with the correct mapping (for our panel) runs in 4393us. The division in the following code may be slowing down performance: Changing the code to speeds it up slightly: 6614us. Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
|
Update: retested our custom mapper and now it's benchmarking at 6470. Use that number when comparing to above. I added a build flag "build_type = debug" that apparently slows down the program. |
Beta Was this translation helpful? Give feedback.
-
You tested an incorrect code. Accordingly to the name of define it is a code for 16px high panels - i.e 32x16 or similar. Your panel is 32px height. If you're interested, I can customize the mapping for your panel remotely. To do this, you need to run the Addition: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the offer, but I'm quite happy with our custom map. That said, I've seen your work on other posts. You are a rock star! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Please run the library example |
Beta Was this translation helpful? Give feedback.
-
|
Hello, it was my fault. Opposite cable in the connector :(. Now, i run this code and have the following video: `#include "ESP32-VirtualMatrixPanel-I2S-DMA.h" protected: }; // custom getCoords() method for specific pixel mapping coords = VirtualMatrixPanel::getCoords(x, y); // call base class method to update coords for chaining approach if ( coords.x == -1 || coords.y == -1 ) { // Co-ordinates go from 0 to X-1 remember! width() and height() are out of range! uint8_t pxbase = panelResX; // pixel base // mapper for panels with 16 pixs height (32x16 1/4) // Panel configuration // Use a single panel for tests // Chain settings, do not cnahge // placeholder for the matrix object // placeholder for the virtual display object /****************************************************************************** mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right. // OK, now we can create our matrix object // let's adjust default brightness to about 75% // Allocate memory and start DMA display dma_display->clearScreen(); // create FourScanPanellay object based on our newly created dma_display object } void loop() { MicrosoftTeams-video.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
@vladimirkirilov785-blip |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
Working color map for the following 64x32 color panels:
Markings: 2020-06-24. DH5-64X32-8S-A-V1.0.
Chips:
ICN2037 LED Driver
RUC7258D 3 of 8 row mux
74HC245KA Octal bus transceiver. Used to regenerate signal for next panel.
main.h
main.cpp
Also works for 8 bit color.
This color map works for our color panels. Please don't ask me to fix your mapping.
Beta Was this translation helpful? Give feedback.
All reactions