n3roGit / DPVControl

Your DIY diving vehicle controlled by ESP32
GNU General Public License v3.0
4 stars 1 forks source link

[FEATURE] Powerbank - PRIO 10 #23

Open n3roGit opened 7 months ago

n3roGit commented 7 months ago
Switch 1 Switch 2 Function
3 Clicks 3 Clicks PowerBank ON/OFF

I would also like to have an external power supply via the device's battery. This power bank function must be switchable on and off.

The function for the display is already implemented:

setBarPowerBank();

For this, PIN_POWERBANK is set to either HIGH or LOW.

Here it is crucial that PowerBank is ALWAYS off initially. In addition, we need to add PreventOverload to reduce the maximum available power of 10A when the powerbank is active.