Shop OBEX P1 Docs P2 Docs Learn Events
9 pin Serial Port Connecter — Parallax Forums

9 pin Serial Port Connecter

5ms?5ms? Posts: 21
edited 2009-06-28 17:58 in General Discussion
Hi All,
I would like to make a universal Serial Port Connecter, with access to the 9 pins, I have the BS2, SX20, SX28, SX40 chips.
B4 you say it, I do have an SX Key & SX Blitz.
It will be mainly for the sx's, but I'll need it for programming and debugging the bs2 to.

I've drawn a circuit, I'm very new at this, rolleyes.gifwill it's a start!, it's probably bad, probably needs some Capacitors, and the resistors looked at............
So Please some one!, give me some HELP!, with the schematic.
464 x 706 - 42K

Comments

  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2009-06-11 21:34
    I assume you may want to use the adapter for programming OEM basic Stamp chips and also for use as a general purpose driver so you can use an I/O pin on the OEM Stamp or the SX20, SX28, SX48 chips as a general purpose serial port. The easiest way is to use a MAX232 (or MAX3232) chip as the line driver. You just need the chip and four caps. For the DB9 connection used for programming a BASIC Stamp just reference the BS2p40 schematic which shows where the extra caps go to reset the module for programming. When using it as a general purpose serial connector all you need to connect is the ground along with the RX or TX lines. If you want USB connectivity look at the Prop Plug. That can be used as well.
  • 5ms?5ms? Posts: 21
    edited 2009-06-11 23:15
    Thanks for the reply RobotWorkshop.

    Yes, I have "BASIC Stamp 2e Interpreter Chips" and SXs Chips they don't have built in transistors like the BASIC Stamp 2 or the BS2p40-IC.

    I don't have a MAX232 (or MAX3232), but have lots of 2n3904s and 2n3906s.

    I have access to the RxD (Receive Data) and TxD (Transmit Data).
    But would like access to the DTR (Data Terminal Ready) and DCD (Carrier Detect), DSR (Data Set Ready), RTS (Request To Send), CTS (Clear To Send), RI (Ring Indicator) as well.

    {like the big boys}.
    jumpin.gif

    Thanks
    5ms

    Post Edited (5ms?) : 6/11/2009 11:24:11 PM GMT
  • Me_LeeMe_Lee Posts: 7
    edited 2009-06-27 17:03
    Hi 5ms
    How did you get on with your "universal Serial Port Connecter", I to, need one.

    I found this Schematic
    attachment.php?attachmentid=61870
    from nv153.pdf

    I know nothing about electronics, so would you help me with this.


    Thanks!
    Lee
    483 x 410 - 19K
  • LeonLeon Posts: 7,620
    edited 2009-06-27 17:07
    A MAX202 would be a lot easier. More expensive, though.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • 5ms?5ms? Posts: 21
    edited 2009-06-27 18:36
    Hi Lee.
    Sorry, I know nothing about electronics to,
    I posted here hoping for some help.

    The schematic you posted looks good, the circuit might be help fill with the diode and cap.
    Do you know how big is the cap?

    Cheers,
    5ms
  • LeonLeon Posts: 7,620
    edited 2009-06-27 19:02
    It's 10 uF, according to the schematic.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • 5ms?5ms? Posts: 21
    edited 2009-06-27 20:10
    Hi Leon.
    Thank you.
    and volts?, maybe 24v

    5ms
  • VelocitVelocit Posts: 119
    edited 2009-06-27 20:38
    Any capacitor rated higher than 10V should be fine...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Paul
  • LeonLeon Posts: 7,620
    edited 2009-06-27 20:55
    24V would be safer - it could have 12V across it. A 2x or 3x factor is usually used.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • VelocitVelocit Posts: 119
    edited 2009-06-27 21:00
    Judging from the schematic in post #4, the capacitor shouldn't ever have more than +5V across it (unless the TX line from a true RS-232 device is connected to the TX line of this one); but better safe than sorry.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Paul
  • LeonLeon Posts: 7,620
    edited 2009-06-27 21:41
    Pin 3 on the DB-9 connector can have +/- 12 V on it or more, charging the capacitor to about over -11V via the diode.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • 5ms?5ms? Posts: 21
    edited 2009-06-28 00:14
    Thank you, All of you guys.
  • Me_LeeMe_Lee Posts: 7
    edited 2009-06-28 17:58
    Hi 5ms?, Here is!
    Welllll..My attempt at it.
    Remember this is the blind leading the blind, and not shore if it well fry your chips or your Serial Port.

    Maybe Leon, or Some one well take a look.
    And remember I what to make 1 2 [noparse];)[/noparse]
    attachment.php?attachmentid=61885
    Lee.
    668 x 793 - 54K
Sign In or Register to comment.