hello
i was playing with an optical switch
the circuit works , i just used a 4k resistor instead of the 100k one
but i dont understand how it works !!
in the photo transistor part, the signal out before the transistor . so if for example i connected a led , one lead will be connected to the resistor and the other to ground, it will be as if i just connected the led normally to a supply voltage ,
shouldnt it supposed to be connected one lead to resistor and the other to collector of the photo transistor .
also can i connect the output directly to a pic ?
thanks
i was playing with an optical switch
the circuit works , i just used a 4k resistor instead of the 100k one
but i dont understand how it works !!
in the photo transistor part, the signal out before the transistor . so if for example i connected a led , one lead will be connected to the resistor and the other to ground, it will be as if i just connected the led normally to a supply voltage ,
shouldnt it supposed to be connected one lead to resistor and the other to collector of the photo transistor .
also can i connect the output directly to a pic ?
thanks