[solved] Hello World with wrong characters ...

Hello,

I just connected my uno with a 2x16 LCD.
It is a ANAG VISION AV1624.

My problem is that it seems to use a different character set than expected.

The counter in line 2 starts correctly with 0, 1 ,2, 3 but then it goes on with <, =, >, ?, <, =, 10, ....

"Hello World" is displayed in a different character set as well; for instance the o is reprlaced with an "ö".

Any ideas?

Schwabinger

Could you please share the code used?

What did work, what did not?
What characters came across the screen?
Have you connected the pins in the right order (high-low reversed?)

Hi,

here comes the code:

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);
}

Instead of "Hello, world" it prints different characters on the screen.
For instance, instead of the two "o" characters in "hellO" and "wOrld" it prints twice the character "ö".

Line 2 shows the seconds till arduino had started.

It displays the following:

0 --> 1 --> 2 --> 3 ---> < (instead of "4") --> = (instead of "4") ....

Regards,

Schwabinger

this one - http://www.mikrocontroller.net/attachment/61375/lcd_av1624.pdf - ?

0 --> 1 --> 2 --> 3 ---> < (instead of "4") --> = (instead of "4") ....

loose wire?

4 = 0x34 = 0011 0100
< = 0x3C = 0011 1100

5 = 0x35 = 0011 0101
= = 0x3D = 0011 1101
                 ^ 
that wire ....

Yes, I use the AV1624

Wow ... can you please tell me, which wire is that?
Or how to find out?

Tanks a lot :slight_smile:

Schwabinger

look at page 11 of the PDF mentioned earlier and you will see it is bit 8 that transforms the o into ö the 4 and the < was bit 4 ==> so the same line (4 bit communication) ==> it is 99% sure line 5 .

Check your soldering?

Thanks you so much!

There was a short curcuit with the wire next to it.
Oh ... my aging eyes ... :-/

Thanks to your help my project is going on again.

Happy greetings from Munich,

Schwabinger