it looks very simple to connect, but when i write only "Hello World" with an example sketch, it doesn't work! it continues to display the default text "Parallax, inc. www.parallax.com".
Can anyone help me, please?
Here the sketch for example:
void setup() {
// open the serial port at 9600 bps:
Serial.begin(9600);
pinMode(1,OUTPUT);
Serial.print(12, BYTE);
Serial.print("Hello world");
}
void loop() {
}
How have you got your serial port wired?
Normally, I'd expect to see the output of that sketch on the serial monitor.
I'd try not using the hard serial port, but use one of the soft serial libraries, and a different output pin.
Ok, thanks for your answers...
I turned off the switch1 and on the switch2 to have the baud rate on 9600, but the problem remains!
I could try the way of using the softserial instead of hard serial port, but i can't understand how it's possible that the lcd doesn't work when i did all the things to set it up...i don't know!!
Yes, i tried all the combinations to try different baudrate, but the result it's the same: the default text remains on the LCD! >:(
However, I think it's a factory problem, because after the test (switch1 off, switch2 off) and after setting the baud rate at 9600 (switch1 off, switch2 on), the screen should be without text!!
Just to update this entry - adding the delay works. So here are directions for connecting the Parallax Serial LCD with Arduino.
Parallax Part Number:
Standard 27976
Backlit 27977
Connect 5V and Ground to Serial LCD
Connect Pin D1 of Arduino to RX Pin on Serial LCD
Set Dip Switch 1 on Serial LCD to OFF
Set Dip Switch 2 on Serial LCD to ON
I don't know how to properly initialize the screen. So, it can sometimes take a few writes to the display to get it sorted out, so I got around this by just printing "initialize" a few times before I started printing data.