Detecting the input from sensors

Detecting the input from sensors