Hi. May I know why is this circuit to detect motion not working?
When the part in the red box is not connected, the point connecting to the base measures 2.2V when the phototransistor is not blocked and 4V when it is blocked. Even though I was expecting 0V and 5V respectively, I figure that could work since an increment of 1.8V is enough to turn on the BJT (BC537).
So I thought I could just take the voltage at the collector of the phototransistor and connect it to the base of the BJT so that the BJT could be turned on when the beam from IR Led to the phototransistor is blocked. Unfortunately, after connecting the parts in the red box, the voltage measures 540mV when the phototransistor is unblocked and 580mV when blocked.
I've tried to solve this problem by adding resistors to the phototransistor branch and the emitter branch of the BJT but the LED still doesn't light up when the beam is broken. I've ran out of ideas on how to solve this so I hope the AAC community can lend me a hand here. Any help would be much appreciated.
Schematic
http://tinypic.com/r/ka4vu1/7