Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Raspberry pi lcd screen?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Raspberry pi lcd screen?
Raspberry pi lcd screen?
20-03-2014 7:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am trying to get an 2x16 lcd working on my pi.
I have it wired fine, can get text on it, BUT the contrast is way OFF.
I have to have it at an angle to read the text at all.
At the mo I have it wired as :
Pin 2,15 5V
Pin 1,3,5,16 0V
Pin 11-14 data
Pin 4 to gpio 7
ping 6 to gpio 8
Any ideas?
I have it wired fine, can get text on it, BUT the contrast is way OFF.
I have to have it at an angle to read the text at all.
At the mo I have it wired as :
Pin 2,15 5V
Pin 1,3,5,16 0V
Pin 11-14 data
Pin 4 to gpio 7
ping 6 to gpio 8
Any ideas?
8 REPLIES 8
Re: Raspberry pi lcd screen?
20-03-2014 7:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Normally you put something like a 1k pot with each wiper end to +5v and 0v the middle wire from the pot goes to the contrast adjust on the LCD.
*Edit - you need to put this to Vee normally. If you have an extended temperature LCD then Vee can sometimes go negative and you need to mess with charge pumps to sort this.
*Edit - you need to put this to Vee normally. If you have an extended temperature LCD then Vee can sometimes go negative and you need to mess with charge pumps to sort this.
Re: Raspberry pi lcd screen?
20-03-2014 7:52 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This is too complicated for Chit Chat so to Hardware it has gone
Re: Raspberry pi lcd screen?
20-03-2014 7:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Pin 3 (Vee)
5v -> 1k pot left track
0v -> 1k pot right track
Pin 3 (Vee) -> centre wiper of pot
You could probably go higher than 1K if you've only got higher values. You could also grab a couple of 1k resistors and make a potential divider from those to produce 2.5v from the 5v supply and try feeding Vee with that.
5v -> 1k pot left track
0v -> 1k pot right track
Pin 3 (Vee) -> centre wiper of pot
You could probably go higher than 1K if you've only got higher values. You could also grab a couple of 1k resistors and make a potential divider from those to produce 2.5v from the 5v supply and try feeding Vee with that.

Not applicable
Re: Raspberry pi lcd screen?
20-03-2014 11:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Raspberry pi lcd screen?
21-03-2014 11:10 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Cheers guys, Thanks OJ after I posted it thought "I should have put that in hardware!"
Will give it a try later got some spare 10K pots.
Will give it a try later got some spare 10K pots.
Re: Raspberry pi lcd screen?
21-03-2014 12:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Worked great. Can now see the text from above.
Now to tidy the wiring up and start boxing the unit.
Now to tidy the wiring up and start boxing the unit.
Re: Raspberry pi lcd screen?
21-03-2014 12:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Now what you need to do is hook a thermistor up, read it with the Pi, generate a PWM stream based on the temperature read and a lookup table then smooth it with an RC network and feed it into Vee.
Works an absolute treat (I do this with PIC microcontrollers) - only of use if you're using the LCD in extreme temperature variances though
Works an absolute treat (I do this with PIC microcontrollers) - only of use if you're using the LCD in extreme temperature variances though

Re: Raspberry pi lcd screen?
21-03-2014 2:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Since it is going to be an internet radio, I don't expect the temp to get above ambient (or <30C)
The joys of recycling eh? Tried painting the box this morning, put it outside to spray paint, left it to dry and it got blown halfway across the garden, so now to sand the grass off the top and start again
The box was one I got something off ebay in, it is just the right size and made of clear acrylic, have drilled the holes for the rotary encoders and the holding screws for the lcd on the top, and covered the lcd hole with masking tape to allow it to be clear when the rest is black.
The joys of recycling eh? Tried painting the box this morning, put it outside to spray paint, left it to dry and it got blown halfway across the garden, so now to sand the grass off the top and start again

The box was one I got something off ebay in, it is just the right size and made of clear acrylic, have drilled the holes for the rotary encoders and the holding screws for the lcd on the top, and covered the lcd hole with masking tape to allow it to be clear when the rest is black.
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Raspberry pi lcd screen?