Hi,
I an using an infrared photo interrupter (Jaycar ZD1901) with a rotating plastic disc with slots to provide a hi/low trigger. I'm OK with the PICAXE coding, but how can I make sure I'm going to capture eash trigger point?
With about a 4.5v Vcc, it measures a High voltage out of about 2.8v, and a low at about 1.6v.
I thought a Schmitt trigger would be the way to go, and happen to have a 74HC14, although never played with one before, but from what I can gather from the datasheet (I'm pretty new to trying to decifer such things) what this would prefer to see is more like <1.4v for the low trigger voltage and >3.6v for the high trigger voltage. The more I have been looking/reading, the more confused I'm getting!
Any suggestions on what components I can use between the photo interrupter & the Picaxe pin to ensure I get clean high & low inputs when I expect them?
Bryan
I an using an infrared photo interrupter (Jaycar ZD1901) with a rotating plastic disc with slots to provide a hi/low trigger. I'm OK with the PICAXE coding, but how can I make sure I'm going to capture eash trigger point?
With about a 4.5v Vcc, it measures a High voltage out of about 2.8v, and a low at about 1.6v.
I thought a Schmitt trigger would be the way to go, and happen to have a 74HC14, although never played with one before, but from what I can gather from the datasheet (I'm pretty new to trying to decifer such things) what this would prefer to see is more like <1.4v for the low trigger voltage and >3.6v for the high trigger voltage. The more I have been looking/reading, the more confused I'm getting!
Any suggestions on what components I can use between the photo interrupter & the Picaxe pin to ensure I get clean high & low inputs when I expect them?
Bryan