don’t know if i get you right - the given dimensions of the “generic pin socket …” are drill diameters of course. So as you stated - a 0,64mm square pin would fit into such a hole of 0,9mm. But - that is rather tight, especially if you use longer sockets / header in my experience. Therefore i use 1mm
That is, into the hole always goes the standard square pin 0.64, diagonal 0.9. So your 1.0 mm hole in the board makes perfect sense. But what are then those 0.9, 1.0, and 1.1 diameters? I’m studying now a custom Blue Pill part by dbrgn, the holes are 0.8! All this still doesn’t make any sense to me…
The 0.9, 1.0 an 1.1 are footprint variants of the pin header / pin socket. you could simply change the variant and get the holes in your desired size - but its still the same device. This is part of the librepcb library concept and you’ll find it at many other parts/components.
Back to dbrgn’s work: that’s probably because the pin socket (female), where the blue pill is supposed to be plugged in has smaller legs, which fit into 0.8 mm holes.
So the blue pill has those 0.64 square pin headers which plug into the pin sockets which are soldered to the pcb.
that’s probably because the pin socket (female), where the blue pill is supposed to be plugged in has smaller legs, which fit into 0.8 mm holes.
Probably sounds very depressing . So there are different pin sockets. Including those fitting into 0.8mm holes. None of the latter included in the libraries for some reason. Do I have it right?
…i don’t know why dbrgn used 0.8 mm - that’s why i wrote “probably” it is just a guess.
So there are different pin sockets. Including those fitting into 0.8mm holes. None of the latter included in the libraries for some reason. Do I have it right?
not really - you mix the (female) pin socket and the (male) pin header - and maybe i was not precise enough too.
please re-read this and see the picture above.
The standard format of the (male!) pins is square & 0.64mm. You could just use them to solder into your pcb (as they do with the blue pill). my recommendation is to use 1mm holes then.
If you want to use some (female) pin sockets to get a pluggable connection then the pcb holes could typically be smaller.
But… to be honest. why bother? just use 0.9 or 1mm.
I don’t remember why 0.8mm, I probably measured the headers I got with the blue pill and they were small enough to fit into 0.8mm? It does sound rather tight though, 1mm would be a more conservative choice.
In any case, you should measure the parts you have or look up the datasheet, and verify that the library part you’re using actually works. If you want to make adjustments, you can simply clone the third party library part into a library of your own, and make the adjustments.
If you want a tighter fit, use 0.9mm. If you want a looser fit or more tolerance, use 1.1mm. Depends on the part. There are no real “standard pins”. Some are a bit thicker, some a bit thinner. 1mm is a good default.