eleclab-rpi / 8INCH_HDMI_1280X720

1 stars 0 forks source link

How can I control the display brightness? #1

Open DirkMeintjies opened 1 year ago

DirkMeintjies commented 1 year ago

Is it possible to control display brightness except for using potentiometer? I need to control brightness from Raspi, can I do this with PWM output maybe?

eleclab-rpi commented 1 year ago

HI, dear user, this is a great idea but not available yet.

If you want the Raspberry Pi to control the brightness, you have to issue instructions from the USB interface or HDMI interface. This requires extending the USB function and adding a virtual device that allows the Raspberry Pi to perform read and write operations.

The good news is that the MCU firmware of our display can be upgraded via USB. Next we will look for how to implement this function. Once new firmware is uploaded to github, we will notify you to download and upgrade it.

best wishes!

@.***

From: DirkMeintjies Date: 2023-09-29 00:23 To: eleclab-rpi/8INCH_HDMI_1280X720 CC: Subscribed Subject: [eleclab-rpi/8INCH_HDMI_1280X720] How can I control the display brightness? (Issue #1) Is it possible to control display brightness except for using potentiometer? I need to control brightness from Raspi, can I do this with PWM output maybe? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

eleclab-rpi commented 1 year ago

HI, dear user, this is a great idea but not available yet.

The current backlight control method is as follows: The MCU collects the analog voltage of the potentiometer, and then the MCU sends a PWM signal with a corresponding duty cycle to the backlight circuit for brightness adjustment. A simple solution is to generate a new MCU firmware that does not generate PWM, allowing the Raspberry Pi to directly output the PWM signal to the EN pin of the backlight circuit.

If we want the Raspberry Pi to control the brightness, we must issue instructions from the USB interface or HDMI interface. This requires extending the USB function and adding a virtual device that allows the Raspberry Pi to perform read and write operations.

Of course, using PWM signals is another option. Currently on the 7" DSI display, we use an 8PIN MCU to implement the I2C brightness setting command and control the backlight circuit through the PWM signal. But the DSI interface display is a special example.

The good news is that the MCU firmware of our display can be upgraded via USB. Next we will look for how to implement this function. Once new firmware is uploaded to github, we will notify you to download and upgrade it. Of course it will be able to be applied to the following types of displays once this function is completed: 7.4" 1280x400 8" 1024x600 8" 1280x720 10.1" 1280x800 Upcoming 10.1" 1920x1200 and 10.1" 2560x1600 10.3" 1280x480

Best Wishes!

@.***

From: @.*** Date: 2023-09-29 08:50 To: eleclab-rpi/8INCH_HDMI_1280X720 Subject: Re: [eleclab-rpi/8INCH_HDMI_1280X720] How can I control the display brightness? (Issue #1) HI, dear user, this is a great idea but not available yet.

If you want the Raspberry Pi to control the brightness, you have to issue instructions from the USB interface or HDMI interface. This requires extending the USB function and adding a virtual device that allows the Raspberry Pi to perform read and write operations.

The good news is that the MCU firmware of our display can be upgraded via USB. Next we will look for how to implement this function. Once new firmware is uploaded to github, we will notify you to download and upgrade it.

best wishes!

@.***

From: DirkMeintjies Date: 2023-09-29 00:23 To: eleclab-rpi/8INCH_HDMI_1280X720 CC: Subscribed Subject: [eleclab-rpi/8INCH_HDMI_1280X720] How can I control the display brightness? (Issue #1) Is it possible to control display brightness except for using potentiometer? I need to control brightness from Raspi, can I do this with PWM output maybe? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>