
Diffusor and cover for 16x16 WS2812b LED matrix
thingiverse
The first version published here is a rather minimalist case with a surprisingly effective diffuser for one of those quadratic LED matrices that can be obtained on Aliexpress with 256 WS2812b LEDs, 16 rows and 16 lights, spaced in a 10mm raster. A diffuser, or scrim, softens the light and spreads it over a wider area. In the matrix there is a very bright LED and then 8mm darkness in each direction and then the next led. This makes recognizing subtle differences in brightness and color very difficult and our brains fail to recognize an image unless it is 'flat' with few colors and no dithering. The well-known articles on the brainy-bits site show what goes for that approach. https://www.brainy-bits.com/arduino-16x16-matrix-frame/ https://www.brainy-bits.com/create-arduino-array-from-pictures/ With a diffuser, the light of each LED ideally covers the entire 10x10mm plain around it. And suddenly the error correction in our visual cortex works wonders and allows us to recognize fine structures from dithered colors. Looking directly at the matrix there is only pixel salad, with the diffuser I see the emoji-picture. (For that is what I was trying to achieve, a display for emoji icons.) I tried three different approaches: a single sheet of white astic close to the LEDs (low effect), a single sheet of plastic in ~10mm distance to the led matrix (medium) and then two layers, one close to the light, the other 8mm apart. That one works best. (I tried to capture the difference in a photo, you see the three left to right but it's not the same than seeing it with your own eyes. Also, the kiss image isn't very much dithered at all and actually is an example of a 'flat' image.) The lightweight version contains just the display frame and it is assumed that the MCU and cabling have their own cover or are hidden from sight. A second version with a more stable case big enough to house the ESP8266 is almost done but needs to reintegrate the diffuser. Ah, just one more thing: not the smallest question in this context is how to prepare images so they can be shown on the matrix. Those two articles linked above give a good introduction into how the matrix is organized in a zig-zag topology and so the images need to be shuffled accordingly. The second article shows a way to do that but it is not pretty, involves manual line-by-line copy-pasting and takes ages. I've written a bash script for it which combines imagemagick and another tool to convert hundreds of images in half a minute. Find it at https://github.com/planetar/matrixPics
With this file you will be able to print Diffusor and cover for 16x16 WS2812b LED matrix with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Diffusor and cover for 16x16 WS2812b LED matrix.