Go look again... how about Comparators and a Voltage Reference Module as a start...