Hart 20v Battery Pinout Diagram |best|

Since the voltage fluctuates from 20V down to 15V, use a Buck Converter to get a steady 12V or 5V output for your projects.