Can blynk control RGB LED display?

Once you get the string into the device you can use Arduino commands to manipulate them… Google for more info

For example:

ok thanks friend…let me try first…later i update the progress…

hi friend…almost 1 week i try coding this RBG matrix display with terminal widget but still not work…huhuhu
i use arduino mega and i able to connect to Blynk server but no TEXT appear to RGB display
here my latest coding.

 // scrolltext demo for Adafruit RGBmatrixPanel library.
// Demonstrates double-buffered animation on our 16x32 RGB LED matrix:
// http://www.adafruit.com/products/420

// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon
// for Adafruit Industries.
// BSD license, all text above must be included in any redistribution.

#include <Adafruit_GFX.h>   // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library

#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial1 // 18TX1 and 19RX1

// or Software Serial on Uno, Nano...
//#include <SoftwareSerial.h>
//SoftwareSerial EspSerial(2, 3); // RX, TX
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxxxx";
char ssid[] = "xxxx"; //wifi id change here
char pass[] = "xxxxx"; // wifi password change here



// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600 // 115200
ESP8266 wifi(&EspSerial);

WidgetTerminal terminal(V1);
BlynkTimer timer;

// Similar to F(), but for PROGMEM string pointers rather than literals
#define F2(progmem_ptr) (const __FlashStringHelper *)progmem_ptr


#define OE   9
#define LAT 10
#define CLK 11
#define A   A0
#define B   A1
#define C   A2
#define D   A3
// Last parameter = 'true' enables double-buffering, for flicker-free,
// buttery smooth animation.  Note that NOTHING WILL SHOW ON THE DISPLAY
// until the first call to swapBuffers().  This is normal.

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, true, 64); //32X64
//RGBmatrixPanel matrix(A, B, C, CLK, LAT, OE, true); // 16X32

// Double-buffered mode consumes nearly all the RAM available on the
// Arduino Uno -- only a handful of free bytes remain.  Even the
// following string needs to go in PROGMEM:




BLYNK_WRITE(V1)
{
  //char str[] PROGMEM = "TESTING 32X64 RGB LED Matrix 1234567890&*()1234567890";
//const char str1[] PROGMEM = "HELLO";
 
String() == param.asStr();
 int    textX = matrix.width();
  int     textMin = sizeof(String) * -12; // CONTROL NO OF TEXT -12 = UNLIMITED
   int    hue     = 0;
  terminal.println(param.asStr()) ;     
  matrix.fillScreen(0);  // Clear background

  // Draw big scrolly text on top
  // matrix.setTextColor(matrix.ColorHSV(hue, 255, 255, true)); // MULTICOLOR
  matrix.setTextColor(matrix.Color333(7,7,7)); //SINGLE COLOR
  matrix.setCursor(textX, 1);
  matrix.print(F2(param.asStr())); // TEXT LINE 1
  
   // Move text left (w/wrap), increase hue
  if((--textX) < textMin) textX = matrix.width();       //textMin
  hue += 7;                                           // CONTROL COLOR CHANGE SPEED
  if(hue >= 1536) hue -= 1536;                         //CONTROL COLOR CHANGE SPEED 
 

terminal.flush();
}
void text()
  {
  matrix.swapBuffers(false);  // Update display  
  }
 


void setup() {
  // Debug console
  Serial.begin(9600);
  EspSerial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, ssid, pass);
  matrix.begin();
  matrix.setTextWrap(false); // Allow text to run off right edge , false=LEFT TO RIGHT 1 LINE , TRUE=BOTTOM TO UP AND RUN TO RIGHT
  matrix.setTextSize(1); // SIZE OF TEXT =1 SMALL , 2/3/4/5 BIG
  timer.setInterval(100L, text);
// matrix.fillScreen(0);  // Clear background
 
}

void loop() {
   Blynk.run();
timer.run();
}

anyone can help? huhu…

This forum is you help you learn about Blynk… not learn how to program :stuck_out_tongue_winking_eye: Lots of websites out there for that.

String() is a data type, not a direct variable you can populate with data

Try again, but assign a variable to the incoming terminal data and print that variable to the LCD. And use an = (assignment operator) not a == (equal to)

1 Like

hahaha…ok2 thanks friend…let me try

I give up right now huhuhu…anyone can help to completed this project? I will pay usd70 and max to usd100 for function coding …i am sorry if this offer illega in this forum…this offer is not from me but for my school…
Payment will sent by Paypal…
Anyone interesting can email me…thanks

Hi awegadget, i just went through your topic you raised and I think I can help you. Just send me an email if you still need my help (shexylapeto@yahoo.com).

As this topic is almost 2 years old, and @awegadget was last seen here on June 21 2018, I suspect that this is no longer a requirement.

Pete.

hi all friend. i am sorry late reply. this project already done, thanks for asking…