Do I need an oscillator?


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    88

    Default Do I need an oscillator?

    Hello All,

    I haven't finalized the design, but I'm thinking I will be using the 16F819. I have a module that I'm making that will do certain functions when certain inputs are activated, but I wanted to ask about one feature I was going to be implementing and needed to know if the oscillator was necessary.

    The one feature this module will have is that when a certain input is activated, the module will begin a timed output. After this time expires, the output will turn off. However, the twist is this; because I want to monitor the other inputs in 1/10th second increments, do I even need an external oscillator? The pic usually handles short counts quite accurately. I would just use a counter to keep track of the number until say 5 minutes is reached. It doesn't have to be accurate, the timed output is simply to prevent excessive draw on the battery.

    So, using a pause 100 command along with a counter seems pretty straight forward to me, but I just wanted to run it past you guys to see if I was missing something. If another input is activated, the timer would simply exit and reset it's count.

    My logic seems sound unless someone objects.

    Thanks,
    Tony

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: Do I need an oscillator?

    Hi Tony,
    As long as the accuracy of the internal oscillator is good enough for you then it's fine.
    Short times or long times doesn't matter from that perspective, if the oscillator is 2% "out" it's 2% "out". Short or long delays, no difference, it's still 2%.

    /Henrik.

  3. #3
    Join Date
    Jan 2010
    Posts
    88


    Did you find this post helpful? Yes | No

    Default Re: Do I need an oscillator?

    That's what I thought, but I just wanted to be sure. Thank you.

    Tony

Similar Threads

  1. best oscillator for pic16f877a
    By pikitsikarla in forum mel PIC BASIC
    Replies: 0
    Last Post: - 30th November 2013, 07:14
  2. 18f4431 oscillator
    By Archangel in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th July 2011, 07:48
  3. 6 Mhz Oscillator
    By sebastien in forum mel PIC BASIC
    Replies: 2
    Last Post: - 16th April 2010, 13:18
  4. Using PIC16F88 oscillator as oscillator for other ICs
    By Torael_7 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 30th March 2008, 12:58
  5. RC Oscillator
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd September 2007, 19:27

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts