Comments (28)
To clarify the different power options :
- power via USB without battery
- power via USB with a battery : the battery will get charged, and will be used when USB is disconnected
- power via the +5V. It won't charge the battery. This should be done without battery only : the 5V pin is connected directly to the battery (via Q5) as soon as USB is plugged in.
- power via the VBUS (which is the 5V pin of USB). This is the best approach, as this will charge the battery, and if no power is applied on VBUS then the battery will power the board. As can be seen on the schematic, this is the only way to charge the battery, the +5V or +3.3V pins won't do it. The problem is that VBUS isn't directly accessible on a pin. Of course VBUS is the same trace as the USB power, so ideally this should be used without the USB, even if it would probably work.
from ttgo-t-display.
Two T-Display boards that I bought in early 2020 cannot be powered over their 5V pin. Three recently bought ones can, so there may have been a revision.
from ttgo-t-display.
I'm powering it by the 5V pin, without using a battery or USB and it works fine.
from ttgo-t-display.
Like any ESP32, you "normally" can power it by 5V or 3.3V.
TP4054 recommended input is "4.5V - 6.5V" so i think it will work without problems on 5V.
You should step the TP4054 Vin up to 5V if you want to supply 3.3V to the board.
from ttgo-t-display.
I run it off a 1s lipo without issue.
from ttgo-t-display.
Rather than attempting to create a new issue - I am looking for some help here.
In order to power this TTGO T-Display board with a voltage source (not through the USB-C connector), how would one go about this?
Are you connecting 5v to the 5V pin? Or 3.3V to the 3.3V pin? The 3.3v pin appears to be the output of the 3.3V regulator, so I am not sure that is the right approach.
And from my (unprofessional) look at the schematic, it seems like a 5V source would ideally be connected to the VBUS line, but that isn't broken out to a pin.
Am I missing something here?
I was hoping to use these for a project where I mount it in an enclosure, with a 12V input from a wall wart, and a small buck regulator to drop the voltage to 5v to power this and a level shifter for controlling some 12v addressable LEDs. But not being able to power from that 12V source makes this board a bummer for me. Even if it could be externally powered with a 3.3v source, I could put a second buck regulator in there for the 3.3v source and make it work.
But I have also seen some mentions that the board doesn't start "automatically" when power is applied through a method outside of the USB-C port.
from ttgo-t-display.
Powering it by the JST connector is working (you can put a 18650 bat to test).
I could power it by USB-C with some voltage range.
Powering it by the 5V should work.
Just try it.
from ttgo-t-display.
I can't get the battery connector on the underside to turn on the display, it seems to run a IR-LED i have hanging off the 5v pin (and I assume the ESP32 itself) but I can only get the display to turn on when running from USB-C. Does the display need 5v?
Edit: seems you need to press reset to get it to boot, see #9
from ttgo-t-display.
If I power via 5v rail, 5.0v is sent to the LiPo battery, so it looks like it is passing battery management. If I power via USB-C, 4.2v is sent to the LiPo battery. So I am unable to use battery management unless using the USB-C port, since there is no VBUS connector. I guess I could remove the USB connector and solder on to that, but that just makes it difficult to improve the software later on.
@sej7278 - I am able to run the controller & screen using just a LiPo battery plugged into the JST port, and also via the 3.3v rail.
I am using this schematic for reference: https://raw.githubusercontent.com/Xinyuan-LilyGO/TTGO-T-Display/master/schematic/ESP32-TFT(6-26).pdf
from ttgo-t-display.
@ribbles when you run the controller and screen using a lipo, do you need to press the reset button to make the screen come on?
from ttgo-t-display.
No. But my board was shipped without a capacitor next to the USB-C port, which I read is what needs to be removed here: #9
from ttgo-t-display.
If I power via 5v rail, 5.0v is sent to the LiPo battery, so it looks like it is passing battery management. If I power via USB-C, 4.2v is sent to the LiPo battery.
...
I am using this schematic for reference: https://raw.githubusercontent.com/Xinyuan-LilyGO/TTGO-T-Display/master/schematic/ESP32-TFT(6-26).pdf
Are u sure that 5V from rail is passed to a batterry connector or U6 batt management chip? I didn't test, but can't see this from schematic.
from ttgo-t-display.
Do 3.3V output also works when a lipo is connected?
from ttgo-t-display.
Yes.
from ttgo-t-display.
still there is NO answer how to power the board/display other way than the USB-C connector.
I'm also looking for the easy answer - solution : how to power this device (not by USB-C) ?
- which pin should I use with 5v to make it work the same way as it works during USB-C powering ?
from ttgo-t-display.
Still without answer about how to use a battery and the back connector to power this thing?
from ttgo-t-display.
I connected the supplied power connector cable to a 4.7v lithium battery, and charge via the USB port. Works reliably and performs battery management.
from ttgo-t-display.
I know nothing about electronics.
The TTGO has no on/off switch for the battery.
What compact switch could I use, so that I don't have to plug/unplug the JST cable each time?
Thank you.
from ttgo-t-display.
I tried powering via the 5vdc and one of these
The GPS has 12 satellites but keeps loosing fix.
I plug the USB in disconnect the 5v drive, rock solid fix. Bring it in side it get's down to 4 sats and has rock solid fix.
It's also show batt volts when there is no battery attached when you drive it via the via 5 volt pin.
I'm going to either modify a USB plug or try and get something onto the back of the USB.
Thanks
from ttgo-t-display.
5v on the 5v pin just fried the board.
While I don't mind paying for learning... the time it takes to replace the boards... ARGH
Has any got a reliable solution? can I power the 3.3v with 5v safely?
from ttgo-t-display.
from ttgo-t-display.
from ttgo-t-display.
I had the same problem to power the board/display other way than the USB-C connector. Some boards doesn't work powering 5V from external or from JST. The board just works from USB-C connector.
Solution:
To power from battery or from external source you need to add these two lines at beginning of your coding setup() function (Arduino IDE). Lines are:
pinMode(15,OUTPUT); digitalWrite(15,1);
This will enables the pin for external power.
I hope that helps.
from ttgo-t-display.
Is it not possible to power the board from 5V connected via the JST ? As far as I can see the charger chip (TP4054) allows battery voltage in range -0.3-7V, so 5V should not be a problem. It is not going to try to charge a battery at that voltage, even if USB power is connected. The 3.3V regulator allows input up to 6V, so that should continue to work. I believe the other circuitry should prevent the USB supply fighting the battery input. Am I missing anything ? Has anyone tried it ?
from ttgo-t-display.
Is it not possible to power the board from 5V connected via the JST ? As far as I can see the charger chip (TP4054) allows battery voltage in range -0.3-7V, so 5V should not be a problem. It is not going to try to charge a battery at that voltage, even if USB power is connected. The 3.3V regulator allows input up to 6V, so that should continue to work. I believe the other circuitry should prevent the USB supply fighting the battery input. Am I missing anything ? Has anyone tried it ?
Hi Valdez.
I am unable to power up from the JST too.
Looks like this issue is related to some version revision of these boards....Some works, some doesn't. My lot of 10 boards just powers up from the USB-C. That's why you need to add the lines above in your coding...
from ttgo-t-display.
@Esantacruz01 What does GPIO15 do ? On my schematic it does not appear to be connected to anything.
On the other hand, GPIO14 does appear to do something in the power circuit.
from ttgo-t-display.
To clarify the different power options :
- power via USB without battery
- power via USB with a battery : the battery will get charged, and will be used when USB is disconnected
- power via the +5V. It won't charge the battery. This should be done without battery only : the 5V pin is connected directly to the battery (via Q5) as soon as USB is plugged in.
- power via the VBUS (which is the 5V pin of USB). This is the best approach, as this will charge the battery, and if no power is applied on VBUS then the battery will power the board. As can be seen on the schematic, this is the only way to charge the battery, the +5V or +3.3V pins won't do it. The problem is that VBUS isn't directly accessible on a pin. Of course VBUS is the same trace as the USB power, so ideally this should be used without the USB, even if it would probably work.
Thank you for the clarification!
from ttgo-t-display.
Thanks for this issue. I also was wondering how to power via external 5V.
Using the battery input did not work for me. Fortunately I also didn't fried my board cos I noticed it's getting warm when I connect to the 5V PIN.
I connected an unused NC PIN directly to PIN 4 of the charger, see attached photos.
from ttgo-t-display.
Related Issues (20)
- Reintroduce the MIT Licence HOT 1
- What means soder option on the product page to order? HOT 1
- Connection lost HOT 1
- ESP32 doesn't wake-up from deep sleep when battery goes flat
- Ghosting old artifacts
- Display fails when code uploaded by PlatformIO HOT 1
- I2C Connection Issue with PN532 HOT 1
- T-Display Blank Screen HOT 3
- WebSocket Client Sample for LILYGO board
- SPI SDcard not working with LilygGO T-Display
- loading library from h:\...\Arduino\libraries\T-Display-S3: invalid library: no header files found
- 3D files
- TTGO T-display C1101
- How to make circuitpython work? HOT 3
- blank screen but still uploads code HOT 3
- Does readrect() work on this display HOT 1
- LilyGo T display won't mount. HOT 4
- TTGO T-Display v1.1 serial port problems HOT 2
- Crashing LVGL with Wifi
- Getting GPIO Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttgo-t-display.