- #1
azra
- 8
- 0
Hi,
I am using a light sensor connected to an analog input of a microcontroller. My circuit turns an output high when there is a voltage of 2.5V or higher at the analog input i.e when there is a light shining on the sensor. But sometimes my output goes high even though I have no light shining on the sensor.
I would like the the sensor to be less sensitive so that it operates only when it senses a voltage of at least 2.5V or higher. How can I go about achieving this result? Would using a schmitt trigger be a good idea?I'd appreciate your advice!
Thanks in advance,
azra
I am using a light sensor connected to an analog input of a microcontroller. My circuit turns an output high when there is a voltage of 2.5V or higher at the analog input i.e when there is a light shining on the sensor. But sometimes my output goes high even though I have no light shining on the sensor.
I would like the the sensor to be less sensitive so that it operates only when it senses a voltage of at least 2.5V or higher. How can I go about achieving this result? Would using a schmitt trigger be a good idea?I'd appreciate your advice!
Thanks in advance,
azra