sensor working on pi