USART to PC



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

+ Reply to Thread
Results 1 to 5 of 5

Thread: USART to PC

  1. #1
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33

    Default USART to PC

    Hi All

    I'm at the moment setting up A 16F88 to communicate with my pc's serial com port. My issue is with the many circuits I have seen and the way in which to wire up the MAX232 converter. Almost every circuit i look at has the max232 chip hooked up differently and the 4 capacitors seem to be connected with random polarity in all the diagrams...
    Anyway so far I've been unable to get a peep out of the terminal on the pc. Anyone know a circuit that definately works so I can be sure I have got this part right first.

    Cheers

    Tony

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Are you using a real, actual MAX232? Or one of the many derivatives out there?
    The datasheet for your particular MAX232 chip should show exactly where/how to place said capacitors...

    I thought you got out of the PicBasicPro business...
    http://www.picbasic.co.uk/forum/showthread.php?t=7808
    Last edited by skimask; - 13th October 2008 at 23:19.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Tony,
    Are you sure of which COM port you are using ? Which terminal program are you using ? Can you tell your terminal program to switch com ports?
    If not you may be able to change them in the computer's BIOS.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    Hey Ski...No never, dont think i'll be leaving PBP any time soon although I have been cheating a little with Mikroe Basic!

    I think your referring to a copy of PBP I sold a while back I bought 2 at the time because the company I bought it off in Italy were selling them for around 100 each for the Pro version think it was a sale (without vat it was even less :-P).

    As for the chip, its a real MAX232CPE, allcircuits I was looking at used the MAX232 chip... anyway I was going to try again thisevening but I'm just too knackered, i'll give it a bash tomorrow and see how it all goes...

    All the Best

    Tony

  5. #5
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    Ok I lied about leaving it until tomorrow.... I just couldnt leave things alone! Anyway its all working now, I think it was just the polarity that was wrong.

    Tony

Similar Threads

  1. PC to EUART on pic 16F688
    By docaberle in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 25th October 2008, 06:33
  2. Sending menu to PC from PIC16F876A
    By joseph Degorio in forum Serial
    Replies: 2
    Last Post: - 12th November 2007, 07:03
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  5. Interrupt and Serial communication to PC.
    By obaskirt in forum mel PIC BASIC
    Replies: 2
    Last Post: - 17th June 2005, 20:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts