comparator
DESCRIPTION
comparatorTRANSCRIPT
Analog to Digital Converter:It is clear that the output of the Photo diode is an analog voltage. But Microcontroller does not accept the analog voltage. So we need to convert the analog voltage to digital before we feed it to the microcontroller.For this conversion we can use1. Comparators2. ADCs.
.V0 = High when V+ > V-V0 = Low when V+ < V-..FUNCTION OF THE COMPARATOR:
LM-358 (Op-Amp IC):The LM-358 IC consists of two independent operational amplifiers which were designed specifically to operate from a single power supply over a wide range of voltages.Here Op-amp is used as comparator.Pin configuration of LM-358 is giving as follows-