Go Down

Topic: Serial LCD BPK help !!!!!!! (Read 1 time) previous topic - next topic

vikash kumar

Hi,

I am working on a project on Home Automation using arduino . I am using a serial LCD display (4x20 white on blue) from http://www.milinst.co.uk/. I dont know how to interface with arduino. I used the data sheet and i am not getting the output. can anyone guide me by step by step process with a sample code so that i can understand well.

robtillaart


- http://arduino.cc/en/Tutorial/ASCIITable -

connect GND and 5V from Arduino to LCD

connect arduino pin 1 = TX to LCD RX

succes,
Rob
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

liudr

How did you connect the display to arduino and what code did you use. We don't have a crystal ball here so you have to show some pics and code.

"either 2400 or 9600 baud, no parity, 8 bits, 1 stop bit and inverted format."

I wonder if you noticed inverted format or baud rate (jumper setting)

vikash kumar

i had three pins. +,GND,Serial out. i connected +,GND to arduino +5V and GND respectively. Serial to arduino TX pin. 2400 baud rate is OFF and 9600 is ON in my serial LCD. I used the below code

void setup() {
  Serial.begin(9600);
               
  Serial.print(1, BYTE);  //Clear Screen
  delay(5);
  Serial.print("Hello world");

}

I dint get any output. help me !

void loop() {
}


vikash kumar

to ROB

I did what you have said. but i am not getting the output. I have attached the Data sheet. please give me a sample program using the data sheet i have attached.

Go Up