Closed spotlesscoder closed 6 years ago
Hi, cheap displays are out there, yes. Not versions of the official one, but third party. I guess some with brightness changing possibilities too. Let me explain:
The official touch LCD uses a function most likely built into the vanilla Linux Kernel, controlling the brightness using the sysfs
located at /sys
. This works on almost any Linux machines, for my laptop e.g. the sysfs
files for the backlight are located at /sys/class/backlight/intel_backlight/
. The Arch Linux Wiki has a great explanation, including some alternatives: https://wiki.archlinux.org/index.php/backlight.
Why am I telling you this?
What you're looking for is a display supporting this feature. I don't have any in mind currently, which would work for the Pi OOTB, but to be honest, I've simply never needed one different to the official one :wink: I have two for now, which is fairly enough, as I don't need a touch display for many applications. I tend to using a webbased ui and a tablet or smartphone as the "display". Just as an idea for you.
However: I would be willing helping you on finding one. Do you need touch? Or just a display with adaptive brightness?
If you agree on investigating using the keywords I gave, I will do that too and the chance we'll find one is pretty high.
I would then also provide the necessary Code if e.g. the sysfs
backlight directory differs or the display uses a different method of changing the brightness.
Please let me know what you think!
Touch would be nice but I don't need it.
I think I could also use a microcontroller instead of a raspi for that part of the project. If I use a microcontroller, maybe this one would work for me: https://www.amazon.de/dp/B01EUVJYME/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=338TAMV5X48EM&coliid=I2AOQNXQ3CNXUU
Yes, seems like a standard display for Arduino. But this is Python in combination with Linux, so this whole project won't work for you anymore.
See, there are plenty of displays for both Arduino and Raspberry Pi. However, I'm not a specialist when it comes to displays, regarding the Raspi it's a difficult thing. Better ask such things in a forum for Arduino or Raspi respectively. Of course you might come back later and open another issue, I would be happy to help, if possible.
Are there cheap versions of the display on which the brightness can be controlled using this library?