OpenMarine
Tinypilot. Turn on screen backlight via GPIO. - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: Feature requests (https://forum.openmarine.net/forumdisplay.php?fid=21)
+--- Thread: Tinypilot. Turn on screen backlight via GPIO. (/showthread.php?tid=3278)



Tinypilot. Turn on screen backlight via GPIO. - kaa39518 - 2021-02-15

With a long hold on the "Menu" button, turn on the backlight connected to the GPIO contact.

Sincerely, Alexander.


RE: Tinypilot. Turn on screen backlight via GPIO. - seandepagnier - 2021-02-15

the backlight is adjustable from the menu already. There is even a light sensor for it. What are you trying to achieve?

Do you want backlight to turn on with buttons pressed?


RE: Tinypilot. Turn on screen backlight via GPIO. - kaa39518 - 2021-02-16

Yes. So that you can turn on and off the backlight with existing buttons.
I do not want to install an additional arduino and light sensor.
Is it possible to do this?
With respect to the work done by you!


RE: Tinypilot. Turn on screen backlight via GPIO. - kaa39518 - 2021-02-16

So far it looks like this.

It remains to deal with the backlight Smile


RE: Tinypilot. Turn on screen backlight via GPIO. - seandepagnier - 2021-02-17

making your own pcb? amazing!

you need it to somehow toggle io pin from keys? It is possible to do with small changes to the display program.


RE: Tinypilot. Turn on screen backlight via GPIO. - kaa39518 - 2021-02-17

(2021-02-17, 04:46 AM)seandepagnier Wrote: making your own pcb?  amazing!
The case was printed on a 3D printer. A keyboard on a laser printer on a film. The board was engraved on a CNC milling machine. Smile
Quote:you need it to somehow toggle io pin from keys?   It is possible to do with small changes to the display program.
If I knew how to do it ...
Edit lcd.py file?


RE: Tinypilot. Turn on screen backlight via GPIO. - merlin26860 - 2021-07-29

Alexander, what you have made looks amazing and is exactly what I want to achieve.
I have just ordered a Pypiiot from Sean so haven't seen the physical size of thigs yet. I've been looking to see if the Pypilot includes any functions dedicated to the IO pins? but can't seem to find anything specific to this. Perhaps you have achieved this yourself by adding script to the software.
Perhaps you could advise?
Cheers


RE: Tinypilot. Turn on screen backlight via GPIO. - seandepagnier - 2021-07-31

i will look toward dedicating a specific pin for the backlight from the raspberry. This is a future feature that should be implemented pretty soon.