Pages: [1]   Go Down
Author Topic: LCD nokia 5110 Issues.  (Read 4378 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, So i tried recreating the stuff from this site. http://blog.stuartlewis.com/2011/02/12/scrolling-text-with-an-arduino-and-nokia-5110-screen/  Everythign is hooked up as is and the only thing that i get working would be the LCD backlighting.

Could his code be messed up or could my LCD be dead?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi ttyler333,
Nokia 5110 are very robusts and reliables displays so I bet it's just a contrast issue, I don't know why but I owe five and all of them have a different default contrast settled, so I've to adjust them individually. I suggest You to try to change  "LcdWrite(LCD_CMD, 0xBf)"  with this one"LcdWrite(LCD_CMD, 0xB1)" as stated in the code. If still don't work try this library https://github.com/adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library setting contrast to 55 or 60.
I hope it can help
Regards,
Juan
PD: I've try the code You linked and It works
« Last Edit: June 14, 2012, 10:11:47 am by juan1920 » Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1051
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thankyou juan1920
I had a Nikia display that I thought was not working, I bought it on Ebay.
I had tryed using the code from the palyground, with no luck, the display was total dead.
Then I tryed the code you are linking to, and it works !! smiley-grin

By the way I don't think it is a good idea just to connect to 5V, The tutorial on sparkfun recomments resitors:
http://www.sparkfun.com/tutorials/300
And on Ladyada they use levelconverters

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try configure the contrast first: LcdWrite( LCD_CMD, 0xBf ); // Set LCD Vop (Contrast). Set the constrast value in the codes, to B4 which is from 191 to 180 in decimal, and the contrast will be much better

You can find the information here. http://www.electrodragon.com/?product=nokia-5110-lcd-pcd8544-driver-chip
Logged


Offline Offline
Faraday Member
**
Karma: 57
Posts: 2764
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried 2 different libraries and test programs that I downloaded,  didn't work.   The adafruit library works so I suggest you try that.
I ignored their 3.3 to 5V converter though,  works with 5V,  may die sooner.
Logged

Offline Offline
Faraday Member
**
Karma: 57
Posts: 2764
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The other thing which I could not understand about this,   is that it used SPI
communication,  but doesn't require to be connected to the SPI pins on the
Arduino.

The only conclusion i could reach,  is that the SPI communications were being
implemented "in software"  on any Arduino pin,   sort of like  SoftSerial.  But
I am guessing.

Anyone know for sure how this is done ?
Logged

Pages: [1]   Go Up
Jump to: