IDC Connection Timeout - How to Isolate the MAX232AEPE+


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322

    Default IDC Connection Timeout - How to Isolate the MAX232AEPE+

    Hi All!

    Okay so somehow I am managing to compromise the MAX232AEPE+ so it does not work correctly.
    By not working correctly I mean I get an ICD Connection Timeout.

    I have my main breadboard with the MAX232, DB-9 connector, and a 5V DC regulator.
    Then I have a separate board (the sound project board) which also has its own 5V DC regulator.
    The sound project board requires both 12V and 5V.
    Both the breadboard and project board are operating from the same 12V source.

    I am using the 16F628A PIC to turn on and off some NPN (2N3904) transistors which provide a ground to the sound module pins.
    None of the pins for the PIC read more than 5V with no PIC installed so I know I am not back feeding 12V into the PIC.
    The reason some pins will read 5V is there are some 10K pull up resistors.

    So the basic question is how does one prevent injury to the MAX232AEPE+?

    Thanks, Ed

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


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    You usually want to cut the power instead of ground...
    Steve

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

  3. #3
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    Thnaks and maybe I did not explain things correctly? I have a module that produces submarine sounds such as a "Ping". This module runs on 12 volts. If you ground certain pins on the module you can select different sounds using 2N3904 transistors. My issue is with the interfacing the Tx and Rx pins on the PIC to the MAX232.

  4. #4
    sashasuman's Avatar
    sashasuman Guest


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    If you have 4 pins on the 16F628A that is not used already you can have them as outputs and then binary set these pins to represent 0-15 as sound number. The other pic just have to read 4 of it's inpins that are connected to the output from the 628A.

  5. #5
    Join Date
    Feb 2015
    Posts
    1


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    If you ground certain pins on the module you can select different sounds using 2N3904 transistors. . . . . .
    sunny

  6. #6
    Atifraza's Avatar
    Atifraza Guest


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    The answer is yes, with the help from Marina at mikroe.

    I posted the question here and mikroe.com just before the hack hit and got the answer during the "hack cleaning" so I thought it might help someone else to post the results.

    Just bought the easyPIC v7 to experiment with after accidentally blowing up my melabs LAB-X4 and wanted to set up the mikroProg Suite to start "auto loaded" with the PIC and compiled file like the melabs Programmer.
    Though it's not necessary in order to use the mikroProg Suite, it's nice to have it up and ready to go after compiling.

  7. #7
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    There's some question in my mind exactly what you are asking or trying to do (story problems are not my forte, sadly), but the MAX232 is a level shifting RS-232 interface chip and rated to take +/- 15 volts on the "PC" side, is it not? If you have the module "isolated" by 3904's and no more than 5V reaches the PIC, where is the issue?

  8. #8
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    The problem is spammers waking up old threads.

    Robert

  9. #9
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    The answer is yes, with the help from Marina at mikroe.

    I posted the question here and mikroe.com just before the hack hit and got the answer during the "hack cleaning" so I thought it might help someone else to post the results.

    Just bought the easyPIC v7 to experiment with after accidentally blowing up my melabs LAB-X4 and wanted to set up the mikroProg Suite to start "auto loaded" with the PIC and compiled file like the melabs Programmer.
    Though it's not necessary in order to use the mikroProg Suite, it's nice to have it up and ready to go after compiling.
    Haha, that's funny but not funny.
    I thought I recognized my typing

    This was part of an informational post I did some time ago.
    Louie

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


    Did you find this post helpful? Yes | No

    Default Re: IDC Connection Timeout - How to Isolate the MAX232AEPE+

    Thanks Louie, he is gone . . .
    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.

Similar Threads

  1. ICD Connection Timeout
    By motorcycleman47 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th November 2008, 05:46
  2. Serin2 Timeout
    By tazntex in forum Serial
    Replies: 15
    Last Post: - 15th August 2008, 16:40
  3. Isolate chars of 2 digit integer?
    By kevj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th August 2008, 06:14
  4. How to isolate 10 bits from word variable?
    By rcbandwidth123 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 14th April 2008, 21:18
  5. Need help with timeout
    By Christopher4187 in forum General
    Replies: 1
    Last Post: - 10th June 2006, 16:38

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