Pages: [1]   Go Down
Author Topic: Problems interfacing with LCD!  (Read 582 times)
0 Members and 1 Guest are viewing this topic.
Home sweet Home
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, am having trouble interfacing with an Alphanumeric display using the LCDLibrary. Sometimes, when i turn on the Arduino and the LCD it works fine for a while, and then parts of the letters start dissapearing, or it just doesnt work. Have followed all instructions to the letter, as far as i can see.

am using an Arduino Diecimila, and a DEM16217 from Maplin if that helps... part number N27AZ.

Help? have been almost tearing my hair out just trying to get this to work!

Thanks in Advance,

Tom ;D
Logged

The Abominations of a Creative Mind is my 'journal' for all my creative madness

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 5
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I had some problems a while ago with some old LCD displays i bought in a fleamarket. I switched to the 4 bit LCD lib and everything worked as it should. This also saves 4 pins on the Arduino that can be used for other stuff.

Logged

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

... and if the 4bit library doesn't solve your problems, why not go around them? For $9 you can get a kit of parts to allow you to control a LCD panel through one pin and really simple Serial.write("Easy") commands.

see...

http://www.moderndevice.com/LCD.shtml

... The "board" is a full kit of parts.

(I'm only a happy customer; no financial interest in their sales.)
Logged

Home sweet Home
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok um the 4bit library didnt work either..... just spent another half hour scratching my head over that. Also am a poor student in the UK, so buying something like the LCD kit is outa the question.

Another point is, if its the LCD thats bust then another interface along the way wouldnt really help....... would it?

Has anyone actually got one of these maplin boards to work? and if so did you use your own code or use one of the pre-built libraries?
« Last Edit: March 13, 2008, 10:16:55 pm by TBSliver » Logged

The Abominations of a Creative Mind is my 'journal' for all my creative madness

London
Offline Offline
Faraday Member
**
Karma: 8
Posts: 6240
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Tom, it sounds like you may have a faulty LCD chip. If the LCD works fine for a while, and then parts of the letters start disappearing without changing the data to the LCD then it seems unlikely to be a problem with the interface or Arduino.

Take a picture of the LCD display showing that parts of the character display are missing and bring it in to Maplin's and ask for a replacement.


FWIW, Maplin have significantly raised their prices on all components over the last few years and you can usually find the same item or better new on ebay for half the price. For example I bought the 16x2 blue backlit module here , it cost £5.50 shipped and I received it in the next mornings post.
« Last Edit: March 14, 2008, 03:47:24 am by mem » Logged

malmö / berlin
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
fhp>--vs--<k3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hej,

can't you just re initial the lcd from time to time ?
like every 10 minuets or every 100 commands, or what ever,

this is no real help but maybe you can get around the problem

tomek
Logged

Home sweet Home
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

mem: yea its most likely a faulty LCD chip, but i dont think maplin would take it back as i had to solder header pins onto it first. And the next display i get will be from Farnell for about half the price of maplin - i just wanted an LCD quickly and theres one down the road smiley-razz I also cant get it to display anything anymore so taking a picture of it isnt much help...

tomek: it isnt actually initialising at all anyway.... so re-initialising it wont reeeeeally help i dont think.
Logged

The Abominations of a Creative Mind is my 'journal' for all my creative madness

Pages: [1]   Go Up
Jump to: