Skip to content

Repository files navigation

FthnLabs Display

fthn_labs

An Arduino library for driving dot matrix displays. Currently, only ESP32 is supported.
This library also supports AdafruitGFX, so display manipulation can be easily done using AdafruitGFX functionalities.


image    image    image

A. Supported Display

  1. HUB12 dot matrix panel.

B. Getting Started

0. Library Installation

This library was already published to Arduino Library Registry. You can find it by searching FthnLabsDisplay. Quickly hit the install button to add the library to your computer.

You can also manually install the library. Clone the this repository, then move it to {Arduino Directory}/libraries. Then you can include it into your sketch.

#include <FthnLabsDisplay.h>

1. Wiring Diagram

Wiring Diagram

To setup a simple example provide in examples/simple, at least there must be 3 components, ESP32 Dev Module, IC 74HCT245 (HC can also be used if you are using just few panel), and a P10 dot matrix panel.

You can have a look this code snippet in config.h file

uint8_t oePin = 22;
uint8_t clkPin = 18;
uint8_t latPin = 2;

uint8_t aPin = 19;
uint8_t bPin = 21;

uint8_t rDataPin = 23;

You can actually changed the pins if you are using it for another purpose. Pay attention to boot strapping pins, they requires some condition to boot the ESP32 normally. This library utilizes SPI interface to transfer data to the panel, so rDataPin cannot be changed, since it is tied to MOSI pin.

2. Running Simple example

Test your setup by uploading a sample code in examples/simple.

Upcoming Features

  1. Animation (fade-in, fade-out, slide-in, slide-out)
  2. Running Text

Feature Request

You can request a specific feature for the next release by opening an issue here.

Bug Report

If you found any bugs in the library, you can open new issue here.

Support Me

To improve this library, I spend times, money, and energy. Any amount of support will be appreciated. If you found this project useful, you can support me via:

About

Arduino library for driving P10 HUB12 LED matrix panels using ESP32 with Adafruit GFX support.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages