I use a voltage regulator LM7812 with my power supply. If I connect the +12V and the PWR_FLAG to the output of the LM7812 then I get the „Error: Pins of type Output and Power output are connected“. If I remove the PWR_FLAG then I get the message that the power input in the schematics is not connected to anything.
One work around this problem is to place a 1 Ohm resistor (R2) between the LM7812 and the PWR_FLAG. In this case the error message goes away, because the LM7812 output is not directly connected to the PWR_FLAG.
Is there some other way to omit this error message, because actually I don‘t need this additional 1 Ohm resistor (R2) in my schematics?
Gawd! I hare that damn PWR_FLAG requirement in Kicad I’ve never under properly understood stood why its needed.
Anyway, what I do is set up the PWR_xxxx flags off to the side of the schematic. So up in the corner I set up PWR_FLAG & PWR_GND to their own designator - VCC, +5V, GND whatever.
This seems to work for me - I do it automatically now
Hope this helps
I downloaded the LM7812 symbol from snapeda.com. The INPUT was set to Input, GND to Power input and OUTPUT to output. I changed the OUTPUT to Power output and I could remove the resistor and the PWR_FLAG, without an error.
There is also a LM7812 in the standard Regulator_Linear library, but here I need a PWR_FLAG on the input side and on GND, in order to get it to work.
The PWR-Flagitis of KiCad can be pretty confusing at times.