Morning all,
I've a project on the go at the moment that requires a pic to sense if there's milk in a pipe or not, the pipe is clear so I was hoping to use a ir pair as a beam break sensor. I've hunted about the net a bit and seen quite a few examples that modulate the output of the ir led and then use a band pass filter at the sensor end.
From what I understand this is to aviod any stray ir triggering the sensor?
Other examples seem much simpler and use the ir sensor as a switch.
I'm going to have to make a plastic holder for the emitter and sensor so eliminating stray ir shouldn't be to tricky. Are there any other reasons to go for modulation? I have a spare pwm output on the pic but the simple option is attractive!
Cheers Geoff
I've a project on the go at the moment that requires a pic to sense if there's milk in a pipe or not, the pipe is clear so I was hoping to use a ir pair as a beam break sensor. I've hunted about the net a bit and seen quite a few examples that modulate the output of the ir led and then use a band pass filter at the sensor end.
From what I understand this is to aviod any stray ir triggering the sensor?
Other examples seem much simpler and use the ir sensor as a switch.
I'm going to have to make a plastic holder for the emitter and sensor so eliminating stray ir shouldn't be to tricky. Are there any other reasons to go for modulation? I have a spare pwm output on the pic but the simple option is attractive!
Cheers Geoff