I directly connected the serial port to the Rx serial pin of the LCD and then I gave power. I set the communication to 9600 baud on the Arduino.
Here come the strange thing: 80% of my output sent to the LCD (with the Serial.print) is correctly displayed, but sometimes I get some garbage on the screen...wrong chars and so on. I treid to re-solder the pin several time, but no luck. It still has the problem.
I actually did not wired the Rx PIN on the Arduino, because I'm not actually using it. The GND is wired.
Should I wire also Rx, even if I'm not using it?
You don't have to, but if you do you can read back the FIFO status (there might be an overrun). Also notice that after the command to position the cursor (or clearscreen) you have to insert a small delay.
I had the same problem, and even with the measures above i still have garbage characters once in a while, i'm not very happy with this display!
Just a last message to sum up: I completely solved the problems of garbage by using a serial speed of 9400.....I know it sounds crazy but that's it.....in this way it works every time.