LCD-show icon indicating copy to clipboard operation
LCD-show copied to clipboard

Turn Display off and on using console/ script?

Open markus-hsk opened this issue 6 years ago • 9 comments

If I type vcgencmd display_power 0, the display signal is gone as expected, but the display itself stays on with a blue screen, saying that there is no signal:

20181007_122658

Is it possible to switch the screen off completely to save power?

markus-hsk avatar Oct 07 '18 10:10 markus-hsk

there's no way to turn off backlight by using console, but you can turn off backlight by long press(3 seconds) the backlight key

goodtft avatar Oct 09 '18 02:10 goodtft

Where might this "backlight key" be?

Won't the screen become damaged by staying online indefinitely?

mtraves avatar Nov 20 '18 02:11 mtraves

Would love it if it had a “backlight key”, but it doesn’t. Have the 3.5 model. Is there really no way to turn off the backlight via software or otherwise?? If so, returning this immediately and leaving a negative review. That’s basic functionality.

cstodd avatar Dec 30 '18 01:12 cstodd

@goodtft is there is any way to turn of the back light on the 3.5" display?

withakay avatar Jan 18 '19 12:01 withakay

@goodtft is there is any way to turn of the back light on the 3.5" display?

cechevarne avatar Jan 18 '19 18:01 cechevarne

Hello I just bought the "3.5inch_RPi_Display". How can I turn off the backlight and turn it on when I touch the screen If only I had knowledge of this git before....

wixaw avatar Mar 14 '19 08:03 wixaw

I have the same question... Can I turn off the backlight and turn on via command script or tourchscreen ?

dioro-zz avatar Aug 16 '19 23:08 dioro-zz

On the display with "backlight switch" maybe you can try to use a transistor, optocoupler or similar parallel and switch this one with GPIO.

Vertigo1206 avatar Nov 15 '19 09:11 Vertigo1206

I was struggling with this too. Using vcgencmd to turn the display off leaves the LCD on and bright blue (yuck).

I found a good cheat though. Since the display is getting it's power from the Pi's USB ports, you can simply turn off the USB power on the Pi using uhubctl (https://github.com/mvp/uhubctl)

To turn off: sudo /home/pi/uhubctl/uhubctl -l 1-1 -p 2 -a 0 And back on: sudo /home/pi/uhubctl/uhubctl -l 1-1 -p 2 -a 1

andreas-globi avatar Sep 25 '20 16:09 andreas-globi