Added arduino battery monitor code