I have an application where I want to detect audio on a pin, presently I'm using op amps and a opto isolator then using a diode I'm amplifying and converting the small audio signal into a high anf putting it on an input pin and jumping to a set of instructions, it works ok but is there a way where I can eliminate this circuitry and send the analog/audio into a comparator and test it there. It is not really ADC as I only want to compare the voltage amplitude, not convert it. Even if I need to rectify it and get it to a DC voltage is ok, just so I can simplify it. On this eight pin 12F629 there is a comparator, I'm new to this so I have trouble interpretting the data sheet explanations, I understand I would have to configurate a register to allow an analog voltage on a pin, has anyone done this and can you give me some understandable info....thanks, much
-
Categories
-
Platforms
-
Content