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

Voice-Controlled P10 LED Matrix Display with Arduino and Bluetooth

View and Edit Project In Cirkit DesignerImage of Voice-Controlled P10 LED Matrix Display with Arduino and Bluetooth

Circuit Documentation

Summary

This circuit is designed to control a 16x32 P10 LED matrix display using an Arduino UNO microcontroller and receive commands via a HC-05 Bluetooth module. The display is intended to show messages that are sent through the Bluetooth connection. The Arduino UNO is powered by a 5V 5A power supply, which also powers the LED matrix display. The HC-05 Bluetooth module is interfaced with the Arduino for wireless communication. The power supply is connected to an AC source to provide the necessary power for the circuit.

Component List

Arduino UNO

16x32 P10 LED Matrix Display

HC-05 Bluetooth Module

AC Supply

POWER SUPPLY 5V 5AMP

Wiring Details

Arduino UNO

16x32 P10 LED Matrix Display

HC-05 Bluetooth Module

AC Supply

POWER SUPPLY 5V 5AMP

Documented Code

/*
 * Arduino Sketch for Voice Controlled Red Color P10 LED Matrix Display
 * using Arduino UNO and HC-05 Bluetooth Module
 *
 * This code receives voice commands via Bluetooth from an HC-05 module
 * and displays the corresponding messages on a 16x32 P10 LED matrix display.
 */

#include <Adafruit_GFX.h>
#include <RGBmatrixPanel.h>

#define CLK 13  // P10 LED Matrix CLK pin
#define OE 9    // P10 LED Matrix OE pin
#define LAT 8   // P10 LED Matrix LAT pin
#define A 6     // P10 LED Matrix A pin
#define B 7     // P10 LED Matrix B pin
#define DATA 11 // P10 LED Matrix DATA pin

RGBmatrixPanel matrix(A, B, CLK, LAT, OE, false);

void setup() {
  Serial.begin(9600); // Initialize serial communication
  matrix.begin();     // Initialize the LED matrix
  matrix.fillScreen(matrix.Color333(0, 0, 0)); // Clear the display
}

void loop() {
  if (Serial.available() > 0) {
    String command = Serial.readStringUntil('\n');
    displayMessage(command);
  }
}

void displayMessage(String message) {
  matrix.fillScreen(matrix.Color333(0, 0, 0)); // Clear the display
  matrix.setCursor(1, 0); // Set cursor position
  matrix.setTextSize(1);  // Set text size
  matrix.setTextColor(matrix.Color333(7, 0, 0)); // Set text color to red
  matrix.print(message);  // Display the message
}

This code is designed to be uploaded to the Arduino UNO microcontroller. It initializes the LED matrix and sets up serial communication with the HC-05 Bluetooth module. When a message is received via Bluetooth, it is displayed on the LED matrix in red color.