/LEDMatrix

Displaying images on a 64x64 LED matrix using an ESP32. The images are displayed using a HUB75E pinout on a 64x64 LED Matrix and the FastLED library.

Primary LanguageC

ESP32-64x64-LED-Matrix-Image-Display

Displaying images on a 64x64 LED matrix using an ESP32. The images are displayed using the HUB75E pinout and the FastLED library.

Features

  • Displays images on a 64x64 LED matrix
  • Supports two chained 64x64 panels
  • Can display images at different brightness levels
  • Includes a scrolling feature for images larger than the display

Installation and Use

  1. Clone the Repository:
  2. Install the Necessary Libraries: The project requires two libraries: ESP32-HUB75-MatrixPanel-I2S-DMA and FastLED. You can install these libraries using the Arduino IDE.
    • Open the Arduino IDE
    • Go to Sketch > Include Library > Manage Libraries.
    • In the Library Manager, search for "ESP32-HUB75-MatrixPanel-I2S-DMA" and "FastLED", and install them.
  3. Connect Your ESP32 to Your Computer:
  4. Upload the Code to Your ESP32: Open the Arduino IDE, select the correct board and port under Tools > Board and Tools > Port, and then click the Upload button.
  5. Connect your ESP32 to your LED display

Usage

Some sample images are provided in Image.h. To add your own images, you would want to change the images in this file. You can use https://javl.github.io/image2cpp/ to convert images to bytemaps.

The images are packed together in an array epd_bitmap_allArray. so the images can be easily cycled through. The code will automatically start displaying images from the epd_bitmap_allArray array. The images are displayed in a random order and the display will scroll through the images. The brightness of the display can be adjusted using the button connected to GPIO0.

Acknowledgements

Images were converted to bytemaps using https://javl.github.io/image2cpp/.