Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO WiFi-Controlled LED Matrix Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO WiFi-Controlled LED Matrix Display

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that interfaces an Arduino UNO R4 WiFi with a 64x32 LED Matrix. The Arduino controls the LED Matrix, allowing for dynamic display of colors and patterns. The document includes a component list, wiring details, and the embedded code used in the microcontroller.

Component List

LED Matrix 64x32

Arduino UNO R4 WiFi

Wiring Details

LED Matrix 64x32

Arduino UNO R4 WiFi

Code Documentation

Arduino UNO R4 WiFi Code

#include <Panel.h>

// which cable goes where
#define RA 14 // register selector a
#define RB 15 // register selector b
#define RC 16 // register selector c
#define RD 18 // register selector d
#define RF 2 // red first byte
#define RS 5 // red second byte
#define BF 4 // blue first byte
#define BS 7 // blue second byte
#define GF 3 // green first byte
#define GS 6 // green second byte
#define LAT 17 // data latch
#define CLK 8 // clock signal
#define OE 9 // output enable

Panel panel(32, 64, false);

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // this example iterates through all available colors in the panel
  for (long i = 0; i < 26000; i++) {
    panel.fillScreenColor(i / 1000); // changes after some time
  }
  /* 
  |||ALL COLORS||| 
  RED,  
  GREEN,  
  BLUE,  
  WHITE, 
  BLACK, 
  PURPLE, 
  YELLOW, 
  CYAN, 
  LIGHTRED, 
  LIGHTGREEN, 
  LIGHTBLUE, 
  LIGHTWHITE, 
  LIGHTCYAN, 
  DARKYELLOW, 
  LIGHTPURPLE, 
  LIGHTYELLOW, 
  TURQUOISE, 
  PINK, 
  DARKPURPLE, 
  BRIGHTGREEN, 
  BRIGHTCYAN, 
  MEDIUMGREEN, 
  DEEPPURPLE, 
  OCEANBLUE, 
  FLESH, 
  LIGHTPINK, 
  */
}

This code initializes the LED panel and iterates through a range of colors, displaying them on the LED matrix. The Panel library is used to manage the display, and various pins on the Arduino are defined to control the LED matrix.