+ Reply to Thread
Results 1 to 9 of 9

Thread: Serial communication problem upon soldering

  1. #1
    cimulation Newbie
    Join Date
    Sep 2008
    Posts
    9

    Serial communication problem upon soldering

    I am trying to make a circuitboard for my circuit which is prototyped on the breadboard.

    There are serial port Tx and Rx pins from a PIC16f688 which i use to interface to the PC. On the breadboard these work fine, when i soldered these onto my board the trasmission has a lot of errors. I have checked the connections and I am using wires to solder these onto the board.

    Is there a recommended way of soldering when a serial transmission is concernced. What can be done to prevent these errors.

    Best Regards and TIA.
    Sumit


  2. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,565
    Blog Entries
    5

    You need a level converter like a MAX232.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  3. #3
    cimulation Newbie
    Join Date
    Sep 2008
    Posts
    9

    Quote Originally Posted by blueroomelectronics View Post
    You need a level converter like a MAX232.
    It is something else. The ciruit works on the breadboard. There is some issue when i use solder in the same connection...

    I suspect the issue with using a wire connection to connect between for the red and green connects.
    Attached Images

  4. #4
    AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent AtomSoft Excellent
    Join Date
    Feb 2008
    Location
    Brooklyn, NY US
    Posts
    3,584

    it has nothing to do with the soldering, unless its not right like the solder isnt making contact well or there is too much flux or you crossed traces or may a wire is melted somewhere and touching something eles

  5. #5
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    1,993

    I am trying to make a circuitboard for my circuit which is prototyped on the breadboard.

    There are serial port Tx and Rx pins from a PIC16f688 which i use to interface to the PC. On the breadboard these work fine, when i soldered these onto my board the trasmission has a lot of errors. I have checked the connections and I am using wires to solder these onto the board.

    Is there a recommended way of soldering when a serial transmission is concernced. What can be done to prevent these errors.
    So it works on the solderless bread board with out a max 232 right?
    If it did then it was the capacitance of the board would be the only thing that could of changed if you made the circuit the same. But you need a level converter a max232 would be the easy way to go.
    Burt

  6. #6
    BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent BeeBop Excellent
    Join Date
    Dec 2005
    Location
    Vancouver Canada
    Posts
    1,186

    If you wired a PC serial port Tx to the PICs Rx without a level converter you may have fried your PIC. + or - ~10 volts on a pic pin Check the data sheet!

    You haven't stated that you are using a level converter, and the diagram does not show one.

  7. #7
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    1,993

    If he has a newer computer the voltage level may be lower some newer ones use the same
    power that the usb uses. But I was thinking the same thing He may have cooked it.
    Burt

  8. #8
    geko Good geko Good geko Good geko Good
    Join Date
    Mar 2006
    Location
    Rutland, England, UK
    Posts
    247

    The output from the PICs UART is postive logic, i.e. 1==high, 0==low.

    RS232 uses negative logic where a 1 is low and a 0 is high so even if the voltage levels were being detected as high and low, the data itself would be inverted including the stop and start bits.

    We are of course making the assumption it's connected to an RS232 serial port. The O/P hasn't explicitly stated that is the case, only that it's connected to a PC.

  9. #9
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,753

    PC RS232 ports have a fairly high output impedance, typically about 330 ohms. They will tolerate indefinite short circuits.

    Connected direct to a PIC pin it would have pushed the PIC internal port diodes to about 30mA, not recommended of course but it's very unlikely to have blown the PIC.

+ Reply to Thread

Similar Threads

  1. Soldering issue for RS232 Serial connection
    By cimulation in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 5th July 2009, 07:19 AM
  2. Replies: 0
    Latest: 17th March 2008, 05:55 AM
  3. serial communication
    By jaikanth in forum General Electronics Chat
    Replies: 1
    Latest: 12th December 2004, 04:43 PM
  4. Serial communication problem
    By tbrown in forum Micro Controllers
    Replies: 12
    Latest: 13th February 2004, 11:32 AM
  5. Serial Communication Problem. Need some help please.
    By Beefer3 in forum Micro Controllers
    Replies: 5
    Latest: 12th November 2003, 05:14 PM

Tags for this Thread