Hi,
I have an infrared emitting LED that shines onto a phototransistor. I am inputting a square wave into the LED and looking at the output of the phototransistor. At a low frequency the output is correct. However my data is 4khz, and at this frequency the output of the phototransistor is nothing like a square wave. See the pic attached for input data and output of the phototransistor.
I also noticed that the frequency of the output wave is only 2khz, so I think its something to do with the phototransistor not being able to switch its output state quick enough.
Any thoughts ?
I have an infrared emitting LED that shines onto a phototransistor. I am inputting a square wave into the LED and looking at the output of the phototransistor. At a low frequency the output is correct. However my data is 4khz, and at this frequency the output of the phototransistor is nothing like a square wave. See the pic attached for input data and output of the phototransistor.
I also noticed that the frequency of the output wave is only 2khz, so I think its something to do with the phototransistor not being able to switch its output state quick enough.
Any thoughts ?
Attachments
-
27.6 KB Views: 22
-
15.2 KB Views: 26