SmartLED Shield for Teensy 4

by Pixelmatix

Drive high quality graphics to HUB75 RGB matrix panels using the Teensy 4

View all updates Sep 10, 2020

[Video] Demo of Improved Transparent Layers and Larger Fonts

by Louis B

The SmartMatrix Library allows you to use several layers to build up the graphics on your LED panel. Typically you’ll have one full color layer holding your patterns or animations, and you can optionally add one or more transparent overlays on top to show a menu, or debug information, or scrolling text. Over the past week I started working on improving the graphical layers.

A little history: When SmartMatrix Library was first released, it had relatively nice font support compared to other display libraries, but a lot has changed in the last six years. The max pixel count supported by the library has gone up a lot, from 32x32 to 128x64 and larger, making the small fonts in SmartMatrix Library look relatively tiny and weak. Font support in other display libraries have improved too, with the popular Adafruit_GFX library going from one monospaced font option to 53 built-in options, and virtually limitless options with custom font support.

I took a look at the options out there in open source font support, and Adafruit_GFX seemed like the best option for working with SmartMatrix Library. There are quite a few displays that are compatible with Adafruit_GFX, so if you are already familiar with drawing to displays with those commands, it will be easy to use the new SmartMatrix Library layers. The Adafruit_GFX font format is popular enough there are open source tools made outside of Adafruit to convert custom fonts to the Adafruit_GFX format, including this handy graphical online tool.

I’m pretty far along in adding support for drawing to the layers with Adafruit_GFX, and making backwards-compatible changes so existing SmartMatrix Library sketches can use Adafruit_GFX fonts. While making those changes I made the transparent layers a lot more efficient to refresh on the LED panel, and now you can add many layers affecting the refresh rate, as seen in the demo video above.

Campaign Update - One Week Left!

We’re three weeks into the campaign with just one week left to go! Thanks again for backing and sharing this project and helping make it a success. If you haven’t backed the project yet, now’s the time!

About the Author

Louis B

embedded-creations  ·   Cambridge, United Kingdom of Great Britain and Northern Ireland


$5,002 raised

of $2,000 goal

250% Funded! Order Below

Product Choices

$20

SmartLED Shield for Teensy 4

Includes: assembled SmartLED Shield for Teensy 4 (1), 2x8 headers for expansion pinouts (1), 28 headers for Teensy connection (1), and 4-pin JST-SM male cable (1).


$30

Teensy 4.1

From the Crowd Supply Basics project.

Teensy 4.1 DEV-16771 is a development board that features an ARM® Cortex®-M7 processor at 600MHz


$23

Teensy 4.0

From the Crowd Supply Basics project.

Teensy 4.0 Development Board is designed for evaluation of NXP iMXRT1062 chip and features an Arm® Cortex®-M7 processor.

Credits

Pixelmatix

Pixelmatix makes powerful and user friendly tools to drive LEDs. The SmartMatrix/SmartLED Shield and SmartMatrix Library have been used for thousands of projects since their release in 2014. We believe in the open source community and all our products are Open Source Hardware.


Louis Beaudoin

Eric Eason

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: