gsm based smart energy meter project how to develop a code in arduino for charging a balance