- This topic has 1 reply, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › PIC CCP or PLL
I have an anolog circuit that has an incoming low voltage signal that is compared to a Pot adjustable VCO, Under normal conditions the VCO is adjusted to match the incoming signal. Then , If the incoming signal changes significantly the signal is passed to an amp and a speaker. It uses a 4046, but only for the VCO.
I would like to do this by eliminating the 4046 and possibly using CCP in a pic micro, My question is this possible? I have several 16F84A's that I'd like to find a use for. The data sheet shows they have 2 CCP modules.
I've also read alot about Pic PLL's but it appears to me they work by locking when a signal is the same, which is opposite of what I'm trying to do.
Any ideas or suggestions would be kindly appreciated.
Thanks
By using PLL the two frequencies say input frequency and the reference frequency of the VCO are compared and it sets to the stable frequecy.
Where ccp is Capture, Compare and pwm. where capture used to detect the raising and falling edge of signal and compare is interrupt that compares the changed value with the pre-set timer and pwm signal at that frequency.
you can choose the type according to your required application and what type of operation you want to perform.