Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tp4056 reverse voltage protection
As soon as the wiring is done I will take a pic of the back, its kinda messy as there is still cable to run. Because of that I cant finish off some of the harnesses as yet. 
The connector is a pair of 50amp Anderson connectors I recovered from a old UPS i trashed for parts. You can get them at any trailer shop or auto store.
The 4 connectors give me 12v 5v 3.3v and Greound. Not that i have found a use for the 3.3v yet.

Basic schematic  well , each bay runs like this:-

Cell Holder > your Rev polaritiy Circuit > INA219 sensor (I2C data) > Relay .  Relay switches between Either a TP4056 or a HW586 pcb.

The INA219 Supplies Bus Voltage , Current, Shunt Voltage and load voltage (not used).

Now the INA219's can have 4 different addresses 0x40,0x41,0x44,0x45  as I am using 5 groups of 4 and add to that you cannot have 2 devices with the same  address, I use a 8 channel multiplexer, this allows me 8 rows of 4 sensors , 32 in all but I am only using 20. as each channel is separate, having 5 sensors with the same address is a non issue.

I chose an Arduino Mega simply because of the amount of pins it has. Believe it or not all 20 ina sensors only use a total of four pins on the Mega.
I use another 20 pins to turn the relays Opto-couplers on/off.  

The code is a work in progress, I had not even heard of an Arduino until late last year, so still learning the programming side. 

Quite happy to share info and answer any questions, also happy for hints and tips too.

Wolf likes this post
YOLO is wrong, You live every day. You only Die once so it should be YODO. Angel
(05-02-2019, 12:12 AM)Redpacket Wrote:
(05-01-2019, 01:00 PM)John Lee Wrote:
(03-18-2019, 10:29 PM)vdeconinck Wrote:
(03-18-2019, 07:43 AM)Gremlin Wrote: Any glaring faults anyone??

I don't have the time to check, but I really think it's time to make one as a first prototype and test it.
The rule is :
- Smoke => bad.
- No smoke => good.


Firstly "A Thank you" for this wonderful simple circuit. Could this be used for a Safety feature of Electrolytic capacitors discharging into an Inductive load or an Inductor specifically. As on discharging the capacitor into the inductor, the capacitor energy will go low but the Inductor energy will go high and being the tank circuit that it is, will try to reverse charge the capacitor (Electrolytic in this case) causing it to blow up. So my question is, will this circuit protect against such and inductor or inductive load in general. And further if the use case is for high current discharges should I use a Relay instead of the mosfet (Switch) to disconnect the Capacitor from the Inductor (Load).

A capacitor discharging into an inductor (& remaining connected) doesn't cause the capacitor damage, you get a "ringing" damped oscillation.
It's unlikely a relay would be better (contacts arc closed, less reliable, etc)  
For a better answer on what the right thing to do is, we'd need to understand the application & circuit you are considering.

I was thinking of a multi-stage coil gun with a an Electrolytic Cap powering each stage. The problem I am facing is of the tank circuit  that it is, it tries to charge the Electrolytic Capacitor in opposite polarity potentially destroying it in the process.
Capacitor discharge systems related to that do not use MOSFETs as the device & capacitors used in those circuits work fine, no reverse volts.
Can't really help you more on such a project.
Running off solar, DIY & electronics fan :-)

Who read this thread?
100 User(s) read this thread:
daromer, Sean, mike, PaulKennett, NERDVille, NiVa, Lux_Gamer, owitte, opus40, Majorphill, Korishan, A + A, PAF, brettwatty, FERCSA, APD, Franky Beuselinck, Batrium, Wattsup, Scepterr, eeesOap, egam, CrankyCoder, Mike C, eAnic, Sohax, jdeadman, wim, wimpie007, coconut2k13, MajStealth, frnandu, typ49, Hellonasty, John, Christian, Robert Baumer, Jeremy Choy, 1958 greyhound, kktuo, worldlookingin, kaits31, watts-on, Jack Daniels, Dan Lim, jesusangel, fcbrand, Daggerzz, alexcj, Hanssing, MetalFang, autobd, DrkHrs13, ismaildoganw, Stefaan De Ridder, rbrett, Igor Maliszewski, BlueSwordM, James Lane, Happy Camper Homesteader, KaminoReal, Mazlem, Geek, Rad, SWEwall, Jon, Ivo Staelens, jamesk9, floydR, juan3211, David Pesce, Herbi, Grumplestiltskin, Trino Mendoza, hOOPSNAKE, Thomas Koorneef, vpardieta, Jesse Quick, howiegrapek, Oderus420, Oz18650, neurocis, xXxOlivierxXx, ad8mustanggt, Everythings-stuck-together, sedorikku, Dave Adams, Pavel Razzorenov, Spkerking, PowerLio, vlmendezjr, Craig O. Bergland, yasko, BGrillo, navneetjn, Solexx X, vdeconinck, Ste Collister, rdh824, Charly144

Forum Jump:

Users browsing this thread: 1 Guest(s)