Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

PIC CCP or PLL

2 posts / 0 new
Last post
Chester
Chester's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: 10/03/2017 - 03:17
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

 

Hari Prasaath K
Hari Prasaath K's picture
Offline
Last seen: 1 day 18 hours ago
Joined: 20/01/2015 - 23:56
CCP or PLL

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.