Took me 10 minutes total. It is NOT KiCad library rules compliant.
Pad dimensions are in mm, and the drill is imperial #55.
The annular ring may appear a little small, but it does comply with OshPark requirements for fabrication.
Fab layer contains the outline of the package.
Silk layer has lines for alignment.
ON EDIT: TL1107W_2.kicad_mod (1.3 KB)
Changes made:
Increased the annular ring size a moderate amount.
Changed the resulting pad size to a 2 decimal mm value.
Added F.Fab layer lines to resemble the approximate pin locations.
thanks for the quick reply. I copied the file to my KiCad libraries directory under Buttons. Then I was able to select the button. It does look correct.
At this point I am laying out the board. When this is complete and I am able to print the PCB layout to scale, I can check the size against the switch.
For amusements sake I did a search for pushbutton switches in Octopart which returned slightly less than 15,000 possible hits. Obviously many of these will be minor certification differences /duplicates / unavailable / no longer in production / EOL but the point is that there are an unbelievable variety of them. And thatâs just switches.
Many beginners ask âWhy is there no footprint for my xyz component? I canât believe that this software doesnât come with that pre-installedâ. That is then followed by a lengthy trawl around the shady parts of the internet trying to find a matching footprint. Probably an hour or so of head scratching later you give up or place something you are a bit dubious about which you worry about until your board arrives (and possibly beyond when you find it doesnât fit!). The lack of footprints is not unique to KiCad - even if you pay big bucks for Altium etc - you are not guaranteed to get a footprint for every component that you can order.
Sooner or later (and probably sooner), you will find that you will need to make some of your own footprints because not everything is or could be provided in the KiCad libraries. As @Sprig proved - designing your own need not take a long time, you can design the footprint to fit your manufacturing process and whatever standards/modifications you favour.
Have a look at some of the tutorials and try a few simple designs - a switch like this is a really good starter project. Look at the data sheet and follow the suggested layout. You will end up being more productive and you can be sure that the footprint meets the manufacturer guidance - and not have to trust that someone else has done it correctly. (Although the one provided above looks fine and you must owe Sprig a !).
@John_Pateman To be clear, it actually took me a little longer than I expected because it was not initialy obvious to me which section to use in the datasheet.
^^^THIS^^^
The F.SilkS layer informatioin provided is recommended by a local manufacture. There Quality Control system takes images of the board after manufacture and the lines in the footprint provide for their system to ensure that the part is in proper alignment. Note: they also prefer some silkscreen under the part, to make it easer to detect an unpopulated part.
The F.Fab layer information provided is because I want that information there. I use it as a âsanity checkâ in reference to the pads of the footprint. Here is an example:
Using a #55 drill hole size with an Excellon drill file in inches/2:4 format should eliminate any chance of rounding error confusion.
While my footprint may not be KiCad library compliant, KiCad is not going to manufacture nor populate the boards that I produce. A wise member on this forum once told me to think of datasheet land pattern data more like a serving suggestion. That really made sence to me once I realized that different manufactures of the same package/housing part, can have differing land pattern recomendations.
Hope this information helps someone else learn how to make pcbs with KiCad! And, note, pin one of both footprints is on the left on purposeâŚ
I wonder if an updated version might be useful as a pinned topic. Maybe start splitting up some of the stuff that might go into the FAQ into the specific sections? Mini index pinned pointing to stuff in the FAQ? Obviously just thinking out loud here.
To be honest, if if were my board, Iâd probably use the smaller pad size. I was double checking the footprints for errors when I noticed that the datasheet did have an indication that the pin width was 1.00mm. The second model, the âEâ version gives the specification and the other drawings and images appear to be the same scale.
With a 1.3mm drill hole, the 1 x 0.3mm(pin thickness) is going to require quite a bit of solder just to fill the drilled hole. I only increased the pad size because I donât know the OPâs ability to hand solder. The larger pad size should make it a little bit easier to solder.
This was an oversight on my part. The whole reason for looking for errors was because when I first created it I was making an apptempt to see how fast and accurate I could create the footprint. I have the minimum anular ring size for OSHPark (not a sponsor) memorized in mils. I simply forgot to make the conversion to mm.
This was not a mistake or oversight. I did not want to guess at the pin dimensions. Having since discovered a dimension on the datasheet I am now comfortable including pin drawings on this layer. Note however, that I use these simply as a âsanity checkâ; in other words, âclose countsâ.
I hope some found some insite for me sharing the why of making these changes.
Iâd order the part, and while waiting for its arrival, Iâd use that time constructively to learn how to make a footprint in Kicad.
Upon the parts arrival I would then measure that part and use my newfound skills to make a footprint.
The footprint would have the largest pads I could get away with, together with large tracks joining the pads, and I would use the largest amount of solder I found aesthetically pleasing to join the switch to the pads. All these measures are to ensure reliability and robustness because a human is going to push that switch an untold number of times with an unknown amount of force
The 3.5mm long pins give enough stickout to heat them with a soldering iron (or solder wave) A bit bigger pads then usual for stuff pushed by monkeys generally is a good idea though.
The above critisizms are fine with me. There can be any number of reasons for making design choices. One of the reasons for leaving the original file was so that discussion on this could continue.
A significant reason for me prefering to use the smaller pads is because it is a PTH part. These cause two issues.
They take up board Real Estate on both sides of the board.
Note: Image is for simple demonstration purposes only.
For a device with only 2 pins, as shown, it typicaly is not that big of an issue. The problems start when there are more pins along with wider trace widths that required due to current draw.
Choose whatever works best for the design at hand. Be mindful though, that another design may make other tradoffs.
Switches and connectors are probably the last categories of components where thru-hole versions are still readily available, and often preferred, over SMT versions. In spite of manufacturersâ claims, experience seems to confirm that leads or pins, anchored in plated-through holes, are significantly more rugged than flat leads sitting atop an SMT pad.
I recently had to revise a board to accept an SMT version of a switch, because it was available while the thru-hole version - that we had used for several years - suddenly had availability problems. (Can you believe lead-times over a YEAR??)
In my heart and in my mind I was opposed to the change, but when they grab you by the gonads, your heart and mind will quickly follow. I drafted a new footprint, that would accept either the SMT or the thru-hole version of the part. (The astute observer will recognize that this is another reason why you should learn to create footprints.)
Thatâs when I noticed that the SMT version of the switch had a significant difference from the thru-hole version. The sheet-metal framework that enclosed the switch and held it all together featured two thru-hole tabs for mounting and positioning. The part was âSMTâ in name only - to achieve the best reliability, you still have to do a thru-hole soldering step on those tabs! In fact, because the switch leads splayed out from the body to connect on SMT pads (âgull-wingâ style), the top-side footprint for the SMT version used more acreage than the thru-hole version. And, even though the thru-hole part used space on both sides of the board, those mounting tabs used almost as much space on the back side of the SMT footprint. In short, I donât see that the âmodernâ SMT version is a real improvement over the âold-fashionedâ thru-hole version.
Thanks for that question! As others mentioned, it has been asked before, but it is still a common, and relevant, question for people new to PCB-Layout software in general.
When I first started paying attention to PCB software about a quarter century ago, I was impressed by the publishers who claimed, âOur software include a jillion footprints.â. Of course, the next guy said, âWell, mine has over a zillion footprints.â.
Now (perhaps in no small part because Iâm a bona-fide, genuine, certified geezer) I know thatâs all marketing hype. The REAL way to evaluate a layout program is by how easily you can draft, and integrate, your own symbols and footprints into the software. Every organization Iâve worked with has created and maintained their own custom library of symbols and footprints. After scanning through this thread, it should be apparent that there are numerous justifications for doing this, and no publisher-supplied library - regardless of size - will ever be a one-size-fits-all solution.
Like my grandkid riding a bicycle without touching the handlebars, I think you just wanna show off!
Once you âgetâ something, itâs easy. You forget about the time, effort, and mental strain of figuring it out. You donât show the 2:00 AM computer sessions, or the scraped knees. Hopefully, itâs a challenge - but a respectful, encouraging, challenge - to @toothrobber that the effort is not only reasonable but worthwhile.
The initial motivation was my surprise when I posted a little earlier and found this:
I hereby certify that I am not simply asking someone else to design a footprint for me.
This is an auto-generated message that is in place on the âfootprintsâ section of the KiCad.info forum. If I remove it and ask for a footprint to be designed anyway, I understand that I will be subject to forum members telling me to go design my own footprint or referring me to a 3rd party footprint site.
It seemed to me that it would be a pretty big surprise to the newcomer if a footprint was actually provided. Then, once I read the Datasheet to see what was involved, I felt compelled to help. The Datasheet only contains the drill diamter, and has no information on the finished pad size. Since PCB manufactures can be unclear about how the annular ring specification afffects the finished pad size, it just did not feel right to just let the OP continue to struggle.
But, yeah, once I made the mental decision that I was going to do this, I took note of the time on the clock. The intitial intent for posting the time was just to show others reading the forum that it just doesnât take all that long to create a new custom Footprint with KiCad; but I wonât deny the possibility that the neatherderthal portion of my brain was trying to show off.
Probably done for consumer products with a single sided PCB withe the switch on the component side.
I frequently come across the THT version on single sided boards, doubling duty as a wire jumper as well.
The first place I look for dry joints when I see these