Hi friends,
So far I have rigged up a bunch of LED strips using a sketch similar to the one attached below from adafruit. That draws the max safe output current from my batteries (22.2v, 18a, 400W), and I've determined that if they can supply that for 6 min then they are good. The test works; however, I'd like to have the Arduino automate that process.
Is there a way I could get the arduino to measure the current or voltage going into the LEDs even though it bypasses the board? I'd like to write a sketch wherein if the voltage/current drops below a specified threshold the arduino stops the test and signals me (flashes the LEDs), or if the energy stays above that threshold for six minutes the arduino stops the test and gives some other signal.
thanks!
Background info:
I'm looking to test some lithium batteries quickly, and automate the process with an arduino. The batteries I need to test have six 18650s wired to an internal balancing board, but there are no external balancing leads, so the only way to find if a cell has gone bad is by testing discharge rate. The manufacturer says they should be able to discharge 18 amps continuously without issue, and 22 in a burst. I appreciate your concern, but please do not fret over my safety. I've taken the necessary precautions regarding the lithium batteries, high current wiring/pcbs, LED strip voltage drop, etc. I'm just new to Arduino and need help with that.
