Why did you do it this way when you could have taken the 40 volt battery apart and put 5s4p in the 40 volt battery case
I made a 5 volt battery power supply out of a 40 volt battery pack case and it works very good you just gave this idea for when I buy another 40 volt battery pack case and...