I've got some old designs that use the H22L2 slotted optical sensor. Used to be able to get them from Fairchild but they're now phased out. They now only have phototransistor versions and not the logic output types.
Closest substitutes I found are from Optek. Omron also has some good ones though in a different form factor. Does anybody have other recommendations?
On a related note, I've also got some Hall effect sensors used for limit switches with the magnet passing side to side across the sensor face. The repeatability is not as good as I would like it to be. Any suggestions on how to improve repeatability? Have been experimenting with a Micronas HAL506 which is high sensitivity, temperature compensated and a chopping amplifier type so I'm thinking that my problem is more in trying to concentrate the magnetic field. So far I've been using a 1/8" diameter AlNiCo rod magnet.
Tia - Oppie