Author Topic: Good PCB connector (SMD) for UART/Programming interface  (Read 849 times)

0 Members and 1 Guest are viewing this topic.

Offline espenaTopic starter

  • Newbie
  • Posts: 9
  • Country: no
    • espenandersen.no
Good PCB connector (SMD) for UART/Programming interface
« on: April 30, 2024, 04:14:55 pm »
I'm looking for a good 4-wire, surface mounted PCB connector (male and female, wire-to-pcb) that can be easily attached and detached without requiring excessive force or tools.

It's for connecting my programmer to a MCU UART interface. It's a prototype, and there will be many cycles of connecting and disconnecting the programmer. No high frequency stuff, so shielding is not required. A straight pin header with female counterpart kind of works, but it tends to wear out quickly. The connections get unstable over time, leading to disrupted programming cycles.

So I wish for a contact pair that doesn't lock on too tight, still being reliable enough for my purpose. Preferably with orientation guides. Both 1,27mm or 2,54mm pitch will work.

I've been trying to find something on Mouser, but there's a jungle of options. So, your suggestions will be appreciated in order to narrow my search a bit.  :)
 

Offline Retirednerd2020

  • Regular Contributor
  • *
  • Posts: 71
  • Country: us
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #1 on: April 30, 2024, 04:42:41 pm »
For products that I knew would be continually developed over quarters or years, I've used pads on the board and spring-loaded pogo-pins on a jig.  I would also bring out some other important signals to external connection points.  The jigs were generally simple to make and use.  This is essentially free (wrt. the product cost) and can use zero board space.

For prototypes that might only take a few weeks or months, then done, I would often just use a small smt 2mm x 2-row, unshrouded connector that mated with the programmer's ribbon connector.  The programmer was never disconnected and stayed with the product throughout the development.  If the product was cost sensitive, the connector would not be populated in production. 

I don't recall ever wearing out a connector although I have broken wires that came from the programmer.
 
The following users thanked this post: espena

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: gb
    • bitdynamics
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #2 on: April 30, 2024, 06:16:51 pm »
I'm going to assume that you don't need "low cost" as one of the options as you mention it is for primarily dev work

The "trick" in my experience to to use a connector sytem where the male pins are on the pcb and the female ones on the harness, and then use an adaptor harness to another connector that suits your programmer or programming hardware interface etc

This means the pins of the connector half which is soldered to the pcb itself, and therefore annoying/difficult to replace, don't wear out much (solid pins are tough and resillient) and the interface harness can be connected to the programmer once and left connected, and then really the bit that wears out are the female contacts in the socket on the end of that adaptpr harness, as these are the ones being mated/unmated regularily and getting bent & abused etc.

I use Molex Picoblade SMC series connectors, usually in 8 way format, and the right angle and straight version share the same pcb footprint, so you can install which ever works best to have the programming connector coming off the board at right angles or horizontally.  The connector has a strong latch so it's reliable enough for bench work, but not so strong you can't pull it out before you damage the halfs or peal the connector assy off the pcb. They are pretty cheap, and with the 8 way version, i can include debugging coms (UART etc) and have a standard pin out for all projects. This 1.25mm pitch means even 8 pin in a row is stil pretty compact

When the female contacts in the adaptor harness finally get too loose and un-reliable, i just bin that bit and make another adaptor harness to suit what ever the programmer requires (JTAG 2x10 etc) depending on what micro/programmer is being used.


https://www.molex.com/en-us/part-list/53261?taxonomyPathValueLast=PCB%20Headers%20and%20Receptacles


 
The following users thanked this post: espena

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: gb
    • bitdynamics
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #3 on: April 30, 2024, 06:18:34 pm »
BTW, for production, i have actually managed to use the standard footprint "pads" for an unpopulated picoblade as pogo pin footprints. It required a jig to hold the pcb and pogo's but that's pretty easy to arrange, esp with a bit of cheap 3d printing these days. That means you have no cost for the programming connector in production
 
The following users thanked this post: espena

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7432
  • Country: nl
  • Current job: ATEX product design
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #4 on: April 30, 2024, 08:56:53 pm »
You can use Tag-connect pads and programming pins as a near zero cost programming solution to your product.
 
The following users thanked this post: Someone

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6484
  • Country: ca
  • Non-expert
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #5 on: April 30, 2024, 09:38:08 pm »
A straight pin header with female counterpart kind of works, but it tends to wear out quickly. The connections get unstable over time, leading to disrupted programming cycles.

Use better quality headers and connectors.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 
The following users thanked this post: espena

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 6900
  • Country: va
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #6 on: April 30, 2024, 09:48:52 pm »
You can use Tag-connect pads and programming pins as a near zero cost programming solution to your product.

Worth noting that they do latching versions of these too (so they remain attached to the board while you use you had for other stuff). Downside is they take up a bit more space than just the signal pads alone, and the alignment holes get in the way of tracking sometimes.
 
The following users thanked this post: Ian.M, SiliconWizard, espena

Offline espenaTopic starter

  • Newbie
  • Posts: 9
  • Country: no
    • espenandersen.no
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #7 on: May 14, 2024, 07:11:48 pm »
Many great suggestions, thanks a lot! Went for a magnetic pogo pin solution, but will try out the tag-connect pads in a later project!   :-+
 

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1269
  • Country: ru
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #8 on: May 15, 2024, 09:27:11 am »
I use a plug to connect the programmer and the console UART, which does not require a mate, it is simply inserted into a bare PCB.
It's a little bulky, but I've come to terms with it.  :)


Phoenix Contact SDDC 1.5/4-PV-3.5 P/N: 1848668
https://www.phoenixcontact.com/en-us/products/pcb-direct-plug-sddc-15-4-pv-35-1848668
And sorry for my English.
 

Online luudee

  • Frequent Contributor
  • **
  • Posts: 276
  • Country: th
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #9 on: May 15, 2024, 09:42:11 am »

I have used POGO connectors before, but dislike them now very much.  To flimsy, unstable and bad connections. Constantly poping of the PCB.

And we were buying the original, expensive ones from Tag-Connect.

Now we use the clamps, like in the attached picture. Get them from AliExpress, can also buy spare replacement pins.
They come in many configurations, 1.27 mm, 2.00 mm, and 2.54 mm ...

They are  dirt cheap and so far have been lasting for years without any issues. We use them for both,
UART and programming ...

Cheers,
rudi
 
The following users thanked this post: zzattack

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1269
  • Country: ru
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #10 on: May 15, 2024, 10:00:03 am »
Now we use the clamps, like in the attached picture. Get them from AliExpress, can also buy spare replacement pins.

The clothespin on the edge is inconvenient to use when the PCB is in the housing. Isn't it?
Usually the edge of the PCB is close to the wall of the housing.
I tried to do this by using hooks to insert from the top, not from the side. But it turned out to be unreliable.

Sometimes you have to connect to equipment in the fields, the programmer is hanging on a wire, connected to a PC via a heavy USB extension cable...  :)
And sorry for my English.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5071
  • Country: ro
  • .
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #11 on: May 15, 2024, 10:11:36 am »
you could just use a RJ45 connector without magnetics built in.. cheap and easy to replace

example : https://www.digikey.com/en/products/detail/assmann-wsw-components/A-MJH-8-EA-GTP-W4/20522480

The specs says minimum insertion count : 750 ... kinda low, but then again you can replace it easily, and ready made ethernet patch cables are equally cheap.

RJ11 is also cheap, here's one with 4 pins : https://www.digikey.com/en/products/detail/adam-tech/MTJ-642BX2/9832240


What else ... classic audio jacks ... TRRS jacks have 4 contacts ... make it ground, tx , rx , voltage to minimize risk of shorts and you have jacks with 5000+ insertion cycles and small footprint

See  https://www.digikey.com/short/ztj33h2h  for jacks

you can also get ready made cables, for example

3.5mm : https://www.digikey.com/en/products/detail/tensility-international-corp/10-02133/7606582 and

2.5mm : https://www.digikey.com/en/products/detail/tensility-international-corp/CA-254S-M-M/382909
 

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1269
  • Country: ru
Re: Good PCB connector (SMD) for UART/Programming interface
« Reply #12 on: May 15, 2024, 10:22:03 am »
A couple of photos
2207902-0 2207908-1
« Last Edit: May 15, 2024, 10:24:18 am by S. Petrukhin »
And sorry for my English.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf