Digital read (boolean value) from phototransistor

If you use an op amp you can set a threshold for the light level you wish to trigger from.

1 Like