Test RS232 TxD RxD


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

    Default Test RS232 TxD RxD

    Hello,

    How to do a test to a RS232 serial port so that it can assess the functioning of the lines TxD and RxD using using for example a pic12f675 or pic16f628.

    Thanks

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


    Did you find this post helpful? Yes | No

    Default

    With the 16F628, you have two choices,
    1. using the hardware USART with HSERIN/HSEROUT with the following schematic (Courtesy of Bruce)

    2. Using any other bit banged solution like DEBUG/SEROUT/SEROUT2 without the MAX232, but only with a single resistor in serie (1.5K is fine) and set the Inverted Mode

    For the 12F675, well, one choice... option 2 above.

    Do a search here and you'll find tons of example.
    Last edited by mister_e; - 21st November 2008 at 00:27.
    Steve

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

Similar Threads

  1. Creating RF to test circuits
    By Tobias in forum General
    Replies: 2
    Last Post: - 22nd November 2009, 21:27
  2. UART vs software RS232
    By Michael in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 5th September 2008, 18:27
  3. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. Replies: 3
    Last Post: - 26th January 2005, 13:41

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