Hi
I'm using an optical sensor to detect a home position of a motor. Basically the sensor picks up the grub screw holding the axis to the motor shaft. The shaft is aluminium and the screw is black. The sensor feeds into a basic op-amp comparator circuit ie. if the voltage goes over 2.5V, it outputs a "1". It works just fine for 3 of my 4 motors but the other one gives a weak signal.
I'm thinking of using an integrator to give a positive or negative spike when it reaches a positive or negative edge and then something else to convert the positive or negative spike into a "1" or "0", in order to give more robust detection without having to bodge the sensor (put a shroud on it or whatever).
So pretty much I'm wondering if anyone's played around with this kind of thing and what kind of results they got. Any suggestions?
Thanks,
Pig.
I'm using an optical sensor to detect a home position of a motor. Basically the sensor picks up the grub screw holding the axis to the motor shaft. The shaft is aluminium and the screw is black. The sensor feeds into a basic op-amp comparator circuit ie. if the voltage goes over 2.5V, it outputs a "1". It works just fine for 3 of my 4 motors but the other one gives a weak signal.
I'm thinking of using an integrator to give a positive or negative spike when it reaches a positive or negative edge and then something else to convert the positive or negative spike into a "1" or "0", in order to give more robust detection without having to bodge the sensor (put a shroud on it or whatever).
So pretty much I'm wondering if anyone's played around with this kind of thing and what kind of results they got. Any suggestions?
Thanks,
Pig.