Dual clock speeds on a PIC


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by BrianT View Post
    I have to accurately measure the frequency/rate of some events so RC oscillators are out of the question during the measure phase.
    Another Approach? - The 18F4620 can be clocked by switching from an external XTAL on OSC1 and OSC2 to a 32kHz XTAL on TMR1. See section 3.3.2 of the data sheet for details (from the data sheet “This gives users the option of lower power consumption while still using a high-accuracy clock source.)
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  2. #2
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    An even faster way to save battery power--without even changing the bulk of your code--is to use a different PIC! The 18F4620 was NOT designed for long battery life. At 4MHz with INTOSC, it takes 1.3mA at 3.0v. There are PIC's that will do the same speed with only .58mA draw--well under 1/2 the power draw. With careful data sheet scrutiny, you should be able to find one that runs 1MHz with even less power.

    You will almost double your battery life by going from 5.0 to 2.7v.

    I have a friend who runs their systems for years on one battery... he has 8 or 9 voltage regulators in the system so each circuit is individually powered, and totally shut down when not in use. Yes, it is expensive, but it is very efficient.

    You are trying to cram a V8 engine into a Toyota Echo so you can enter a stock car race... but there are much easier and better ways to do it. Your multiple oscillators just seems like more work than it'd be worth, considering all of the other options available. Especially when 18F's already allow you to run an external crystal or the internal osc.

Similar Threads

  1. Talking Clock (Pic Based)
    By Art in forum General
    Replies: 2
    Last Post: - 20th January 2012, 15:45
  2. Digital clock thermometer Calendar PIC 16F628
    By valdirdf in forum Code Examples
    Replies: 0
    Last Post: - 31st May 2009, 02:52
  3. Can a PIC PIC a PIC?
    By afbecker in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd January 2008, 20:55
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 21:36
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

Members who have read this thread : 0

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