Yes there is, TX and RX are connected
i will try to install it again just by testing usb and tp4056
Don't know what you are doing but you should never have devices with 5V I/O signals connected directly to an ESP32
i made esp32 flashable with ch340, i didn't use 3v pin on ch340 because 3v current on ch340 is too weak that's why i replaced it with 3v stepdown
By full i mean the moment that the TP4056 would stop charging if no other load is connected. Normally speaking that would be at 4.2v i guess. though the charging pattern of a LiPo is first constant current and then constant voltage if i remember correctly, and the TP4056 stops charging when the current drops below a threshold. Thinking about it, the load-share could also cause issues earlier in the constant current charging stage. Anyway the TP4056 is not meant for load sharing and shouldn't be used like that. Doing so is dangerous.
You don't understand
The voltage on the CH340 TX pin is 5V level and the ESP32 can only take 3.3V without damage. You will destroy the ESP32. Never connect any 5V signal to an ESP32
You need to use voltage translators or power the CH340 with 3.3V
So you don't know.
A LiPo full battery level is 4.2v That i know, but the charger will reach 4.2v on the terminals before it is full i said.
But yes you are correct, i don't exactly know. I know the important part in application. But if you do know (better !) why don't you (make an effort..) and fully explain, so we can all learn something about it.
You made it sound like you were the expert.
So if the battery is charged to 4.2V and the charger is putting out 4.2V, then no voltage would flow into the battery, even though another load may be drawing current from the charger. Isn't that correct?
The expert says so So if i understand correctly, the voltage on the terminals is 4.2v, but i guess still current flow, so the internal resistance is not yet sufficient to stop current flow. The internal functioning of a battery is chemistry. Apparently even at 4.2v, current can flow and the charger needs to limit that.
The expert apparently know nothing about how the TPS4056 works, I can't find any reference on the TPS4056 at that link.
Are you sure you gave the correct link?
yes i did, though nothing TP4056 specific, under 'Proper care and treatment Charging" the CC/CV charging process is mentioned, which showed up straight on my google search of course.
Of course if there is no potential delta, no current can flow, so when a charger provides 4.2v at the terminals, anc current flows, the internal voltage of the battery must be less. So initially the charger adjusts the output voltage to provide a constant current, until that output voltage reaches 4.2v, after which it stays at that, but the battery isn't fully charged until the internal voltage of the battery also reaches that. Disturbing this process by drawing current is not recommended of course.
The TP4056 will switch of when no current flows i guess. I mean if you want TP4056 specific information, the datasheet would be the most obvious place to look, and it will tell you that the TP4056 is not meant to be used when load-sharing. But you as smart as you are can figure all this out without me, and if you could be bothered to share what you find, that would be helpful of course.
Well I can't find anything that says it can't charge a battery and supply current to a load. So I won't say that it is not possible.
it will tell you that the TP4056 is not meant to be used when load-sharing
I see that nowhrer but there are several versions of the datasheet. Please post the one you have that makes that statement.
I can't find one either. It's from memory when did the research on using one at the time. This is the first time anyone (and that includes you !) has questioned that, and many load sharing circuits have passed in different threads in which you also have been involved (no kidding) . Maybe i am wrong, but just from the point a view logical thinking.
- it first does a Constant current stage,, but how can the current provided to the battery be constant if there are added components in the circuit that may draw (a variable) current. Variations can damage the LiPo.
- The it goes into a constant voltage stage, with supposedly a linear reducing current. If i understand the LiPo battery workings correctly, increasing the current during this stage is what can cause damage to the LiPo in such a way (as any damage to the LiPo can) that it can result in explosion.
That it doesn't state in the datasheet that it can't doesn't mean that it can, since also that is not mentioned explicitly. The TP4056 will provide constant current, which is what should be used to charge the LiPo. If you think it's Ok to start varying that current, you should say so. There is plenty of information on Load-sharing circuits to be found.
As a general rule i tend to advise people on this forum, to be safe with LiPo batteries. They can be dangerous when not used appropriately. Do you want to follow a different policy ?
The question of charging termination came up in another thread, in post #11 there and later posts:
https://forum.arduino.cc/t/in-search-of-a-li-po-battery-charger-with-custom-limits/1371073/11
The conclusion I have come to is that if you continue to apply 4.2V to a lithium cell indefinitely, the cell voltage will never actually get to 4.2V (measured after taking away the 4.2V source), and current will be reduced to a few milliamps, but will never completely stop flowing. I don't know if this is safe, but it is at least a question for me because every lithium charger IC I've ever read about includes charging termination when charge current falls below a certain value when in CV mode. If that were not needed, I don't think the designers would invest the effort required to provide that function.
Using a "load sharing" circuit means no load current ever goes through the charger, so termination can take place normally. But the need for such a circuit can be avoided if the load current is less than the termination current, so termination would still take place - although delayed a bit - or even if load current is usually greater than termination current, but an occasional deep sleep drops the load current long enough for termination to take place. And some charger ICs even have timers to terminate charging if termination current is never reached.
It seems to me that you need to terminate charging to be safe. But I know opinions differ on this, notably in the Big Clive video linked in the other thread.
Yes
My policy is to not to try to bamboozle the OP with a bunch of gobbledygook and misleading information.
What you said about CC pin on USB is correct, now the problem is CH340G driver is not read. Is it because the IC is damaged or wrong path?
What do you mean by this?
Is the CH340 detected by your operating system?
Not detected at all but CH340G on Arduino Uno is read. Is there a path error in my design on CH340G?
Are the two capacitors the correct values for the crystal you have?