Giter VIP home page Giter VIP logo

Comments (12)

chschlue avatar chschlue commented on June 26, 2024

A 0.64 mm square pin has a diagonal of sqrt(2*(0.64 mm)²) = 0.91 mm.
The script might be overzealous in rounding up to 1.2 mm though.

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

A 0.64 mm square pin has a diagonal of sqrt(2*(0.64 mm)²) = 0.91 mm.

Ah yes good call. It's a square pin indeed.

The script might be overzealous in rounding up to 1.2 mm though.

Yes exactly, looking at the following Molex KK254 connector drawing in the bottom left corner, they also recommend 1.02±0.05 which should be enough clearance for a pin of this size.

from kicad-footprint-generator.

chschlue avatar chschlue commented on June 26, 2024

Here they recommend (1.19±0.05) mm.

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

Here they recommend (1.19±0.05) mm.

So far the drawing consistency, here is another one with a different recommendation being 1.14±0.05 :")

I'm thinking about measuring the pin itself tomorrow to see what the pin-size really is, since some of the drawings mention that the 0.64mm is already the max diameter of the pin (as seen in D11 of this drawing; note the ø0.64mm).

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

Ok, I took some measurements today, sadly I don't have a caliper with a more precise 0.01mm scaling, but it is doable to see what the size is.
Git img1
The first image is a little bit tilted, but shows that the side of the pin is indeed ~0.64mm (not in diameter ofc).

Git img2
This image shows that the pins are not exactly square, but more like squared with rounded edges, since it measures as 0.85mm instead of the 0.64*sqrt(2)=0.91 mm. I have measured this with multiple pins and connector variants (2-pin and 8-pin) to verify that ofcourse.

Git img3
Git img4
These are pictures of the actual pcb with the 1.2mm holes, which shows that especially with 2-pins connectors that the amount of play is too much for keeping the connector nicely within the silkscreen courtyard.

Following the KLC by adding the 0.2mm margin, I would suggest to make the hole size 0.85+0.2=1.05mm.

from kicad-footprint-generator.

poeschlr avatar poeschlr commented on June 26, 2024

TlDr: We need to indeed fix the drill size. But we need to fix it to the datasheet suggested value of 1.19mm! (Rounding here is definitely not ok as it will increase the error if somebody orders at a board house that uses imperial dirlls)


Both datasheet you linked are for a different part number so they can be discarded (the other part numbers are expected to have different tolerance ranges).


You measured one device that can be anywhere in the tolerance range. You would need to measure a huge set of devices from different production runs to get any idea of the tolerance range. Plus your own measurement tolerances would also need to be taken into account (and i guess would need to be improved as the tolerances we want to measure are likely to be smaller than your measurement tolerances). So lets stay with the datasheet values.


The datasheet tells us the pins are 0.64 square (but does not state where in the tolerance range it is) which results in a diagonal of 0.91mm leading to at least a drill size of 1.11mm when assuming that 0.64 is indeed the maximum size for such pins and that there is no tolerance in pin placement. The 1.19mm size is therefore not really far off from what i would expect if there are even moderate tolerances here. Especially if the pin size is given as nominal (which i expect as normally in a drawing everything is nominal unless otherwise specified).


Remember the KLC definition comes from IPC which is not intended for a tight fit between the part and its leads. There is meant to be ample space for solder to properly fill up the hole without voids. If your process requires tighter holes for alignment reasons then this guideline will not apply to you. This is ok. Technology is full of tradeoffs!



In your case i suspect that you had bad luck. The parts you got will likely be on the low end of the pin size tolerance range. And the drill might be on the large end (compounded by the fact that we already started with a 0.01mm increased hole size assuming your manufacturer even has a 1.2mm drill in stock. If you ordered at an imperial board house than the target hole size might be even larger than the 1.2mm requested by the footprint)

from kicad-footprint-generator.

chschlue avatar chschlue commented on June 26, 2024

In your case i suspect that you had bad luck. The parts you got will likely be on the low end of the pin size tolerance range. And the drill might be on the large end (compounded by the fact that we already started with a 0.01mm increased hole size assuming your manufacturer even has a 1.2mm drill in stock. If you ordered at an imperial board house than the target hole size might be even larger than the 1.2mm requested by the footprint)

Don't forget that these are plated holes, so there's more to it than just whether they happen to have a 1.2mm or 3/64" drill.
But I like the term "imperial board house". Sounds like Darth Vader's Motel.

from kicad-footprint-generator.

poeschlr avatar poeschlr commented on June 26, 2024

With drill i mean "target final hole size". I was just lazy when writing the above.

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

We need to indeed fix the drill size. But we need to fix it to the datasheet suggested value of 1.19mm! (Rounding here is definitely not ok as it will increase the error if somebody orders at a board house that uses imperial dirlls)

Both datasheet you linked are for a different part number so they can be discarded (the other part numbers are expected to have different tolerance ranges).

@poeschlr Now that I'm looking at this, I see where the problem is why I'm having so much difference in drill size compared with the datasheet @chschlue showed before. I'll come to that in a moment.

You measured one device that can be anywhere in the tolerance range. You would need to measure a huge set of devices from different production runs to get any idea of the tolerance range. Plus your own measurement tolerances would also need to be taken into account (and i guess would need to be improved as the tolerances we want to measure are likely to be smaller than your measurement tolerances). So lets stay with the datasheet values.

That is not entirely true, I did measure multiple of the connector series (and also from 2 different orders), but it's hard to tell if it's still the same batch. If measurements are off way more than the 5% of the datasheet, there must be something else wrong. I'm ok with staying close to the datsheet measures, because of course only the manufacturer can know of the tolerances and sizes (also because of the imperial measures as stated before).

The datasheet tells us the pins are 0.64 square (but does not state where in the tolerance range it is) which results in a diagonal of 0.91mm leading to at least a drill size of 1.11mm when assuming that 0.64 is indeed the maximum size for such pins and that there is no tolerance in pin placement. The 1.19mm size is therefore not really far off from what i would expect if there are even moderate tolerances here. Especially if the pin size is given as nominal (which i expect as normally in a drawing everything is nominal unless otherwise specified).

Well I can assure you that 0.91mm with hole sizes of 1.19mm is really overzealous, that's actually why I posted this issue with close-up pictures in the first place. I even ordered a second batch of PCB's with drill size ~1mm (same as the default 2,54mm pin headers in Kicad) and they were perfect, not overzealous or too small at all.

Remember the KLC definition comes from IPC which is not intended for a tight fit between the part and its leads. There is meant to be ample space for solder to properly fill up the hole without voids. If your process requires tighter holes for alignment reasons then this guideline will not apply to you. This is ok. Technology is full of tradeoffs!

I'm perfectly aware of that, I don't even prefer tight fits, but when using connectors, it shouldn't be rotating on the board in all kind of directions like they do now.

In your case i suspect that you had bad luck. The parts you got will likely be on the low end of the pin size tolerance range. And the drill might be on the large end (compounded by the fact that we already started with a 0.01mm increased hole size assuming your manufacturer even has a 1.2mm drill in stock. If you ordered at an imperial board house than the target hole size might be even larger than the 1.2mm requested by the footprint)

I thought so as well until a few batches (PCB's and connectors) still had the same problem.


Ok and here comes the part where I must apologise for the confusion. I have misinterpreted the product KK254 as the series naming of the product I've been using, which is not the same as the script implemented series (just 6410). The ones I've been using is the product KK254 6373 series, which have a drill size of 1.02mm specified in the datasheet here.
I would like to add those connectors to the series if possible, but the conn_molex_kk_254_tht_top.py script might need some refactoring compared to other scripts. I'm not sure which I should use as reference. Could you (@chschlue ?) perhaps point me to one of the latest script versions for that please?

So again, sorry for the confusion that was definitely my fault and thanks for the help 👍

from kicad-footprint-generator.

evanshultz avatar evanshultz commented on June 26, 2024

@HendryKaak
The script that Rene updated is recent, so feel free to build of off https://github.com/pointhi/kicad-footprint-generator/blob/master/scripts/Connector/Connector_Molex/conn_molex_kk_254_tht_top.py or copy it. What we have is a bit of a mix and sometimes a single script could work for an entire family but there are separate scripts anyway. Generally we will take whatever the contributor chooses since they were willing to put in the work.

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

OK, will do. Thanks

from kicad-footprint-generator.

HendryKaak avatar HendryKaak commented on June 26, 2024

Hello again,
I've been in contact with Molex support regarding the drill size recommendations in the datasheets. Since I was curious about the difference in recommendations for the KK 254 6410 Series and the 6373 Series, which seem to have the same pin size. I'll leave the mail conversation down below for future reference, especially because it shows that datasheet recommendations might not always be ideal.


Hello Molex support,
I have a question regarding the product KK254 6410. I've been making a PCB footprint from
this connector (for open source usage) and stumbled upon some peculiarities.
The drawing of this connector describes a drill size of about 1.19mm/.047". Which I've already
included in the footprint and made PCB's from. But after checking the final product, I saw that
the connectors fit in very loosely inside their THT holes (almost to the point where you can tilt
the connector horizontally).

Measuring the pin diameter, it is about ~0.94mm in diameter which is a diameter size difference
of almost 0.25mm and that is well overzealous if you ask me. I also checked the mounting holes
in the PCB and they perfectly match the 1.19mm. We make use of multiple of the same series with
2 to 8 pins variants and I measured multiple pins to make sure it wasn’t just a batch mistake.
Connector KK254 6373 seems to be almost the same (except for the plastic friction lock size) and
that one has recommended drill size of 1.02mm/0.04".
Now the question is of course, what is the reason for this? Or is this a PCB recommendation error?

Btw, replies in Dutch is OK as well. This is what I sent to the American Molex support before they
redirected me to this email address.
Met vriendelijke groet / With kind regards,
Hendry Kaak


Hello Hendry,
Thank you for bringing this up.
The recommendation we have on 6410 with drill-size of 1,19mm +0,05 is based on experience thousands of customers have and we also have tested many years ago.
Normally with the diameter of 0,94mm what you have measured it should fit.
We have a difference in the recommendation for 6373-family because both series from the same family have been designed many years ago in different regions.

Both should fit, and both are only recommendations (see “typ” behind the value). 6373 is a little bit tighter (6419 is maybe better suitable for automatic placement on the PCB), but with the normal soldering-process (wave) both should not be a problem. Did you measure your tolerance?
Thanks and BRGDS


Hello Molex support,
Thank you very much for replying to my email.

“We have a difference in the recommendation for 6373-family because both series from the same family have been designed many years ago in different regions.”
OK, at least that explains why most of the drawing in the kk254 product range have different drill size “recommendations”.
Wouldn’t it be a good idea to rectify all those different recommendations to the current IPC2222 standard with the class type (1,2,3)?
Or at least mention which standard is used for the current recommendations?

“Both should fit, and both are only recommendations (see “typ” behind the value).”
I know that the recommendation fits (in some way or another) but compared to the other family it is quite oversized.
And for production a lot of extra solder tin is needed to fill up the gap between the THT pad and the Molex pin. The pins with the plastic housing of the connector is also able to rotate a lot (this can be seen by the outlined silkscreen around the connector that we use). Which doesn’t make it a good fit for the TPA (mostly for 2/3 pin variants).

“Did you measure your tolerance?”
Which tolerance are you referring to exactly? The pin tolerance?
I looked at the drawings from the 6410 family, but I must say that the drawings can be quite challenging to understand sometimes.
I could not seem to find the pin diameter tolerance. What I would expect from the drawings is that the drill size diameter is recommended at pin diameter 0.64mm[square single side] * sqrt(2) = 0.905mm + 0,2mm (following IPC-2222 class 2 for example).
Which is a drill diameter recommendation of about 1.11mm. The final plated hole will of course be slightly smaller than that.

The main reason for pointing this out is because these (seemingly small) drawing errors lead to at lot of confusion and wrong footprint designs for PCB’s. Most of the time people tend to take your recommendations for mandatory instead of recommendation, because “the manufacturer probably knows what is best”. PCB software tool design guidelines also state in most cases that if the calculated sizes deviates from the datasheet, the datasheet values must be used instead of the calculated values.

Convincing people to do otherwise takes a lot of extra effort, which should not be needed in most cases.
And if drawing a recommendation is not following a standard, maybe it is even better to not show the recommendation at all, so that people need to calculate their own drill size (or just point to a commonly used standard instead).
Met vriendelijke groet / With kind regards,
Hendry Kaak


Hello Hendry,

I fully understand your frustration. But there are simply some limitations of changes in specs and drawings.

KK-family was designed in the 60ies of the last century. Starting in the US with 6373, Asia and Europe followed with their own designs in requirements (some mechanical changes) with the 6410-family and mating products accordingly. Nobody talked about IPC2222 in these days. Both families have been available parallel in all regions, and since then our customers use our recommendations w/o any problem.

If we would change any of these drawings regarding recommended layouts, all the customers who use it would need to get informed by us through our PCN-process and channel, and some of the big ones would have the right to reject it. The effort would be very high, and the chance to get it done without any discussion (or get it done at all) is close to “0”.

I don’t think the connector can rotate in the holes, and if, this does not harm the mating-interface.

When I asked about tolerance, I talked about tolerance in the hole itself. In 6410 we mention “1,19 +/- 0,05mm”, and you mention in your calculation 0,905 * 0,2 = 1,11 (difference is 0,08mm???); plating does not affect that hole because inside does not need to be plated.
As I mentioned before, IPC2222 does not apply for these connectors. If the hole is within the recommended spec, it works.

There is no error in the drawing, this is the way thousands of customers worked with since 50 years. Sorry, I know this is not a good argument, but I am working with Molex since more than 20 years, and I never faced this problem before.

I am sorry if you have problems with these products, but I need to tell you we cannot change anything here.
Have a nice weekend.
bRGDS


Ok, thank you for your honest answers.
I’ll leave it at that.

Have a nice day.
Met vriendelijke groet / With kind regards,
Hendry Kaak

from kicad-footprint-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.