Crystal


Closed Thread
Results 1 to 9 of 9

Thread: Crystal

  1. #1
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    79

    Question Crystal

    Just one stupid question...
    Why we have to use sometimes one crystal and sometimes not? Why we canīt use always RC circuit?
    Using RC circuit can I have accurate timing?

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Microcontroller Clock - RC Oscillator, Crystal or Resonator?
    http://www.maxim-ic.com/appnotes.cfm...te_number/2154

    Luciano

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


    Did you find this post helpful? Yes | No

    Default

    >> "Using RC circuit can I have accurate timing?"

    Not accurate (or stable) enough.

    If that was the case, employment welfare lines would be full of Crystal manufacturers looking for a new career.

  4. #4
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    79


    Did you find this post helpful? Yes | No

    Default Time Diference

    When you say "not accurate enough", for example in 10 minutes how much it could be the diference? 5 seconds or minutes?

  5. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    That is over-simplistic and impossible to determine.

    It could be less than a Second, or it could be a lot more than ten Seconds.

    1. It will vary from day-to-day with temperature, humidity and the type of Components you've used. And if you are going to precisely adjust your Resistor with a variable such as a POT or Trimmer, then your component cost is already more than a crystal (and that's not even factoring-in any labour).
    2. The ONLY thing you can guarantee with a Capacitor is that it is NOT the value that is printed on it's case. This is TRUE! Try measuring the value of any Capacitor that you have.
    3. I can show you two Resistors... one you'll buy four for a cent, the other costs eight dollars... but they're both the same value and the same wattage... but they will behave completely differently.
    4. I can show you two Capacitors... one you'll buy for two cents, the other costs almost ten dollars... but they're both the same value and the same voltage... but they will behave differently too.

    If you are considering RC oscillator for time-keeping, then let me know what your finished product is - I'll need to know in order to avoid it.

  6. #6
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Could someone help me to understand this discussion?

    If I have a (in terms of timing) non critical application
    and there is a PIC with INTRC-OSC running fast enough for what the program needs to do,
    fine, this would save some board space.

    If I need an external clock source anyway,I would not even think about RC.

    BTW

    for a prototype on a breadboard you could go even cheaper,
    the capacitance of the breadboard in conjunction with a few drops of your favourite drink (as a resistor) at the right place on the board would also give a clock source.

    But with this design don't ask us why your serial Comms are not working @ 115kbps
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  7. #7
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    79


    Did you find this post helpful? Yes | No

    Default Doubt explanation

    Yes, I can explain you this discussion...
    One RC system itīs cheaper than a Crystal.
    My system itīs not critical, I donīt need such an accurate timing, but I need accurate enough... For example in 9m50s I donīt mind having 9m47, but I do mind having 9m40s.
    My doubt was if with one crystal I woul have 9m50s and with an RC 9m47.
    If it was the case I would prefer an RC system, but I already see it isnīt.
    Regards
    Leonel Monteiro

  8. #8
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Then you might as well chose a PIC that has an internal oscillator and save yourself the bother of an external RC.

  9. #9
    Join Date
    Feb 2005
    Location
    Portugal
    Posts
    79


    Did you find this post helpful? Yes | No

    Default Decision - Crystal

    I already made my decision... I will chose a Crystal. As you said is much more accurate than the other oneīs.
    Thank you, and Iīm sorry to NavMicroSystems, but today Iīm with bad humor

Similar Threads

  1. Sharing Crystal with 2 IC's
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th January 2013, 13:33
  2. 20 Mhz Crystal, simple blinking LED
    By BenjaminsShinob in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th October 2007, 05:06
  3. Crystal osc running but PIC not using it
    By p15218 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 18th February 2007, 22:33
  4. Pulsin to pulsout with up than 4MHZ crystal ?
    By RCtech in forum mel PIC BASIC
    Replies: 5
    Last Post: - 18th May 2006, 19:23
  5. Replies: 1
    Last Post: - 30th June 2004, 08:07

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