DIY-Batterty-Management-System refer: https://github.com/stuartpittaway/diyBMSv4 further will be updated later