Skip to content

Firmware for a 32x32 RGB LED Matrix controller based on an ESP32

Notifications You must be signed in to change notification settings

Nurgak/IoT-RGB-LED-Matrix

Repository files navigation

Internet-of-Things RGB LED Matrix

Internet-of-Things RGB LED Matrix

This repository hosts the software for the 32x32 Internet-of-Things RGB LED Matrix, based on an ESP32 and Arduino IDE. The display data is generated on a server and transferred via MQTT.

Usage

Pin connections

The pin assignment is not strict and every pin can be reconfigured to another one, but it is recommended to follow the pinout below so it would work with the unmodified code:

Pin GPIO Reference
OE 13
CLK 14
LAT 15
CH_A 26
CH_B 4
CH_C 27
CH_D 2
R1 5
G1 17
BL1 18
R2 19
G2 16
BL2 25

Configuration

The config_dummy.h file hosts all the required configuration variables. This file must be renamed to config.h before uploading.

  • WIFI_SSID: Access point SSID
  • WIFI_PASSWORD: Access point password
  • MQTT_SERVER: MQTT server address or IP
  • MQTT_PORT: MQTT server port, default value: 1883
  • HOST_NAME: Host name, default value: IoTRGBLEDMatrix
  • MQTT_USERNAME: (optional) MQTT server user name
  • MQTT_PASSWORD: (optional) MQTT server password
  • MQTT_TOPIC_DISPLAY: MQTT topic to listen to for the frame updates

The MQTT_USERNAME and MQTT_PASSWORD definitions are optional, they can be commented out if authentication has not been enabled on the server.

The HiveMQ MQTT broker configured by default publishes a "word clock" display (like the image above), provided by my own Node-RED server. This is an example for testing purposes only.

Build process

The project is documented on hackaday.io.

License

This software is licensed under GNU General Public License.

About

Firmware for a 32x32 RGB LED Matrix controller based on an ESP32

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published