PIC16F84A RC Timer

Discussion in 'Embedded Systems and Microcontrollers' started by SpiderSpartanju, Aug 16, 2010.

  1. SpiderSpartanju

    Thread Starter Well-Known Member

    Apr 10, 2009
    I've built a 3x3x3 LED cube like the one at this Instructable, but with a PIC15F84A-04/P as the controller.

    For the oscillator on this project I'm using a 5K resistor to +5V with no capacitor. I'm wondering what frequency that is actually giving me?

    All the calculations I've found don't appear to be right and I don't have a scope to check with.

    So can anyone tell me what frequency a 5K pull up to 5V is giving me? Thanks for any help.
  2. Markd77

    Senior Member

    Sep 7, 2009
    The section in the 16F628 datasheet on the ER oscillator setting might be slightly relevant, but that is a mode designed for it and the resistor is to ground.
    I guess the way would be to put a large delay in, time how long it takes and calculate from there. I'm not sure if this method is recommended or stable.