Using Arduino > Displays

LCD nokia 5110 Issues.

(1/2) > >>

Okay, So i tried recreating the stuff from this site.  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?

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 setting contrast to 55 or 60.
I hope it can help
PD: I've try the code You linked and It works

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 !! :D

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

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.

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.


[0] Message Index

[#] Next page

Go to full version