Digital or Analog Filter
Hi guys,
I need to design a project that can detect a missing line of a cloth. In my application I have one IR Transmitter and a Phototransistor, and they are looking direct to the cloth, and the cloth is moving, if a missing line move Through the sensor it must detect it. But the question is How...
I thought do a filter, BandPass, that the output is a pulse and the microcontroller detect it. But I don't know how to design this filter, because the signal when the missing line move Through the sensor is very low voltage, Is it better using a digital filter reading the output of the sensor direct by the microcontroller? I'm using PIC16F876A.
Thanks in advance