TFT + Orion shows nothing


#1

Hello.
I just connected a LCD TFT to the Orion card thru the port 5, and loaded a simple program like this one, but the TFT appear in white all the time.

#include <Arduino.h>
#include <MeOrion.h>

// La placa orion se compila como una Arduino UNO

void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.print(“CLS(0);”);
Serial.print(“DR0;”);
Serial.print(“DS32(150,150,‘hello world’,4);”);
Serial.print(“DS24(30,100,‘makeblock’,3);”);
Serial.println(“DS64(80,30,‘2015-05-20’,1);”);
delay(3000);
Serial.print(“CLS(0);”);
Serial.print(“DR2;”);
Serial.print(“CIR(30,100,20,3);”);
Serial.print(“CIR(110,110,80,6);”);
Serial.print(“PL(10,10,200,200,4);”);
Serial.print(“PL(280,10,30,200,5);”);
Serial.print(“BOX(50,20,230,150,2);”);
Serial.println(“BOXF(250,170,300,220,1);”);
delay(3000);
}

Mblock1

Also using an mblock program.

Some suggestions?

Best regards.


#2

Hi kike,
I upload the same code and it shows Hello.
Please make sure the TFT connected to port 5.


I use this code.
image


#3

In Arduino, perhaps try this:

#include <MeOrion.h>
#include <SoftwareSerial.h>

MeSerial mySerial(PORT_5);

void setup()
{
mySerial.begin(9600);
mySerial.print(“CLS(0);”); // clear the screen with c color
mySerial.print(“DR0;”); // the screen displays in upright way
mySerial.println(“DS64(64,104,‘Hello world!’,4);”);
}

void loop()
{
}


#4

Hi Support.
I check it twice, it is connectect to port 5. I also tried to connect it to an Auriga port5, and to an arduino Uno using the example in the https://www.makeblock.com/project/me-tft-lcd-screen-2-2-inch.

But it remains white all the time. Maybe the TFT is damaged?

Regards


#5

Hi Murray. I tried with an auriga card.
Using the same program:

#include <MeAuriga.h>
#include <SoftwareSerial.h>

MeSerial mySerial(PORT_5);

void setup()
{
mySerial.begin(9600);
mySerial.print(“CLS(0);”); // clear the screen with c color
mySerial.print(“DR0;”); // the screen displays in upright way
mySerial.println(“DS64(64,104,‘Hello world!’,4);”);
}

void loop()
{
}

And the same problem


#6

Have you tried another connector cable? If that doesn’t solve your problem, then I would suggest returning for a replacement.


#7

Yes Kike,
Perhaps the TFT LCD screen issue.
You can contact the re-seller for a solution.
Thanks.


#8

Finnaly I received a new display for replacement and now works fine.


#9

Sounds good.


#10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.