Pic16f88


Closed Thread
Results 1 to 4 of 4

Thread: Pic16f88

  1. #1
    Maurice's Avatar
    Maurice Guest

    Default Pic16f88

    Hi,
    Can somebody tell me if the internal 8MHz oscillator is accurate enough to drive proper RS232 timings out of the 16F88? Is it also possible to use it when I'm using the normal serout2/serin2 from a general I/O pin of that chip.

    thanks, Maurice

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    depending of your baudrate, temperature change, and few others... it can be accurate enough to work.

    Why using SERIN/SEROUT on a F88 when you can use the internal USART capability with HSERIN/HSEROUT instead???
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Maurice's Avatar
    Maurice Guest


    Did you find this post helpful? Yes | No

    Default 16F88 internal oscillator and RS232

    Hi Mr_e,
    thanks again for the response on the RS232 question. It sounds to me that it may be a bit dodgy to use the internal oscillator and the old RS232 methods. Guess I'll have to bite the bullet and learn about the real serial ports on the '88. Its just that I had some old code I can pop into the '88 and no further thought needed. Can the official hardware method be any better for accuracy since it must use the same internal oscillator? (?)

    thanks again

    Spencer

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    the internal one is still an RC oscillator that shift with the ambient temperature. It can work fine or no. For solid and safe serial communication using external crystal (not ceramic resonator) is the way to go. At slow baudrate like 2400,4800, INTRC will be good enough IMO.

    The use of internal USART, depending of the register setting, can provide much accuracy and faster baudrate on slower crystal frequency... see usart SPBRG setting. Another main advantage, to name only one, is to use less of that precious code space.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 00:13
  2. pic16f88 & voltage
    By rdxbam in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th February 2009, 09:14
  3. Ghange code from PIC16F877A to PIC16F88
    By savnik in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th March 2008, 16:09
  4. Replies: 8
    Last Post: - 7th December 2006, 15:42
  5. PIC16F88 problem with TOGGLE command?
    By russman613 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th September 2006, 23:31

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