Where are the momentary bush-button switches located?


#22

Yours looks similar to mine. I did not update my kicad for nearly a year now. (stupid fedora gets no new nightlies.)
If you look under /usr/share/kicad/library/ you will find that there are a lot more libraries than the 29 that are in the standard template. If you want to use all libs that are supplied with your kicad version you either have to add them to the template or add them to every project you create by hand.

Sadly yes. And i fear this will not change until we get the new library format where we will have a symbol library table similar to the footprint library table within the users personal profile.


#23

Well…

I can (somewhat) understand someone having to add their own custom libraries to be available for a schematic, but I do not feel that having to manually add the default libraries should be necessary.

So…
I wasn’t comfortable doing it, but I edited the /usr/share/kicad/template/kicad.pro file to include all libraries on my system:

[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=74xgxx
LibName2=74xx
LibName3=ac-dc
LibName4=actel
LibName5=adc-dac
LibName6=allegro
LibName7=Altera
LibName8=analog_devices
LibName9=analog_switches
LibName10=atmel
LibName11=audio
LibName12=battery_management
LibName13=bbd
LibName14=bosch
LibName15=brooktre
LibName16=cmos4000
LibName17=cmos_ieee
LibName18=conn
LibName19=contrib
LibName20=cypress
LibName21=dc-dc
LibName22=device
LibName23=digital-audio
LibName24=diode
LibName25=display
LibName26=dsp
LibName27=elec-unifil
LibName28=ESD_Protection
LibName29=ftdi
LibName30=gennum
LibName31=graphic
LibName32=hc11
LibName33=intel
LibName34=interface
LibName35=intersil
LibName36=ir
LibName37=Lattice
LibName38=leds
LibName39=linear
LibName40=logo
LibName41=maxim
LibName42=mechanical
LibName43=memory
LibName44=microchip_dspic33dsc
LibName45=microchip
LibName46=microchip_pic10mcu
LibName47=microchip_pic12mcu
LibName48=microchip_pic16mcu
LibName49=microchip_pic18mcu
LibName50=microchip_pic24mcu
LibName51=microchip_pic32mcu
LibName52=microcontrollers
LibName53=modules
LibName54=motor_drivers
LibName55=motorola
LibName56=motors
LibName57=msp430
LibName58=nordicsemi
LibName59=nxp_armmcu
LibName60=nxp
LibName61=onsemi
LibName62=opto
LibName63=Oscillators
LibName64=philips
LibName65=powerint
LibName66=power
LibName67=Power_Management
LibName68=pspice
LibName69=references
LibName70=regul
LibName71=relays
LibName72=rfcom
LibName73=sensors
LibName74=silabs
LibName75=siliconi
LibName76=stm32
LibName77=supertex
LibName78=switches
LibName79=texas
LibName80=transf
LibName81=transistors
LibName82=triac_thyristor
LibName83=ttl_ieee
LibName84=valves
LibName85=video
LibName86=wiznet
LibName87=Worldsemi
LibName88=Xicor
LibName89=xilinx
LibName90=zetex
LibName91=Zilog

However…
It appears KiCad maxes out at 87 entries… For whatever reason, the last 4 aren’t being included, and they definitely are there.

Feel free to copy and edit yours if you’d like.


#24

I fear you might run into problems there to be honest.
(Somehow i didn’t see this post when i posted my last reply)

Agreed. (I just give you a workaround)

That’s a bummer. Well you might want to raise a bug report on this. (look first if there is already a report about it.)


#25

Interesting, a strange number choice either decimal or hex.
I wasn’t aware of a hard coded limit, but there may be


#26

Why? Why don’t you just include the libraries that you actually use in a design? Surely, you’re not use a BBD chip (most of which you can’t even buy) or sold-school CMOS4000 …


#27

So,…has anyone found, how to “really ADD” - a simple “two-way switch” (component) into a schematic in KiCad?
I can’t find any mechanical switches in my KiCad 4.0.6. library list. Do I have to download the switches library separately?

I have seen, some of you have given links to download some switch libs. That is easier said than done, for a newbie in kicad. Please write it out in steps. - Such that,… when I hit “a” in my schematic window, the “mechanical switch library list” should appear, & the selected switch be planted into my schematic.

@bobc , - is right, please don’t confuse and talk about the “footprint” at the same time, First let the component be captured into my schematic. We can later see how to get, or create a right footprint for it.

So,…can anyone give the simple specific steps to get a switch component into my schematic?
Thanks.


#28

In the top menu bar, select Preferences then Component Libraries.

This opens a new window with 3 panels. The bottom panel contains the directory paths of the libraries in the top panel. One of them is the standard path that was part of the install.

To the right of the top panel are the buttons Add and Insert; click one of them (“Add” will put the new library at the bottom of the top panel while “Insert” will place the library in the list where it is highlighted).

Navigate to the \share folder and select the “switches.lib” file.

Use the Up or Down buttons to place the new library in the order you prefer.

Click OK.

Done.


#29

Your patience is admirable.

Dale


#30

Not really…

I had forgotten how to do it myself… LOL… and I needed to add the relay library to my current project …

I’ve been using PcbNew for the last couple of weeks, and Eeschema deals with the libraries differently… took me a moment…


#31

Thanks, your patience helped me, get a switch somehow. It was tough. I have been using Eagle
since the last 6 years, & never imagined this kind of search had to be done here. For the veterans, it may be a joke, But it was really your DETAILED steps, that convinced me that, this must be the right way, or else, I was about to give up the search for a switch, & was thinking of making a “new component” for my switch, using the schematic Editor. So,. thanks a lot. It saved me the trouble.


#32

Pre-loading cypress, while not including switches seems a strange choice of default.
Has anybody found the limit on the number of libraries selected yet?


#33

Is it 87? …


#34

The problem seems to be that https://github.com/KiCad/kicad-source-mirror/blob/master/template/kicad.pro has not been updated in the last 2 years it seems.
the cypres lib did exist 2 years ago wheras the switches lib is a newcomer.
@SchrodingersGat should the library team ensure that this file is kept up to date? (Do the developers even wish this file to be updated with the library?)


#35

Changing this sort of default is only easy when there is a major release.
Where did switches.lib come from, is it a rename or a split?
There must have been basis switch symbols somewhere before


#36

Originally the switches where in device.lib
I think around release 4.0.5 the device.lib got split up a bit. (It got to large to handle. Reason: one file per lib, lots of merge conflicts)


#37

In which case it should really have been added as a default. Removing one of the more obscure defaults to make space is not too bad, so long as this is made clear in the release notes.
Having a couple of pages in the documentation summarising what is in each library would be helpful