Posts: 60
Threads: 10
Joined: Apr 2016
Reputation:
0
I have three 5110 LCD displays, of which two were not working on my tinypilot.
I appears the contrast settings vary wildly between them.
On Arduino I can adjust the Vop untill they are readable
In home/pi/.pypilot/lcdclient.conf I see a contrast setting:
class LCDClient():
def __init__(self):
self.config = {}
self.configfilename = os.getenv('HOME') + '/.pypilot/lcd.conf'
self.config['contrast'] = 60
Is this the line I should change to adjust the contrast ?
Posts: 60
Threads: 10
Joined: Apr 2016
Reputation:
0
I found that changing the contrast value in lcd.py did not work, BUT
After I installed the IR sensor you can change display modes and contrast via the menu.
I cranked up the value to 61.000 with the old display, which was then almost black.
Installed another display and it was ok.
The menu is not available on the web interface.
There are settings for an RF remote, probably for future use.
Tinypilot even speaks french and spanish, pretty neat.
Can we expect Google support in an upcoming release?
Posts: 2,205
Threads: 20
Joined: Jun 2016
Reputation:
65
The contrast setting only works on some nokia5110 not all. Fortunately the ones it doesn't work on seem to not need to change the contrast.
What would be the advantage of adjusting contrast from the web? Do you mean the display cannot be read enough to get into the menu and adjust contrast?
I'm looking at getting all the languages working from countries I've sent tinypilots!
not sure what google support is
Posts: 397
Threads: 37
Joined: Jul 2019
Reputation:
14
I cannot seem to find lcdclient.conf in the directory specified above. How can I adjust the contrast without a screen to view the menu... its a bit of a catch 22...
suggestions?
Posts: 2,205
Threads: 20
Joined: Jun 2016
Reputation:
65
did you manage to adjust it so much you can't read it at all? Sometimes if you view from an angle you can again see it.
Anyway, the config files are all in ~/.pypilot
you should find a hat.conf there.
Some nokia screens can't adjust the contrast, others can. The ones that can't usually are "ok" without adjustment.
Posts: 2,205
Threads: 20
Joined: Jun 2016
Reputation:
65
it depends which version of pypilot, just look in the directory