Communications Example : PC to PIC bi-directional dialogue


Results 1 to 25 of 25

Threaded View

  1. #9
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Hi Melanie...

    I am having a little problem with your program.

    I loaded it into the 16f628a, and it appears the characters are getting to the rx port, but no echo's or messages....


    Hi...

    Sorry it's taken me so long to verify this... just so much work and so little time.

    Worked straight away witha 16F628A out of the box... but... then I tried it on a normal 16F628 (just a random selection from stock)... and I had comms errors!... not all the keys on the keyboard would echo, and those that did were wrong.

    So I recompiled for a 4MHz xtal (Resonator actually using XT_OSC), added the bits... and tried the chip that was giving me problems... whoo-hoo... away it ran without errors.

    This just proves that Async comms even at 300 Baud are not always reliable on internal oscillator. The variances between individual chips are just too great.

    I shall post this on the forum.

    Melanie
    Attached Images Attached Images  

Similar Threads

  1. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 22:04
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  4. Replies: 11
    Last Post: - 12th July 2008, 02:36
  5. PC / PIC communications?
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th September 2005, 17:55

Members who have read this thread : 7

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