Internal vs. external osc for comms


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Internal vs. external osc for comms

    I *was going to* post this in the "Data Comm-Serial" section but its a general question...

    To those that have used both: I'm working on a system where I'll be transmitting serial data (low speed; haven't decided yet but could be as low as 300 BAUD, using UART) via RF. I'd like to use the internal osc, however I've seen posts (on the net at various places) of people that have had problems with this. *Now for the elitist statement*: I haven't put much faith in the "poster" and the "replies" do to the fact that it usually looks like neither of them had a clue what they were doing in the first place (I'm not a big fan of the current trend of "LEGO electronics"). I've done lots of high speed wired stuff with an external osc and never had a problem. I've done non-comm with the internal; just haven't used the internal with communications.

    Given a proper PCB layout and all the correct supply values, decoupling, known working RF link; you know, all the stuff that should be there in the first place, is the internal osc "precision" enough for reliable data transfer.

    I know, why not just use the external osc if it's a question; because I want those two pins

    Thanks,

    Mike Tripoli

  2. #2
    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.


  3. #3
    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.

  4. #4
    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

  5. #5


    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 : 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