I’m building a circuit where the CD4051 analog multiplexer is used, but I’m not able to connect VCC and ground in the schematic. I tried making a new schematic symbol with pin 16 VCC and pin 7 GND, but when I choose that symbol, it just adds the old one to the schematic, even though I can see in the preview that it’s the right symbol I’ve chosen:
Sadly the 4045 lib still has a lot of symbols that rely on invisible power pins.
I would suggest you copy this symbol into your own lib, rename it to something that makes sense to you. (to avoid name collision)
After that edit the vcc and gnd pin of the symbol to be visible.
You can use the invisible pins if you want. (Be aware that they are dangerous, especially if you have multiple power supplies.) Just place a power symbol with the same name as the pin names of the symbol and it will be connected.
(Invisible power pins are global labels.)
Invisible power pins do not allow for a usecase where you have multiple ICs on different power supplies. It is your decision what route you go.
I tried making a copy library, saved to the project folder and added Vcc and GND pins so that they should be visible.
But when I add THAT library, there are still no power pins.
That is what I was trying to convey in my previous posts.
You need to move your personal lib to the top of the priority list.
In kicad symbol names need to be unique over all libs. If kicad encounters multiple symbols with the same name it will only use the one of the lib with the highest priority.
Above i suggested to rename the symbol to avoid this problem
More details:
For many packages such as quad or hex device packages, i discovered that there was an extra “Unit”, for example on the 7407 library symbol which is a hex buffer, there was a unit “G”, which is a 7th unit on a hex package. Selecting that just produced a box with a pin 14 and pin 7 on it, for connecting up the power.
This is new in the version 5 library. Sadly still not for all symbols.
The version 4 lib (which was the topic handled in this thread) did not come with this. There the pins where defined as invisible power input pins which makes them global labels.