RS232 switch, and thank you Mister E


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,599

    Thumbs up RS232 switch, and thank you Mister E

    Here's a little something that I've been dying to have since I started working with PC/PIC communication. It's a switch between the serial programmer and a MAX232 chip.

    http://www.xavierkamial.com/Videos/P...0interface.JPG

    I was fed up with doing the plug/unplug the RS232 connector dance and Mister E suggested I look into 5V relay switches. I found some for $1.99 each in surplus at a local electronics store, add $0.79 for the switch, and it's all I needed.

    I highly recommend you invest in SIP headers to make custom 9-pin connectors. Crazy glue, a 5 pin strip and a 4 pin strip make an instant DB9 connector if you're careful with your fingers. I just slid them into the female, applied the glue and then squeezed them with a mini-clamp. PRESTO! Perfectly aligned custom DB9 ready to have wires soldered, and all my fingers work independantly!

    I picked up somewhere about placing 1N4001 diodes across the power pins on the relay switches (from - to +). Don't ask where, they said it was a safety precaution for residual AC electricity in the coil and that was good enough for me.

    Thanks dude, this is just awesome. I can program and test with a flick of the switch!

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

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


    Did you find this post helpful? Yes | No

    Default

    For those like me that knew nothing about relay switches, this is what Mister E showed me:

    http://www.jameco.com/webapp/wcs/sto...oductId=123118

    Mine are very similar, except for pinout. Don't assume all pinouts are the same, they are not. My common leads are the 1st set after the power pins, not in the middle of the other pair. With just my luck, there are no datasheets on the web for my particular model, not even on the manufacturer's site.

    The +5V pin will have a bump or some sort of identification like on MCUs.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,599


    Did you find this post helpful? Yes | No

    Red face

    Dyslexic keyboard.

    That is supposed to say DPDT SWITCH on the pic.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

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