Can I control the backlight of an I2C LCD display?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rhannink
New user
Posts: 7
Joined: 14 Nov 2016, 10:49

Can I control the backlight of an I2C LCD display?

#1 Post by rhannink » 25 Nov 2016, 16:00

Hello,

I am using an LCD display with an I2C converter together with ESP Easy. Everything is working fine.
But now I want to ad a proximity sensor which turns on the display when somebody is in front of the display.

Is it possible to switch of the backlight of the display?

Gr. Remco

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Can I control the backlight of an I2C LCD display?

#2 Post by papperone » 25 Nov 2016, 21:01

rhannink wrote:Hello,

I am using an LCD display with an I2C converter together with ESP Easy. Everything is working fine.
But now I want to ad a proximity sensor which turns on the display when somebody is in front of the display.

Is it possible to switch of the backlight of the display?

Gr. Remco
Sure, you need to connect backlight pin to a GPIO and use rules...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Jopiek
New user
Posts: 9
Joined: 13 Aug 2016, 00:13

Re: Can I control the backlight of an I2C LCD display?

#3 Post by Jopiek » 26 Nov 2016, 15:10

Backlight can be switched off by your controller using the following http: command:
http://<ESP IP address>/control?cmd=lcdcmd,off
more info can be found on the espeasy wiki pages.
http://www.letscontrolit.com/wiki/index.php/LCDDisplay

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 91 guests