Hi Everyone
I just want to advise that the Lilygo T-Display module when referring to the latest schematic appears that it has been wired incorrectly. I havent tested the charger chip yet but just want to put this out there in case the schematic is wrong. For example pin 1 of the TP4056 on the schematic is connected to the RED led however in the TP4056 data sheet this pin is dedicated to monitoring the temperature of the battery via an NTC within the battery. There are so many other issues that I will simply provide the snapshot of the schematic and the TP4056 data sheet so you can see for yourself.
T-Display Schematic
TP4056 data sheet
Posts made by 1530dean
-
Lilygo T-Display TP4056 charger not wired correctly.
-
RE: ST7789v display dont works on Lilygo RP2040
@aravecchia Try changing the initialisation string from tft.init(135, 240); to tft.init(); or tft.begin(); and add TFT_eSPI tft = TFT_eSPI(135,240); between your include and define declerations.
-
T-Display-S3 Noisy Output and Unreliable timing
Not sure why but there appears to be a lot of noise on the output pin when toggling its output there is also times when the output timing does not comply with the code.
I am using GPIO3 in this routine but the jitter appears on all of the outputs.
Referring to the screen shot you can see the edges are not clean and one of the pulses is approximatley 22us when it should be 15us as per my code below..?
One of the things I have noticed is that the RED led is flashing rapidly when connected to the USB port but it does not flash when powered by external PSU. The noise appears to be related and my feeling is that there is some sort of routine still running from flash in the background but I am unable to view the memory...?Arduino Code
#include <TFT_eSPI.h>TFT_eSPI tft;
void setup() {
pinMode(3,OUTPUT);
//tft.begin();
//tft.setRotation(1);
//tft.fillScreen(TFT_BLUE);
}void loop() {
digitalWrite(3, HIGH); // Set pin 16 high
delayMicroseconds(15); // Delay 15 microseconds
digitalWrite(3, LOW); // Set pin 16 low
delayMicroseconds(15); // Delay 15 microseconds
}Screen shot from Oscillscope