Case will be custom made (3d printed for now) as it will not be a standard form factor. It should be waterproof, no need to be submersible.
I want to limit the amount of holes (to reduce the chance of moisture coming in) therefore would like to use only 1 connector but I am unsure if this can be done electronically.
Thx for the connector tip, but it does not fit my purpose as it has no chassis/panel mount option.
I would say, if you switch to high side switching and put a diode from pin 1 of the connector to Vcc of the chip you're done. But keep in mind you have a diode drop so the voltage needs to be high enough.
But during charging you reverse bias the transistor. And depending on the applied voltage that might be out off spec....
@Ricky, cable glands is indeed an option and then use the waterproof connector type as you already mentioned. Only "but" is that it needs to be good looking casing and I find cable glands to be a bit bulky and uhhm ugly (unless you can point me to a neat one )
@Septillion, thx. I will try that. I am charging with 5V and have at least 3.7 from the battery so should be enough for the diode. Not sure about reverse bias the transistor. I use an IRLML2502. I checked the documentation but am not able te determine if it will be an issue.... Can you help me with that?
You can't use a single BJT transistor to switch current in both directions, you should add a shottky
diode between emitter and collector (anode to emitter) so the charging current can flow.
@MarkT, he doesn't want to. Yes, it's a bit unclear. But the input voltage doesn't need to go to the battery but to Vcc of the charger chip.
@vorstendom, if you use a mosfet, why draw a BJT? With a mosfet things change a bit because of the diode between drain and source... I don't know a solution from the top of my head...
Indeed I want to charge via VCC of the chip so that it is regulated.
ow **** very sorry septillion, I quickly drew up the schematic to paste an image in the topic... and indeed there is a mismatch in what I currently have in my proto and what I showed in the topic.
I started using mosfets because I had them lying around and these fully open with 3.7V on the gate, it should be no issue to switch to a regular transistor as I am not drawing that big a current (max 200mA).
I should use a PNP if using at high side right? Would a 2n5401 do? Will that fullly open and would that reverse bias be an issue? (appreciate the help! basic electronics I understand but having some troubles with these kind of details....)
At the moment I'm a bit clueless how to fix this good. Then I should draw it and do some (ballpark) calculations... Will give it a try this evening (I hope...).
@Boardburner, hmmm gland inside out, that could be an option
Yeah, case is really custom, I have special mounting and shape requirements. But thanks for the heads-up. I will make sure I test it.
@Septillion, would realy appreciate it. Thx in advance!!
If you already need a connector for a led(connector) then I would not bother with wireless charging.
I would just use a 3-pole connector and be done with it. No complex schematic etc. Just use high side switching and bring that out together with Vcc and GND.