Introduction

This flexible RGB LED matrix display has 7x71 RGB LEDs. Designed with flexible PCB board, it is light and bendable. The onboard MCU simplifies the way to display numbers and alphabets. It can keep display status even separated from the main control. So that it can be conveniently integrated to projects, especially wearable device, such as hats, backpacks, clothes, skirts, shoes, belts, masks, etc. For items, it can be used for wallets, musical instruments, cups, vases, clock ornaments, etc. And it also be used in advertising walls, displays, and holiday decorations.

Please kindly note that the flexible RGB LED matrix display should not be over-curved (no more than 30°) and bent repeatedly, so is prone to damage. The screen dimension is 269mm x 30mm, among it the matrix dimension is 232mm x 22mm, and Pixel Pitch is 3.2mm.

This flexible RGB LED matrix display supports showing both numbers and alphabets, we recommend to use DFR0598 to show Chinese.

warning_yellow.png NOTE:

  1. The flexible PCB board cannot be over-curved (no more than 30°) and bent repeatedly. Although the product can work curvedly, but the resulting consequences will not be responsible.
  2. Arduino UNO can drive this matrix display. Once the brightness increased, please guarantee it with an independent 5V power supply, otherwise it may lead to abnormal color show and exceptional display.

Specification

Pinout

Board Overview of Flexible RGB LED Matrix 7x71

Name Description
VCC +
GND -
RX Serial Port Input
TX Serial Port Output

Tutorial

1.Set display data

Function Type: bool setMessage (const char *message_)

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
}

void loop() {

}

2.Set Message List

Function Type: bool setMessageList(uint8_t banN, const char *message_);

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;
const char *s = "DFRobot";
eMoveMode_t moveMode;

const char* M1 = "DFRobot";       //"A"
const char* M2 = "<CRY>DFRobot";  //"B"
const char* M3 = "Hi!";           //"C"
const char* M4 = "<CRY>Hello!";   //"D"
const char* M5 = "World!";        //"E"
const char* M6 = "66";            //"F"
const char* M7 = "77";            //"G"
const char* M8 = "88";            //"H"


void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    /*Send 8 information lists to the serial screen*/
    screen.setMessageList(1, M1);
    screen.setMessageList(2, M2);
    screen.setMessageList(3, M3);
    screen.setMessageList(4, M4);
    screen.setMessageList(5, M5);
    screen.setMessageList(6, M6);
    screen.setMessageList(7, M7);
    screen.setMessageList(8, M8);
    /* Prints a list of "DFRobot" in the message list, and the data of the M0 message list*/
    screen.displayBanner("A");
    /*Print data of M8 information list*/
    //screen.displayBanner("H");
    /*Print data for M1 and M8 information lists*/
    //screen.displayBanner("AH");
    /*Display all information lists for M1~M8*/
    //screen.displayBanner("ABCDEFGH");
}

void loop() {

}

3.Set Move Mode

Function Type: bool setMoveMode(eMoveMode_t m_);

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    delay(5);
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
    /*Set the move mode to hold*/
    screen.setMoveMode(eMove_hold);
}

void loop() {
    /*Switch a mobile display mode every 5s*/
    eMoveMode_t buf[]= {eMove_left,eMove_right,eMove_hold,eMove_down,eMove_up,eMove_flash};
    for(int i = 0; i < sizeof(buf)/sizeof(eMoveMode_t); i++){
        screen.setMoveMode(buf[i]);
        delay(5000);
    }
}

4.Set Move Mode

Function Type: bool setMoveSpeed(eSpeedLevel_t s_)

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;
eBrightLevel_t bright;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    delay(5);
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
    /*Set the display's movement mode to shift left*/
    screen.setMoveMode(eMove_left);
    /*Set the displayed moving speed level*/
    screen.setMoveSpeed(eSpeedLevel_1);
}

void loop() {

}

5.Set Display Brightness

Function Type: bool setBrightness(eBrightLevel_t b_)

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
    /*Set the brightness level of the display*/
    screen.setBrightness(eBrightLevel_1);
}

void loop() {
}

6.Set Display Color

Function Type: bool setDispalyColor(eColorMode_t font_, eColorMode_t back_);

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    delay(5);
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
    /*Set the string to display the background and font color, set it to red on the black background*/
    screen.setDispalyColor(eColor_red, eColor_black);
}

void loop() {
    /*Switch one font color every 5s*/
    eColorMode_t backgroud,font;
    backgroud = eColor_black;
    eColorMode_t buf[]= {eColor_red, eColor_yellow, eColor_green, eColor_cyan, eColor_blue, eColor_purple, eColor_white};
    for(int i = 0; i < sizeof(buf)/sizeof(eColorMode_t); i++){
        font = buf[i];
        screen.setDispalyColor(font, backgroud);
        delay(5000);
    }
}

7.Set Display Color

`Function Type: bool setFullScreenColor(eColorMode_t color_);

E.g.

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    /*Set screen color*/
    screen.setFullScreenColor(eColor_black);
}

void loop() {
    /*Switch one screen color every 5s*/
    eColorMode_t buf[]= {eColor_red, eColor_yellow, eColor_green, eColor_cyan, eColor_blue, eColor_purple, eColor_white};
    for(int i=0; i < sizeof(buf)/sizeof(eColorMode_t); i++){
        screen.setFullScreenColor(buf[i]);
        delay(5000);
    }
}

Arduino Application

Please connect the circuit as shown in the Connection Diagram, then download the sample code to UNO, once uploaded successfully, the flexible display would show.

Requirements

Connection Diagram

Flexible RGB LED Matrix-UNO

Sample Code

/*!
  * file SerialScreen771.ino
  *
  * Copyright   [DFRobot](https://www.dfrobot.com), 2016
  * Copyright   GNU Lesser General Public License
  *
  * version  V1.0
  * date  2019-6-12
  */

#include <Arduino.h>
#include <HardwareSerial.h>
#include <SoftwareSerial.h>
#include "DFRobot_SerialScreen771.h"

#ifdef ARDUINO_AVR_UNO
SoftwareSerial Serial1(2, 3); //RX, TX
#endif

DFRobot_SerialScreen771 screen;

void setup() {
    /*Initialize communication interface (Serial1) and debug interface (Serial)*/
    Serial.begin(115200);
    Serial1.begin(19200);
    screen.begin(Serial1);
    screen.setDbgSerial(Serial);
    /*Set the brightness level of the display*/
    screen.setBrightness(eBrightLevel_8);
    /*Set the move mode to hold*/
    screen.setMoveMode(eMove_hold);    
    /*Display string "DFRobot"*/
    screen.setMessage("DFRobot");
    /*Set the string to display the background and font color, set it to red on the black background*/
    screen.setDispalyColor(eColor_red, eColor_black);
}

void loop() {

}

Expected Results

Arduino Flexible Matrix  Display Result

More Documents

DFshopping_car1.png Get Flexible RGB LED Matrix 7x71 from DFRobot Store or DFRobot Distributor.

Turn to the Top