Header Ads Widget

How to make LED matrix smart notice board with Arduino

 A smart notice board can be a great way to keep your office organized and streamlined. With the help of an Arduino, Bluetooth module,andLED matrix. you can create a board that can detect when someone is approaching, and then display relevant information on the board. This could include the person's name, the time, or a list of tasks that need to be completed. This would be a great way to keep everyone in the office on track, and it would be easy to update with new information as needed.

Making Video :



Circuit :


Click here to download circuit

Code:

#include <MD_Parola.h>

#include <MD_MAX72xx.h>

#include <SPI.h>

#define HARDWARE_TYPE MD_MAX72XX::FC16_HW

#define MAX_DEVICES 4




// for ARDUINO

#define CLK_PIN   13

#define DATA_PIN  11

#define CS_PIN    10


MD_Parola P = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);

uint8_t scrollSpeed = 71;

textEffect_t scrollEffect = PA_SCROLL_LEFT;

textPosition_t scrollAlign = PA_LEFT;

uint16_t scrollPause = 100;

#define  BUF_SIZE  75

char curMessage[BUF_SIZE] = { "" };

char newMessage[BUF_SIZE] = { "MEWORKS TELUGU" };

bool newMessageAvailable = true;


void setup() {

  Serial.begin(9600);

  P.begin();

  P.displayText(curMessage, scrollAlign, scrollSpeed, scrollPause, scrollEffect, scrollEffect);

}


void loop() {

  if (P.displayAnimate()) {

    if (newMessageAvailable) {

      strcpy(curMessage, newMessage);

      newMessageAvailable = false;

    }

    P.displayReset();

  }

  if (Serial.available()>0) {

    String st = Serial.readString();

    Serial.println(st);

    st.toCharArray(newMessage, BUF_SIZE);

    newMessageAvailable = true;

  }

}

Click here to download the code

if you have any doubts regarding this project, contact me on Instagram or comment on the YouTube video. I will help my best.


Post a Comment

0 Comments