Internal vs. external osc for comms


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    I have used the internal oscillator for Asynch Serial Comms at speeds from 300 to 115200 baud successfully. Some things to look out for. The newer PIC's have better tolerences (those released in the last 2-3 years or so). Operating temperature is the main consideration. Most of my apps have been indoor types at typical room temperatures. If there are wide temperature variations during operation, an external oscillator may be more appropriate. Here are some numbers from a PIC16F690.


  2. #2
    Join Date
    Nov 2009
    Location
    Wagoner, USA
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    I've use the 12f629,675,683 and the 16f628a all at 2400 and all with just a plain twisted pair wire up to 25 feet with great results.
    I just send data to serial data lcd's so I don't need high speeds. These are mounted outside and I've had the temp to range from 15 to 80 deg F.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    rmteo is spot-on.

    I've used a ton of newer rev PICs' with internal osc specs @1% for serial communications, and never had a single glitch - as long as they were used in a controlled environment where the temparature remained failry constant.

    Step outside this, where the temerature can change quickly, and you're just asking for trouble. In this case .. for sure go with a good quality external crystal, or even a quality resonator. Crystals beat resonators hands-down, and are a bit more expensive, but are worth the expense for peace of mind.

    If you need the absolute best precision, then go with an external TTL oscillator. These beat all of the above, but they for sure will increase current demand on your power supply.

    I have tested all-of-the-above in very harsh conditions here in Colorado, and I guarantee it does make a HUGE difference.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Thanks very much for the replies. This is exactly what I was looking for. I did look at the specs in the data sheet and saw the numbers; I really needed some feedback from those that have done it and what they've found. In this application the transmit/recieve units are always used indoors (its a "party atmosphere") so I'm comfortable with using the internal osc.

    B'rgds,

    Mike Tripoli

Similar Threads

  1. 16F88 bootlader with Internal OSC
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 2nd August 2009, 10:15
  2. 18F4520 and internal osc & PLL
    By pwhitt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th September 2008, 06:38
  3. Internal Osc question.
    By muddy0409 in forum General
    Replies: 4
    Last Post: - 31st August 2008, 17:01
  4. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 17:44
  5. 12f675 internal osc question.....
    By Gabe@SPdFtsh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th January 2004, 06:33

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