I am working on a line follower robot project.
I am using light sensors and an op amp for the initial input stage of the complete circuit.
Ideally, the op amp should switch to Vcc+ (4*1.5V batteries=6V) when the sensor is on the track and Vcc- (0v) when the sensor is off the track.
In practice however this is not working and the op amp switches between ~1.2V and 1.6V .
This is the circuit I have set up;
The op amp I am using is the TL072CP op amp from Texas Instruments.
I am using light sensors and an op amp for the initial input stage of the complete circuit.
Ideally, the op amp should switch to Vcc+ (4*1.5V batteries=6V) when the sensor is on the track and Vcc- (0v) when the sensor is off the track.
In practice however this is not working and the op amp switches between ~1.2V and 1.6V .
This is the circuit I have set up;
The op amp I am using is the TL072CP op amp from Texas Instruments.