PIC18F2450 Rs-232


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Default PIC18F2450 Rs-232

    I have a PIC18F2450 installed in a PicKit 2 development board. The date sheet states:

    "Enhanced Addressable USART: This serial
    communication module is capable of standard
    RS-232 operation"

    Does this mean that I can connect the PIC directly to my Laptop serial serial port? If not, what additional hardware do I need? If so, what pins do I use? I plan on using the usart.pbp sample for testing.

    Thanks,
    Bob Hiller

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


    Did you find this post helpful? Yes | No

    Default

    The hardware serial will be on pins labeled TX an RX.
    The hardware port sends and receives in TRUE mode. The PC uses INVERTED.
    You will need something like a MAX232 chip to do the inversions.

    You can use SERIN2/SEROUT2 with inverted mode and connect directly to the PC as shown in the PBP manual.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default Pic18f2450

    I have a PIC-P14 from Olminex that has a 9 pin port and Max232, will that work?

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


    Did you find this post helpful? Yes | No

    Default

    You can use the MAX232 from the board.
    Might be fun getting the Pic18f2450 to plug into the socket
    Dave
    Always wear safety glasses while programming.

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