A comparator with a OPEN-COLLECTOR output is used here.The comparator has 8 terminals.In the presence of a 5V voltage, the comparator is capable of accomplishing a variety of demanding tasks.Comparator electronics consists essentially of a high gain COMPARATOR amplifier.The part should not be applied to locations where the ambient temperature exceeds 125°C °C.There is a limitation to the accuracy of this part in colder regions than -55°C .