Hi all!,
I have a 1.8" TFT, with ST7735 controller, 128x160 pixels. SPI bus. The pinout is:
TFT 1.8" wired to ESP8266
1-NC..............................NC
2-GND...........................GND
3-Led-............................GND
4-Led+...........................3.3V
5-GND...........................GND
6-Reset..........................3.3V
7-A0...............................D3
8-SDA (Mosi).................D7
9-SCK............................D5
10-VCC..........................3.3V
11-IOVCC......................NC
12-CS............................D8
13-GND.........................GND
14-NC..................
I connected to a ESP8266 and it works well.
The problem is I need more bright, but I dont have any more GPIOs free to use. I tried a switch in this way:
|
switch left = ESP8266 3.3V
switch center = LED+
switch right = ESP8266 5V
When switch is at left, LED+ is at 3.3V. When is at right, LED+ is a 5V (with a RLim to ensure dont go more than 60mA). The thing works, but I want to be sure I'm not doing something silly.
Is this correct?
Also I have a question. I noticed I can disconnect the TFT VCC pin, and the display still works normally. ¿What exactly does the TFT VCC pin?
Anyone has a better idea of how to control bright without GPIOs free?
(I have an I2C I/O Expander in the circuit, a PCF8574, with I/Os free, but it havent PWM capacity).
I have a 1.8" TFT, with ST7735 controller, 128x160 pixels. SPI bus. The pinout is:
TFT 1.8" wired to ESP8266
1-NC..............................NC
2-GND...........................GND
3-Led-............................GND
4-Led+...........................3.3V
5-GND...........................GND
6-Reset..........................3.3V
7-A0...............................D3
8-SDA (Mosi).................D7
9-SCK............................D5
10-VCC..........................3.3V
11-IOVCC......................NC
12-CS............................D8
13-GND.........................GND
14-NC..................
I connected to a ESP8266 and it works well.
The problem is I need more bright, but I dont have any more GPIOs free to use. I tried a switch in this way:
|
switch left = ESP8266 3.3V
switch center = LED+
switch right = ESP8266 5V
When switch is at left, LED+ is at 3.3V. When is at right, LED+ is a 5V (with a RLim to ensure dont go more than 60mA). The thing works, but I want to be sure I'm not doing something silly.
Is this correct?
Also I have a question. I noticed I can disconnect the TFT VCC pin, and the display still works normally. ¿What exactly does the TFT VCC pin?
Anyone has a better idea of how to control bright without GPIOs free?
(I have an I2C I/O Expander in the circuit, a PCF8574, with I/Os free, but it havent PWM capacity).