Code to operate sensors and push to server on Arduino