Re: LCD 4 x 20 Help

Have you read any of the documentation on the Arduino site? http://www.arduino.cc

Specificaly for LCD's http://www.arduino.cc/playground/Code/LCD

Looks like those docs are for serial interfaces. My LCDs are parallel.

Regards

I don't see the original post... but those docs are for the parallel interface. The LiquidCrystal library works with 4x20 lcd's:

http://www.arduino.cc/en/Reference/LiquidCrystal

Thats weird the original post has disapeared.

Yes, most of the info on the plyground page for the lcd's is for parallel lcd's. There are some very good and easy to follow examples that work with the lcd from the original post. Liquidcrystal is particularly good and included in the ide already. You just have to follow the instructions to hook it up and use one of the examples.

Gordon

The "LiquidCrystal" library works for me with a 4 row, 20 character LCD. I'm using it in 4 bit mode. It does sometimes need a couple of RESETs to get it to start up, so I'd like to fix the code when I get the time. I'd also like to add a member function to set up user-defined characters.

I've noticed the same thing... the LCD doesn't always startup with the arduino, and I have to reset it. That's got to be fixed for it to be "production" worthy.

Other than that... it's quite easy to use. The docs could be improved upon though.

I've noticed the same thing... the LCD doesn't always startup with the arduino, and I have to reset it.

I'm new to Arduino. All my previous experience has been with the Microchip PIC processor. I found getting my first Arduino application interfacing with an LCD to be extremely fast and easy to do. Though I too have the problem of having to reset the Arduino before the LCD is properly initialized. I had the same problem sporadically with my last PIC project.

Got it working thanks!!!

Is there a way to print a full block? like a bar chart?

Just found a great post!

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233339330/10

Thanks again

Is there a way to print a full block? like a bar chart?

Yes, the character with ASCII code 255 (0xff in hex) is a full block. Or, you can define your own set with pixel columns lit, for higher resolution. Have a look at my reply and sketch code in this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1233339330