heavily inspired by the c-base matelight by jaseg, "just" shrunken down
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Mate internal.svgmount for huge power distribution barssvg+xml - 52.84 kB - 12/23/2019 at 19:11 |
|
|
mateLightLightcase.svgthe actual casesvg+xml - 118.18 kB - 12/23/2019 at 19:07 |
|
|
sticker.svgThe club matrix buttonssvg+xml - 39.88 kB - 12/23/2019 at 19:07 |
|
|
plate.svgdoorsvg+xml - 13.80 kB - 12/23/2019 at 19:07 |
|
|
The PSU has three Terminal outputs for 5V. One is used for connecting directly to the Raspberry PI. The other two are each connected to a 6 position screw terminal adapter (https://www.amazon.de/gp/product/B076CGXKBY/) with a 14 gauge silicone cable (probably too big for use case). A pair of ground and voltage terminals can supply an 8x8 matrix directly. The data wires are then connected like shown in a previous log (https://hackaday.io/project/169093-club-matrix/log/172245-from-10-x-8x8-leds-to-40-x-16-leds).
We had an event with short talks at the xHain Hackerspace recently and we wanted to use the club matrix as a timer for the presenter. I have yet to write a font generator and a script to do that though and the only thing I can kind of reliably do is playing a video. The sane solution: search on youtube for a 15min countdown video, which kind of worked.
But since we were at the hackerspace, one member wanted to try to let ffmpeg generate the countdown. The first version of the script by Niklas was almost perfect, but used a PNG as a background image. Then another member (danimo) took a look and removed the background image and let ffmpeg turn the background from green to red in the last minute.
All done in a filter for ffmpeg. Very nice.
https://gist.github.com/davedarko/956772590b413734c38af7f55b3eaa04
Here at 36C3 congress the "bla.local" bonjour stuff doesn't work. Incase you see 127.0.1.1 as the IP, you have to edit that out in the following file:
sudo nano /etc/hosts
So this took me a while. The library that I'm using stores the matrix data in a one dimensional array with the length of 40 * 16.
Each LED matrix is 8x8 and are connected in that order:
0 - 1 - 2 - 3 - 4 | 9 - 8 - 7 - 6 - 5
And each LED matrix is wired like this:
0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 8 - 9 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
When I finally found the error in this function, I had already written a lookup table for all the 640 LEDs. This is fixed for my setup, but it should be possible to rearrange it for others.
int matrix_arrangement[] = { 0,1,2,3,4,9,8,7,6,5 };
void club_matrix_render(void)
{
for (int i=0; i<led_count; i++)
{
int led_real_x = i % width; // 0 to 39
int led_real_y = i / width; // 0 to 1
int matrix_number_x = led_real_x / 8; // should be 0 to 4
int matrix_number_y = led_real_y / 8; // should be 0 or 1
int matrix_number = matrix_number_y * 5 + matrix_number_x; // 0 to 9
int matrix_x = led_real_x % 8; // 0 to 7
int matrix_y = led_real_y % 8; // 0 to 7
ledstring.channel[0].leds[matrix_arrangement[matrix_number] * 64 + matrix_y * 8 + matrix_x] = matrix[i];
}
}
Create an account to leave a comment. Already have an account? Log In.
can't really take it apart to show the wiring directly, hope this new log helps - if not let me know and I draw something :)
https://hackaday.io/project/169093-club-matrix/log/197717-power-wiring
Yes this is helpful! Thanks. Your internal wiring looks so nice.
Would love to show you how to put FlashLex on this. I have a very similar project that you could probably use to show you how. https://hackaday.io/project/168952-raspberry-pi-3-iot-32x32-led-matrix
Hi! Thanks, I think the way the Neopixel matrices talk and are arranged are quite different though. I'm sitting here at the chaos communication congress and was successfully sending UDP packets to it.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Hey Dave, can you share the photos of the internal wiring? I found some led matrices and want to mount them like you did.