Putting together some common parts libraries - Page 1
Forum section: electronics / general

author: bogdan2014
author_rank: Regular Contributor
timestamp: February 18, 2022, 06:09:13 pm
content: I've been putting together a few libraries for symbols that I use the most + their associated footprints. They look like this:- THT electrolytic caps, most common values from 1uF to 10000uF and voltages from 6.3V to 100V- THT caps like ceramic, tantalum, SMD- common diodes, THT, TO-220, SMA, SMB etc- some ferrites that I used and made footprints for- common resistors, by wattage (THT) and size (SMD)The sizes of electrolytic caps are taken from Farnell, which puts them in the part description. I'm still gathering all the info and when it's done I'll upload them to gitlab.Feel free to suggest parts, these are just the ones that I've worked with.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: February 20, 2022, 12:12:50 am
content: Hello bogdan2014.You asked for parts suggestions.I'm new to KICAD, I just use the basics, with some difficulty.I suggest the parts:1. PTH MOSFET (no diode between D and S), example 2SK241 N-CHANNEL TOSHIBA.2. TCXO, VCTCXO. many families, with different footprints.To start, footprints:5.0x3.2 mm see brand ABRACON-ILSI model I533.3.2x2.5 mm see brand ABRACON-ILSI model I527.As I am new to KICAD, I ask that you upload the packaged library (ZIP), and make a simple script for installing these new libraries.All the best.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: February 20, 2022, 02:58:54 am
content: Hello again bogdan2014.1. As for TCXO and VCTCXO, your models for KICAD can be classified as Generic Models. Many manufacturers manufacture with the same physical dimensions as the component.2. Don't forget to produce the 3D-Model.3. Also make the footprint for manual welding, and another for welding machine welding, and automatic insertion.4. Advise which version of KICAD your models are for. So far I've used version 5.1.12.5. But now there is already version 6.0. Which I installed here today. It seems that version 6.0 and 5.1.12 are incompatible.I suggest you do the modeling for version 6.0. Which will soon be dominant.All the best.

author: bogdan2014
author_rank: Regular Contributor
timestamp: February 20, 2022, 02:38:29 pm
content: QuoteForgot to mention - I'm only planning on using footprints and 3d models that are already existent in the standard library. For example, I could only find the 3.2x2.5mm crystal.For the MOSFET, I couldn't find any package specifications, so if you can point me to the footprint that would be great.When I'll have them uploaded to gitlab, anyone will be able to download and contribute.QuoteIt's a matter of downloading the library files and put them in a folder, then add them in kicad.The libraries will be for version 6.QuoteYes kicad has the standard machine footprint and a hand soldering one, they'll both be included.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: February 22, 2022, 11:25:08 pm
content: Hi bogdan2014.I'm new to KICAD.I just made a small board, with few components. It worked... I soldered the electronics manually.1. Regarding the footprint of the MOSFET 2SK241. The islands can be the same as a common transistor, like the 2N7000. You have to make the design for the 2SK241, without the internal diode between D and S.The 3D model, and footprint can be the same as the 2N7000.2. Regarding the TCXO and VCTCXO. The 5.0x3.2 mm model is very common... what we need is a “generic model” that fits all manufacturers of this type.I made a drawing of TCXO 5032 here, and used the model, in the KICAD 5.1.12 version of the TCXO:“Oscilator_SMD_SeikoEpson_SG8002LB_4Pin_5.0x32mm_HandSoldering”This SeikoEpson model has no 3D model in KICAD 5.1.12.3. As for how to install the library, I don't know. If at the right time you help me, and make a step-by-step script. I thank.All the best.

author: bogdan2014
author_rank: Regular Contributor
timestamp: April 08, 2022, 04:43:32 am
content: The libraries are available at github:https://gitlab.com/bogdanserban/kicad-common-libraries

author: BRZ.tech
author_rank: Regular Contributor
timestamp: April 10, 2022, 02:23:54 am
content: hello bodan2014.1. I was able to install the libraries you made available in gitlab.2. See that the "Common Transistors - MOSFETs, SMD transistors" library is missing from the installation list.3. Confirm that you were able to design the MOSFET 2SK241. and what folder it is in.4. Confirm that you were able to design for TCXO and VCTCXO 5.0x3.2. What folder are they in? It should be in the "COMMON_OSCILLATOR" folder in the KICAD library folder. But it doesn't exist yet.5. Now in KICAD version 6.0.4, I can open old projects from version 5.1.12. This is good.6. It took a bit of work to install the libraries you provided. but I managed to conclud with an auxiliary video from youtube.7. Follow the photos. watch.8. Thank you very much for your brilliant work.All the best.

author: bogdan2014
author_rank: Regular Contributor
timestamp: April 10, 2022, 12:57:03 pm
content: Yeah, the transistors library was somehow left out. 2SK241 is in that library, please check that it is correct.TCXO and VCTCXO are not there yet but I can see that there are some TCXO parts in the default library.QuoteIt's as easy as downloading the files in a convenient place and adding them from the Preferences - Manage Symbol Libraries and Manage Footprint Libraries. Then use the "add existing library to table", the folder icon.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: April 10, 2022, 10:51:30 pm
content: Hello bogdan2014.Thanks for replying.See how I did the installation, it's not exactly as you said above, see how simple and reproducible it was for a novice user:1. Add Symbols: (*.lib or *.sym)(Open KICAD 6.0.4) -> (Symbol Editor) -> (Preferences) -> (Manage symbol libraries) -> (Global Libraries) -> (click bold rectangular folder drawing) -> (select *.lib or *.sys files) -> (open) -> (ok)2. Add Footprints Folder: (*.pretty)(Open KICAD 6.0.4) -> (Footprint Editor) -> (Preferences) -> (Manage Symbol Libraries) -> (Global Libraries) -> (click bold rectangular folder drawing) -> (select the *.pretty Folder) -> (okay)3. As for the file “Common_Transistors.kicad_sym”. I downloaded it from gitlab, and installed it here on KICAD 6.0.4.I located the TR 2SK241. It turned out really good.4. Suggestion: change the name from “PCB_Transformers_kicad.sym” to “Common_PCB_Transformers_kicad.sym”.* This will keep all the files you added together. It will be easier to find and replace the old file with a new version as you add new components.5. SUGGESTED NEW COMPONENTS:5.1 Dual Gate MOSFET Transistor - SMD. It's a family, and all are functionally similar, and have the same symbol and footprint. They do not exist in KICAD 6.0.4Examples: See the datasheets: 3SK293 (TOSHIBA), 3SK274 (TOSHIBA), 3SK318 (RENESAS), 3SK299 (NEC).* Tip: BE CAREFUL not to invert the pins of Gate1 and Gate2 in the drawing and in the footprint. G1 and G1 are functionally different, and have different polarization characteristics.* In your Symbol, if you can put next to pin 3, the name G1. And from pin 4 the name G2. This is going to be very good. Prevents users from reversing the connections on the circuit and on the board.* You can use TR 3SK263 (ON) as symbol and footprint of KICAD. But you need to remove from the drawing the Diode between the D and S of the 3SK263 that is placed there.As for the internal Zener diodes, in G1 and G2, you don't need to put them.5.2 Ceramic DiscriminatorIt's a family, and all are functionally similar, and have the same symbol and footprint. They do not exist in KICAD 6.0.4Examples: See the datasheets:PTH: CDB455C7 (MURATA), JTM Series (TOKEN).SMD: CDBC455C16 (MURATA), JTC Series (TOKEN)* Attached are the datasheets.5.3 Ceramic Filters for CommunicationIt's a family, and all are functionally similar, and have the same symbol and footprint. They do not exist in KICAD 6.0.4* There are several manufacturers with similar specifications, symbols and footprints. The most famous is MURATA, which stopped manufacturing these components.Examples: See the datasheets:PTH: LTM455EW (TOKEN), LTM455EU (TOKEN)SMD: LTC455EU (TOKEN), LTC455EW (TOKEN)* Attached are the datasheets.5.4 FM/AM Detector ICsTA31136 = AA32416, NJM2552, MC3371, MC3372.6. INSTALL DIPTRACE-FREE CADbogdan2014, the DIPTRACE have a broader library on these components for communications. I suggest you install DIPTRACE FREE, and look at the symbols and footprints... to serve as a model, in the components you make for KICAD.All the best

author: bogdan2014
author_rank: Regular Contributor
timestamp: April 11, 2022, 05:41:39 am
content: QuoteI've looked on Farnell and there are also types with more than 4 pins (seehttps://uk.farnell.com/sitime/sit5155ai-fk-33vt-20-000000x/vc-tcxo-20mhz-lvcmos-smd-5mm-x/dp/2908693?st=vctcxo). Not sure if a generic component is correct, maybe I'll need some common parts.Quote3SK318, 3SK299, 3SK299 all have different pinouts.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: April 11, 2022, 12:37:21 pm
content: Hi bogdan2014.Thanks for replying.1. FARNEL-TCXO 5032I looked at the link sent.You are right about not making a generic component.It so happens that the corner pins are always used by design users. And the internal pins are rarely used, maybe they are for functional and quality testing in the component factory.See that in the current KICAD 6.0.4 symbol bank, I could only find a Seiko-Epson model for size 5032:“Oscilator_SMD_SeikoEpson_SG8002LB_4Pin_5.0x32mm_HandSoldering”.*Verify that it use and soldered, only the the 4 corners pins in the footprint.This one was for me to use as a 5032 profile in ILSI's TCXO:“5.0x3.2 mm see brand ABRACON-ILSI model I533.”So I suggest whether you design for ABRACON-ILSI size 5032: “5.0x3.2 mm see brand ABRACON-ILSI model I533” and size 3225: “3.2x2.5 mm see brand ABRACON-ILSI model I527 ”.This will serve many of function and pin equivalence from various manufacturers.2. MOSFET WITH DIFFERENT PINS: 3SK318 x 3SK299I looked here, and what happens is that the pin numbering sequence is not the same. But in the real physical component, the pin distribution D,S, G1, G2 is correct. See the drawings.* Attached are the datasheets.All the best.

author: BRZ.tech
author_rank: Regular Contributor
timestamp: April 11, 2022, 07:02:44 pm
content: Hi again bogdan2014.1. TCXO ILSII checked the websitehttps://abracon.com/and found thatthe ILSI I527 model is not in the list of available ones.2. TCXOI suggest you make the component models, with footprint for hand soldering, and machine soldering.ILSI-5032 = I533ILSI-3225 = I538*For hand soldering model 5032, you can use the Seiko-Epson footprint in KICAD 6.0.4:“Oscilator_SMD_SeikoEpson_SG8002LB_4Pin_5.0x32mm_HandSoldering”.* Attached are the datasheets.All the best

author: BRZ.tech
author_rank: Regular Contributor
timestamp: April 12, 2022, 01:32:10 pm
content: Hi again bogdan2014.EXAMPLES OF SYMBOLS FOR NEW COMPONENTS* Use the attached circuit. HAM-Radio VHF – YAESU – FT-2900R1. Dual Gate MOSFET Transistor - SMD.See in the attached circuit the Dual Gate MOSFET Transistor Q1045 = 3SK296ZQ.The “S” pin is marked.The “D” pin is the top one. It's not marked.The “G1” pin is where the R1209(47K) // D1023 diode is connected. It's not marked.The “G2” pin is where the R1178 (100K) is connected. It's not marked.* Note that the drawing “Does not identify” the terminals of G1 and G2.The G1 is where the RF signal comes in, coming from the antenna.The G2 serves as an amplification gain control for the Q1045. Known as the AGC circuit.* TIP: ALWAYS make the bottom pin of the Gate inputs “G1”, and the top pin, “G2”.* The TR 3SK296ZQ's footprint is what we're calling “generic”... What are you doing. Follow the datasheet.* I insist, in order to make a Perfect Symbol, that you indicate in your Symbol the terminals “D,S,G1,G2”, so that the designer user “does not make a mistake when connecting the pins”... And also, that in the drawing of the Symbol, G1 is at the bottom of the drawing and G2 is at the top. Just as it is in the Q1045 circuit. And in the footprint the connections are according to the datasheet.* In this way, the RF signal will ALWAYS enter the lower terminal of the Transistor (G1) and the AGC in the upper terminal (G2)... This is what happens in all radio communication circuits. Like YAESU, ICOM, KENWOOD, ALINCO... This is a standard of radio communication projects.2 Ceramic DiscriminatorIn this circuit, it is component CD10001 = JTBM450CX7.* This Symbol used is not a consensus among radio manufacturers... But I think it's very good. You can adopt him if you want.* This CD10001 = JTBM450CX7 is an SMD version, center frequency at 450KHz. And the footprint is the same as:SMD: CDBC455C16 (MURATA), JTC Series (TOKEN)3 Ceramic Filters for CommunicationsIn this circuit, it is the components CF1001 = LTM450GW and CF1002 = LTM450FW.* Circuit designer did not show all Cerami Filter connections.* In practice, the footprint can be of two types PTH and SMD, as I said:PTH: LTM455EW (TOKEN), LTM455EU (TOKEN)SMD: LTC455EU (TOKEN), LTC455EW (TOKEN)* The letter of the part number informs the Ceramic Filter's “Band Through”: A, B, W, C, D, E F, G, H, I, HT...4 IC FM/AM DetectorIn the case of the circuit, IC Q1028 = NJM2591V is equal to TA31136 = AA32416.5. CRYSTAL FILTER for CommunicationsIn this circuit, it is the components XF1001 = 21R15A and CF1002 = 21R15A.* If you google it, you will see that the 21R15A model is for the 21.4MHz center frequency. E It is not for the frequency of 21.7MHz, as it is written in the circuit.* But the first intermediate frequency (IF) in the device is f = 21.7MHz... Maybe the designer misspelled it, and the original component has another code.* This type of CRYSTAL FILTER or Xtal Filter is also widely used in communication signal reception circuits.* They exist as a PTH component, and as an SMD component. As nowadays, most of the plates of these radios are made by insertion in an automatic machine. They usually use the SMD version.* CRYSTAL FILTER for Communications doesn't seem to have it in KICAD 6.0.4.... I think it's interesting to add it to your list.* I will look for more datasheet information and let you know.* Attached are the datasheets.All the best

author: wizard69
author_rank: Super Contributor
timestamp: April 17, 2022, 05:07:04 pm
content: I'm new to KiCAD so take what I say with a grain of salt. Also I'm learning version 6 as it make little sense to me to spend a lot of time on version 5 for a newbie.Quote from: bogdan2014 on February 18, 2022, 06:09:13 pmPlease understand that i do more repair work than engineering, however with caps they seem to be constantly changing in physical dimensions. As such It would make sense to me to have manufacture specific files for THT electrolytic caps. This especially for foot prints and 3D models.QuoteWould you not be better off with industry standard size or manufactures specific data? This especially for electrolytics. I'm not one to trust distributor data.I'm still gathering all the info and when it's done I'll upload them to gitlab.Feel free to suggest parts, these are just the ones that I've worked with.I'm still learning what is needed to do this sort of thing in KiCAD, so again a grain of salt. I'd love to see a complete set of wiring connectors organized as to manufactures models/types. TE's Mate-N-Lok type connectors are one example. You would need to cover wire to board, wire to wire & wire to panel. There are probably hundreds of differing incompatible solutions for such connectors so a simple line might be easier.So far from what I've seen KiCAD doesn't always make it easy to distinguish what is on board and what is mounted external to the board. For example a Wire to Board connector often should be documented separately from the connector on the board, if for no other reason than the customer needs it. I'm so new to KiCAD I'm not sure if there is a proper way to do this.One other suggestion is fuse holders and such. There is a pretty wide range of board mounted fuse holders out there.