MCSPlus serial interface to EasyPIC6 not working?


Closed Thread
Results 1 to 34 of 34

Hybrid View

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

    Default

    Yes , you need a cable that goes from
    2 to 3
    and
    3 to 2
    and
    5 to 5

    Go down to radio shack and get a couple of connectors. Roll you own.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378

    Default

    Quote Originally Posted by mackrackit View Post
    Yes , you need a cable that goes from
    2 to 3
    and
    3 to 2
    and
    5 to 5

    Go down to radio shack and get a couple of connectors. Roll you own.
    In fact, as I tried to describe in my above post, the way the MAX202 is wired in the EasyPic6 to the Female DB9 connector it does crossover the 2 to 3 and 3 to 2 pins from the cable so that the signals are correct when they get to the MCU. See the schematic I posted above.

    Thanks so much for all your help with this. I would appreciate an explanation of my question regarding HSERIN [X] versus HSERIN [DEC X].

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

    Default

    I did not get the cross over part of your other post...

    The DEC thing
    If like this
    Code:
    'Only numbers will work
    HSERIN [DEC X]
    HSEROUT [DEC X,$d,$a]
    Code:
    'Letters and numbers
    HSERIN [X]
    HSEROUT [X,$d,$a]
    Code:
    'Only receive numbers and output ASC||
    '66 will return B
    HSERIN [DEC X]
    HSEROUT [X,$d,$a]
    Code:
    'Will receive letters and numbers and output decimal
    'B returns 66 and 13 -- carriage return
    HSERIN [X]
    HSEROUT [DEC X,$d,$a]
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 02:48
  2. 32-bit Quadrature Counter With Serial Interface
    By precision in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th June 2008, 02:49
  3. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23
  4. Replies: 0
    Last Post: - 25th November 2005, 14:35
  5. PIC16F877 to RFID Module Serial Interface
    By koossa in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th May 2005, 06:03

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