-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power T-Display-S3 with a external 3.3V (preferred) or 5V source #205
Comments
Hi! teastainGIT here. No pins must be changed when using external power. Two very important GPIOs must be set HIGH in order for the display to work.
With the charging connector you can plug and unplug USB-C at random! |
Hey @teastainGit thank you for the response. Correct me if I understand wrong: I can feed from 3V to 6V from an external power source into the battery charge connector? And also I can plug the USB-C and load firmware? No need for diodes or any extra protection? No backfeeds or damaging USB-C port on the PC or the external power source? Thank you again. |
You are correct. |
Hey @teastainGit, So the recommendations are not to power directly the board from the 5V or 3V pins because of faulty running and backfeed to the USB-C. The something I think I have different than yours and is that my external source power is not a battery but another device. This is a coffee machine with a 3.3V regulator. I was thinking on powering the T-Display-S3 with this external device but if I connect the external power supply onto the battery port and also connect the USB-C I think I'll get backfeed to the coffee machine. So that's why I was thinking on using a Schottky diode. My original idea was to power directly from the 3V or 5V pin with this diode protecting the external power source. Agggh I'm lost here. It would be great that the board includes a secure option to power from an external 5V source and is protected on both sides for backfeed. Thank you. |
I thought so, but need to be sure if I can power the T-Display-S3 from that pin with no damage. Also need to be sure if the USB-C is connected and also powered with the 5V pin, no damage or backfeed to the PC or the external power source. |
You can see from the schematic diagram that 5V = USB 5V. If the voltage is normal, then it has the same effect as connecting to USB. |
@lewisxhe ok! And if both power sources are connected? (5V through pin and USB-C) can exist any damage on any of the devices? I need to limit this with a diode? Is already protected by design on the board? Thanks. |
They are the same line without any isolation. It is best not to connect them at the same time. |
Hi @lewisxhe, great information. Is there a way to have both power supplies at the same time? I need to use the board with a power source always connected from 3V or 5V and sometimes connected to USB to update firmware. Do you have some information on isolating and having no issues? Any data is welcomed for me to investigate. Thank you. |
Do you need to use the 3.3V external power supply of Display S3? At the same time, it is necessary to use external 5V Pin power supply, and then maintain the connection of Usbc for updating the sketch, right? |
@lewisxhe Maybe I did not explain myself as good as I wanted... I'm installing the Display S3 into a coffee machine, and need to power the Display S3 with power gathered from the coffee machine main board (I think I can get 5V or 3.3V somewhere). The Display S3 will also need to be connected to the USBC sometimes for some updates, so in that time, the Display S3 will be sourced with two power lines, the one coming from the coffee machine board and the USBC. I wanted to create some sort of protection and be safe with all devices. |
Do you need to provide 3.3V or 5V from the coffee machine to provide power to DisplayS3? |
When you say "cut the VBUS 5V on the USBC line" do you mean to cut the +5V cable on the USB cable or to cut the trace on the circuit? |
I think cutting the +5V cable is the simplest and safer way. |
I agree but this means that the coffee machine must be on to upload firmware. This is a valid solution but not the one I'm looking for. I would love that both cases can coexist and be protected from each other, using standard USB cables. Imagine someone that builds this coffee machine and needs to remember to cut the USB and use that cable each time for uploading firmware while the coffee machine is turned on. This is difficult to remember and probably would use a normal cable sometimes and blow something... That's not a good outcome for the project 🤣 I know that introducing a Schottky diode on the external power supply will prevent that when the USBC cable is connected, no current (from the PC) will flow to the external power supply, the case I need to solve is how to protect the USB port of the computer when the external power is ON. The ideal would be that when the two power supplies are connected, external 5V from the VIN pin and USBC cable, the USBC takes priority and all devices are fully protected from reverse current. |
Of course, this is possible. You can connect a Schottky diode in series to the 5V pin of the USB cable and a Schottky diode in series to the 5V pin. This is relatively safe. |
Hello @lewisxhe, So just to summarize, I have placed a Schottky diode before the VIN pin, so now when the USBC is connected no current will flow to the external power supply. The first part is done. For the second part (protecting the PC from external current) I have some difficulties yet. Is only me that is trying to achieve this? Connecting external power supply and USBC to the T-Display-S3 at the same time? Maybe would be nice to have this protection placed in the board design for other people trying to connect the T-Display-S3 from external power and upload firmware without having any risk of current flowing onto the PC or the external power supply. I'm working in a project that transforms coffee machines into "smart" coffee machines using the T-Display-S3 and need to solve this. This project will be used by people without knowledge and I need the project to be safe, to protect both ends, the power supply part and mostly important the PC of people uploading firmware. Thank you for your comments. |
Maybe you can add a USB power isolator on the USB side |
Hey @lewisxhe I've found a Schottky between VBUS and VIN already on the T-Display-S3 board. Can you confirm that the board is already protected with this diode and no current will flow from the VIN (when connected) to the USB port? Maybe no isolator is needed... |
Oh! Yes, I didn’t see it either. Then it can be used without an isolator. |
Great, so by placing a extra Schottky diode between the external power source and the VIN pin the T-Display-S3 could be powered and both power supplies (external & USB) will be protected from reverse current or damage. |
Hello,
I need to power the board with a regulated external 3.3V (preferred) or 5V source:
In case of 3.3V:
3V PIN
andGND
?In case of 5V:
5V PIN
andGND
?In any case:
I'm sorry if my technical language here is not adequate, I'm no expert.
I have also read that when using external power some pins must be changed @teastainGit
Thanks. All help is much appreciated.
The text was updated successfully, but these errors were encountered: