Battery management system using arduino. I would need a schematic and code model and some advice.