TFT 3.5" ili9486 dislay: how to manage backlight

I'm using the 3.5" TFT display with ILI9486 on Arduino Mega 2560, with a program that reads data from the BME280 sensor and the time and date from the DS 3231. I am using the following libraries:
<BME280I2C.h>
<MCUFRIEND_kbv.h>
<RTClib.h>
<TimedAction.h>
<SPI.h>
<Wire.h>
"DST_RTC.h".

I would like to know if there is an easy way to turn off the display (only the display!), for example during the night, to "save" the display itself, to save energy and not disturb my sleep. I thank anyone who will give me a suggestion.

Hello!
Did you solve the problem?

I haven't found any solutions for the 3.5" TFT display that can be used directly on the Arduino Mega.

Instead, using a NodeMCU8266 board and a 3.5" TFT display with SPI (https://it.aliexpress.com/item/32954240862.html?spm=a2g0o.order_list.order_list_main.10.79dc36968hHqKL&gatewayAdapt=glo2ita), it is possible to turn off the backlight LEDs, because the display has a LED Pin, which can be controlled via a PNP transistor, connected to a Pin on the NodeMCU board.

I succeeded with this model. I managed to modify the display to have control over the LED.
Check the resistance R1. It is possible that R1 is the current limiting resistor on the LED.


Your display is different from mine, as you can see from the photo on the Forum. Therefore, I don't feel like intervening on the R1, like you did. The R1 on my display probably also controls the LEDs, but I don't want to risk burning it. I prefer to use the NodeMCU8266+TFT SPI solution, which ensures greater speed, superior performance (possibility of connecting to WiFi), at a lower cost. The diagram used is the one I attach.

[/details]


ILI9488_TFT_ISP SCHEMA.pdf (82.5 KB)

I have made a completely refactory of my original project, using NodeMCU8266 board, TFT SPI 3.5" display, BME280 sensor. The project is now on https://www.instructables.com/A-Completely-Refactory-Code-for-a-Clock-Weather-St/

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.