capacitor for crystal

Thread Starter


Joined Jun 22, 2008
hi electronic funs i have problem about a pic project i want to measure frequency between 10-20Hz using with PIC and i use to CCP unit from PIC...CCP(capture compare pwm) uses TIMER1 and TIMER is a 16 bit counter if i use 4mhz crystal;4mhz/4=1mhz and then 1/1mhz=1us(microsecond) timer1 is maximum 65536; 1*65536us=65536us and then 1/65536=15,25 hz
i cant measure between 10-20hz i think if i choose 2MHZ crystal i will solce this problem but if i choose 2 MHz crystal which capacitor i will use pls help me....thanks good works...