Skipping some components on PCB creation

Add # to the front of the reference designator, for example #R1.

1 Like

This is certainly the easiest solution but it is also worth pointing out that there is a side effect which may be important - items marked with a # will not appear in the BOM.

1 Like

That is easy! :slight_smile:
It is a bit odd that I have # in schematics but I can live with that.

Thanks a lot.

I assign the connector as the component footprint.

3 Likes

Double plus good for hermit +++

If you simply omit motors and potentiometers from the PCB, then you have no proper way to connect wires to them.

Same on the “other side” Forgetting to put a connector in the schematic and on the PCB is a classic beginners mistake.

A slightly different option is offered here

I always use PCB schematic and not device schematic.
So I would not use motor at schematic but its connector (not motor symbol with connector footprint, but connector symbol with connector footprint).
When I send such PCB documentation to be assembled no one will be searching for motor (as it is not in BOM) but for connector (according to BOM).

If the device is so complicated that I need also its schematic the PCB will be there a rectangle with some connectors shown (I suppose, as I never did it).

1 Like

That is OK for complex stuff, but for simple constructions it is more practical to have all in one schematics, including external components like potentiometers, led, switches or so which are mounted on housing, not on the PCB directly.

Using # works fine. O also like idea to use footprint of connector instead actual component.

I am pretty surprised this can be done only through hacks. It is very common need.

Is it the addition of the # that you consider a “hack”? Why? I would not want to have any electronic component on the schematic which would not get onto the PCB without a clear visual indication and the # does the job quite well, even for example when printed on paper. It’s also simple and fast to use.

If you want to hide the text, you can simply set it to invisible:
image

But I would not recommend that. It can get pretty confusing once you’ve got your PCB’s from the fab and wonder why it’s missing some components…

Schematics are also not meant to be “beautiful”. Their purpose is to convey information to engineers on how a piece of electronics is supposed to work, and what components to put on the PCB.

That said. KiCad has had a long and bumpy history and is continually being significantly improved. Especially in the last handful of years. It’s probably even starting to surpass commercial programs by now. (But I wouldn’t know, because I’m so happy with KiCad (and biased) that I would not use anything else anymore.

KiCad developers also listen to their users. If you consider the # a hack and can think of a better way, please post it here. If it’s a good idea more people will agree and your proposal may eventually be integrated into KiCad.

1 Like

The new file format is under work and it’s possible this has already been considered.

I did not mean to sound negative. I like KiCAD and I also use only that for schematics.

I meant hack as I couldnot find it in documentation. Even after I learnd about it here, i sti was unabel to find reference in documentation.

Other than that it causes other issues, for example component does not show in BOM. I suppose it would also cause issues in simulation.

My conclusion is that # means ignore this component, treat it as meaningless drawing.

Solution with using different footprint also has it’s own quirks, someone already mention it.

I expected there is option on component to mark it specificaly that it does not go to PCB requiring no tricks. That would mean it is still part of schematics and goes to BOM. On PCB it will not have usual footprint.

Not exactly. The # means either the symbol is a Power symbol or the symbol will not appear in the netlist and BOM. Well, power symbols never appear in the netlist or the BOM.

I would not go so far. To be honest the # prefix is a legacy hack that will hopefully be gone with the new file format.
Somebody in the past thought it might be a good idea to let the reference do double duty and use the # prefix as a sign that the symbol in question should not appear in the BOM or get a footprint.
I am sure this was mainly intended for power symbols. It has the (possibly unintended) side effect of being useful for off board components or symbols.
I would hope the new file format has at least two separate options for controlling if something should have a footprint and another one for if it should appear in the BOM (both might best be implemented such that they can also be used for PCB assembly version handling.) Just to be clear: I have no knowledge about this. It is just an idea that came up in this context. I do not know how the new file format will look in this regard.

I like idea with different footprint the most. It is logical. Even if component is not on the board it has to be attached, so there should be at least connector or soldering pads.

The only drawback, as someone explained, is that footprint info is printed on board instead of real component info which is confusing. If KiCAD in some next version fixes that I believe it wold be quite good solution.

In my current project, I am going to make PCB by hand so all I cared was to avoid having external components on the board. Both hacks will do the job.

I agree, hermit proposed a correct solution. Also, ‘#Reference’ is also a good feature to add additional clarity to schematics, but these “virtual” components must be explicitly marked as “virtual” components for printable versions of shematics.

Hi,
I am a rather occasional user of Kicad, for my own needs, not professionally. I use since v4 and like it. Just to add my 2 cents to this discussion. In my view, one should be able to put in the schematics both onboard and offboard components, including the necessary connectors, and marking somehow which are offboard. For example, think of a front panel potentiometer: one puts in the schematic the potentiometer and the connector pair, say 3-pin female onboard and the corresponding male ofboard, as a connected pair, draw wires, etc, and marks potentiometer+male connector to be offboard. In this way all is logically connected, for electrical checks/simulations, etc., all included so as to be in BOM (perhaps those offboard in a separate section), but when designing PCB offboard components are simply ignored. Just a suggestion, no idea how difficult would be implementing it.

Like when you use, say, Word, I guess there’s 2 ways to use Kicad, one is for “home & hobby use”, the other is more “business use”.
In a business environment, your Word document wiould be correctly formatted, using headers and sub-headers and chapters and sections.
For home use, we just make a bit of text bold if we need a header etc.
Same for Kicad: for business use, you will be using a sheet to represent a single board (it may have child sheets, but they are really just “part of the sheet”. If you want to have a drawing of the PCB used in a “product” then you’d have a “parent” sheet, that includes the components not on the actual PCB. Thus the circuit diagram 100% matches what you need on the PCB.
For home use, maybe you just need schematic capture, in which case you can do what you like: I was using Kicad this way last week, to document a circuit I built on stripboard. I used wire junctions (= black blob!) to represent a pin, that wires would connect to. Clearly that’s fine for THAT need, but not ok if I wanted to make a PCB from it.
So, I guess you need to decide how you, personally, want to use Kicad… if you are wanting to design PCBs, then you need to be a bit more strict in what you do when you create the circuit diagram.

You can achieve that already with careful use of the # ‘hack’ described above. I have used a pair of generic M & F headers here, which I have place over the relevant wires. The off board components (J1 and VR1) are pre-pended with a ‘#’ so won’t be on the PCB. The downside is that neither J1 or VR1 will appear on the BOM. I think/hope a better solution will be addressed in KiCad V6.

Screen Shot 2020-03-13 at 17.33.30
Screen Shot 2020-03-13 at 17.16.52
For more complex wiring looms, you might like to look at QElectrotech.

Yes, of course it can be done. What I meant is to have this incorporated as a feature of Kicad and not done as a sort of workaround. let’s hope for V6.
Cheers

I always use two versions of the circuit diagram - one is complete and the other has connectors only for the off-board components. I find it easier to work that way.

2 Likes