PIC16F877A to PC connection


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    10

    Default PIC16F877A to PC connection

    i was using Hyperterminal and wanted to obtain echo from the PIC16F877A. The crystal im using is 20Mhz. BUt there was no echo at all can anyone pls help me

    DEFINE OSC 20
    DEFINE Ser2_BBITS 8
    TRISC = %10111111

    PinIn VAR PORTC.7
    PinOut VAR PORTC.6
    B1 VAR Byte
    SerIn2 PinIn, T2400,[B1]
    SerOut2 PinOut, T2400, [B1]

    END.

    can anyone pls help me. Im a beginner...

  2. #2
    Shiptronic's Avatar
    Shiptronic Guest


    Did you find this post helpful? Yes | No

    Default

    shortciruit the wire's at the chipt in en out, then it shout work, other wise you have a wirering problem, cross-cable or something

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


    Did you find this post helpful? Yes | No

    Default

    Do you have
    Code:
    INCLUDE "modedefs.bas"
    at the top of you program?
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. RS232 into 2 PC ports
    By manxman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2008, 13:33
  2. Sending menu to PC from PIC16F876A
    By joseph Degorio in forum Serial
    Replies: 2
    Last Post: - 12th November 2007, 07:03
  3. AUTO baud rate detection FOR UART connection to PC
    By mike20200 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd September 2007, 00:56
  4. connecting pic16F877A to pc via max232
    By zikha in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th January 2006, 15:31
  5. Interrupt and Serial communication to PC.
    By obaskirt in forum mel PIC BASIC
    Replies: 2
    Last Post: - 17th June 2005, 20:01

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