arduino sensor initial code added