16F690 or whatever SEROUT to PC


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    All I can say is to give it a try. Maybe in your case it will not be to much of a problem if communications do not work every time. Just try sending the score again??

    The MAX232 will not help you.

    If you find it works part of the time, you may try 2400 baud. Sometimes a slower signal is more reliable and more tolerant.

    I am not sure, the internal on your chip might be able to be calibrated. Some one else will have to help you if it can or needs to be.
    Dave
    Always wear safety glasses while programming.

  2. #2
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Default

    thank you for your answers

  3. #3


    Did you find this post helpful? Yes | No

    Default int osc

    My experience with newer PIC's w/8mhz int osc is they can be counted on for good enough freq for serial stuff....!!??

    don
    amgen

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    The 8Mhz internal oscillator in most 18F PICs will work fine with SEROUT/SEROUT2 at up to 9600 baud. If you use DEBUGOUT, you can extend that to at least 19.2Kbaud.

    Amazingly enough, I have used the 8MHz internal oscillator on an 18F2221 to communicate with another PIC at 38.4Kbaud (using DEBUGOUT). This worked across 16 parts, and all were tested to be fully operational while running in a temperature chamber -20C to +85C.

    And as far as whether to use a MAX232 or not - the level coming out of a PIC does not meet RS-232 specs. While it usually works, I would never sell a product that way.
    Charles Linquist

  5. #5
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    The 8Mhz internal oscillator in most 18F PICs will work fine with SEROUT/SEROUT2 at up to 9600 baud. If you use DEBUGOUT, you can extend that to at least 19.2Kbaud.

    Amazingly enough, I have used the 8MHz internal oscillator on an 18F2221 to communicate with another PIC at 38.4Kbaud (using DEBUGOUT). This worked across 16 parts, and all were tested to be fully operational while running in a temperature chamber -20C to +85C.

    And as far as whether to use a MAX232 or not - the level coming out of a PIC does not meet RS-232 specs. While it usually works, I would never sell a product that way.
    Fine, RS232 levels out of the pic is not right. Can I use a MAX232 chip to boost the signal then? Is there a post with the recommended connexion? I have the datasheet with a "typical application" circuit...

  6. #6
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Just use the connections shown in the MAX datasheet. If you are using SEROUT/SEROUT2 make certain you use the "TRUE" settings (idle high), because the MAX chip inverts the signal. Tx of the PIC to T1in of the MAX. R1out of the MAX to Rx of the PIC.
    Charles Linquist

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. 16f690 crashes
    By Lincoln S. in forum Serial
    Replies: 8
    Last Post: - 26th November 2008, 08:32
  5. Replies: 4
    Last Post: - 7th September 2005, 14:11

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