sensors with two state output