Changed sensor to add measuring and sending concurrency