¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Problem editing schematic in an existing project ...


 

I have several projects that I created under Kicad v5.1.10 under Win 7 Pro x64.

I need to go back and change some stuff and while I can add new components and change net labels it will not let me place new wires - it draws the wire but it doesn't highlight pins or let me link a wire to them.

What have I done wrong ??

Regards,
Dave


 

Hi,


On 16/11/2021 17:09, David Slipper wrote:
I have several projects that I created under Kicad v5.1.10 under Win 7 Pro x64.
what version of KiCad are you using to edit those files now?


I need to go back and change some stuff and while I can add new components and change net labels it will not let me place new wires - it draws the wire but it doesn't highlight pins or let me link a wire to them.

What have I done wrong ??
I don't know, my crystal ball is broken. Sorry.

Are you trying to draw new wires in eeschema (the symbolic Schema editor) or in pcbnew (PCB layout tool)?

If the former: that's very weird. I wasn't even aware it highlighted pins?

If the latter: of course! You need to change the schema first and then update the PCB from it before you can add traces to the PCB! The PCB editor does not allow you to place traces willy-nilly that would create short circuits between nets that it is convinced must not meet.



??? Konrad


 

Sorry re highlighting - getting confused with DipTrace ;-)

Using 5.1.10, but upgrading to 5.1.12 made no difference.

Yes editing in schematic editor (as per subject line).

Dave

On 16/11/2021 17:06, Konrad Rosenbaum wrote:
Hi,


On 16/11/2021 17:09, David Slipper wrote:
I have several projects that I created under Kicad v5.1.10 under Win 7
Pro x64.
what version of KiCad are you using to edit those files now?


I need to go back and change some stuff and while I can add new
components and change net labels it will not let me place new wires -
it draws the wire but it doesn't highlight pins or let me link a wire
to them.

What have I done wrong ??
I don't know, my crystal ball is broken. Sorry.

Are you trying to draw new wires in eeschema (the symbolic Schema
editor) or in pcbnew (PCB layout tool)?

If the former: that's very weird. I wasn't even aware it highlighted pins?

If the latter: of course! You need to change the schema first and then
update the PCB from it before you can add traces to the PCB! The PCB
editor does not allow you to place traces willy-nilly that would create
short circuits between nets that it is convinced must not meet.



??? Konrad





 

Hi,

On 16/11/2021 18:58, David Slipper wrote:
Sorry re highlighting - getting confused with DipTrace ;-)

Using 5.1.10, but upgrading to 5.1.12 made no difference.

Yes editing in schematic editor (as per subject line).

Just a stab in the dark: I tried to prevent connecting wires, I found two ways. (On Debian/Linux with 5.1.9 though.)

One: if the Ctrl and Shift keys are pressed while you are working the wires are unable to make connection. This happens to me sometimes if I have my keyboard stuffed away in a corner because I want all the space for the mouse - inevitably something accidentally presses some keys...

Two: if I accidentally press the middle mouse button instead of the left one the program does not register this as a valid click. On some models there are so many buttons that it is easy to click the wrong one or two by accident.

So:

Check your keyboard is okay and you don't accidentally press Ctrl+Shift or some other keys. Do other programs misbehave too? If so your keyboard may need replacing because of faulty keys. Sometimes switching between a host system and a virtual machine makes the VM miss key-press or key-release events and the VM believes some key is still pressed: press all 6 Meta Keys (Ctrl, Shift, Alt) to give it an update on the keyboard state. Connecting to a system via remote desktop can also confuse the heck out of keyboard and mouse events - I regularly scream at my screen because remote systems have the wrong keyboard layout...

Check you are really clicking the left button and your mouse is not making your life more difficult than it needs to be.


Sometimes additional input devices can confuse the system. Like a graphics tablet with its pen lying idly on the surface or an over-sensitive laptop touch pad reacting to your typing on the keyboard. Or some multi-media gadget acting as if it was a crazy keyboard. Talking about multimedia: using the second monitor to watch videos with VLC (or other players) does not help either - they intermittently create a Shift- or Ctrl-Key-Event to prevent the screen from switching off. Sometimes screen grabbers and conference software can have weird effects too.


There is an alternative to ending the wire with a left click: go to where it should end and press the RIGHT button, the context menu offers an "End Wire" option.

Just to make sure: to lay a wire you select the wire (green line without a letter) from the tool bar on the right, then you single click the start position, pull without continuing to click, and single-click the end position. If you want the wire to end in the "air" without a pin you double click.

Also: to connect a wire to a pin you have to point exactly at the little circle at the outer end of the pin, otherwise it does not connect. Enlarge the target symbol before pointing at it. You can use the mouse scroll wheel to change zoom level (as well as Shift-Wheel and Ctrl-Wheel to move about the sheet) while you are dragging a wire without losing the wire. If the little circle at the end of the pin does not disappear then you may have a wire, but no connection.

If you are using a graphics tablet or laptop pad as mouse you have to remember to only tap the pen/pad to start a wire and then tap again for ending it. You don't "paint" the wire like a line in a graphics program.


I hope that helps to narrow it down.



??? Konrad


 

"... point exactly at the little circle at the outer end of the pin"

I suspect that my problem is that I am not accurately hitting the right spot on the end if the pin (at my age your hands develop a mind of their own) - is it possible to increase the size of the target area at all ??

Other programs highlight the pin when you are in the correct position (though not a lot of help with shaky hands). Or even if the circle were to disappear when in the correct spot.

I'm sure I didn't have this much trouble when I created these boards a month ago !

Dave

On 16/11/2021 20:30, Konrad Rosenbaum wrote:
Hi,

On 16/11/2021 18:58, David Slipper wrote:
Sorry re highlighting - getting confused with DipTrace ;-)

Using 5.1.10, but upgrading to 5.1.12 made no difference.

Yes editing in schematic editor (as per subject line).
Just a stab in the dark: I tried to prevent connecting wires, I found
two ways. (On Debian/Linux with 5.1.9 though.)

One: if the Ctrl and Shift keys are pressed while you are working the
wires are unable to make connection. This happens to me sometimes if I
have my keyboard stuffed away in a corner because I want all the space
for the mouse - inevitably something accidentally presses some keys...

Two: if I accidentally press the middle mouse button instead of the left
one the program does not register this as a valid click. On some models
there are so many buttons that it is easy to click the wrong one or two
by accident.

So:

Check your keyboard is okay and you don't accidentally press Ctrl+Shift
or some other keys. Do other programs misbehave too? If so your keyboard
may need replacing because of faulty keys. Sometimes switching between a
host system and a virtual machine makes the VM miss key-press or
key-release events and the VM believes some key is still pressed: press
all 6 Meta Keys (Ctrl, Shift, Alt) to give it an update on the keyboard
state. Connecting to a system via remote desktop can also confuse the
heck out of keyboard and mouse events - I regularly scream at my screen
because remote systems have the wrong keyboard layout...

Check you are really clicking the left button and your mouse is not
making your life more difficult than it needs to be.


Sometimes additional input devices can confuse the system. Like a
graphics tablet with its pen lying idly on the surface or an
over-sensitive laptop touch pad reacting to your typing on the keyboard.
Or some multi-media gadget acting as if it was a crazy keyboard. Talking
about multimedia: using the second monitor to watch videos with VLC (or
other players) does not help either - they intermittently create a
Shift- or Ctrl-Key-Event to prevent the screen from switching off.
Sometimes screen grabbers and conference software can have weird effects
too.


There is an alternative to ending the wire with a left click: go to
where it should end and press the RIGHT button, the context menu offers
an "End Wire" option.

Just to make sure: to lay a wire you select the wire (green line without
a letter) from the tool bar on the right, then you single click the
start position, pull without continuing to click, and single-click the
end position. If you want the wire to end in the "air" without a pin you
double click.

Also: to connect a wire to a pin you have to point exactly at the little
circle at the outer end of the pin, otherwise it does not connect.
Enlarge the target symbol before pointing at it. You can use the mouse
scroll wheel to change zoom level (as well as Shift-Wheel and Ctrl-Wheel
to move about the sheet) while you are dragging a wire without losing
the wire. If the little circle at the end of the pin does not disappear
then you may have a wire, but no connection.

If you are using a graphics tablet or laptop pad as mouse you have to
remember to only tap the pen/pad to start a wire and then tap again for
ending it. You don't "paint" the wire like a line in a graphics program.


I hope that helps to narrow it down.



??? Konrad





 

After a little play with this again I have found that setting the grid size so that it intercepts the pins helps a lot ;-)

I think I understand a bit better now.

Thanks all
Dave

On 16/11/2021 23:10, David Slipper wrote:
"... point exactly at the little circle at the outer end of the pin"

I suspect that my problem is that I am not accurately hitting the right
spot on the end if the pin (at my age your hands develop a mind of their
own) - is it possible to increase the size of the target area at all ??

Other programs highlight the pin when you are in the correct position
(though not a lot of help with shaky hands). Or even if the circle were
to disappear when in the correct spot.

I'm sure I didn't have this much trouble when I created these boards a
month ago !

Dave


On 16/11/2021 20:30, Konrad Rosenbaum wrote:
Hi,

On 16/11/2021 18:58, David Slipper wrote:
Sorry re highlighting - getting confused with DipTrace ;-)

Using 5.1.10, but upgrading to 5.1.12 made no difference.

Yes editing in schematic editor (as per subject line).
Just a stab in the dark: I tried to prevent connecting wires, I found
two ways. (On Debian/Linux with 5.1.9 though.)

One: if the Ctrl and Shift keys are pressed while you are working the
wires are unable to make connection. This happens to me sometimes if I
have my keyboard stuffed away in a corner because I want all the space
for the mouse - inevitably something accidentally presses some keys...

Two: if I accidentally press the middle mouse button instead of the left
one the program does not register this as a valid click. On some models
there are so many buttons that it is easy to click the wrong one or two
by accident.

So:

Check your keyboard is okay and you don't accidentally press Ctrl+Shift
or some other keys. Do other programs misbehave too? If so your keyboard
may need replacing because of faulty keys. Sometimes switching between a
host system and a virtual machine makes the VM miss key-press or
key-release events and the VM believes some key is still pressed: press
all 6 Meta Keys (Ctrl, Shift, Alt) to give it an update on the keyboard
state. Connecting to a system via remote desktop can also confuse the
heck out of keyboard and mouse events - I regularly scream at my screen
because remote systems have the wrong keyboard layout...

Check you are really clicking the left button and your mouse is not
making your life more difficult than it needs to be.


Sometimes additional input devices can confuse the system. Like a
graphics tablet with its pen lying idly on the surface or an
over-sensitive laptop touch pad reacting to your typing on the keyboard.
Or some multi-media gadget acting as if it was a crazy keyboard. Talking
about multimedia: using the second monitor to watch videos with VLC (or
other players) does not help either - they intermittently create a
Shift- or Ctrl-Key-Event to prevent the screen from switching off.
Sometimes screen grabbers and conference software can have weird effects
too.


There is an alternative to ending the wire with a left click: go to
where it should end and press the RIGHT button, the context menu offers
an "End Wire" option.

Just to make sure: to lay a wire you select the wire (green line without
a letter) from the tool bar on the right, then you single click the
start position, pull without continuing to click, and single-click the
end position. If you want the wire to end in the "air" without a pin you
double click.

Also: to connect a wire to a pin you have to point exactly at the little
circle at the outer end of the pin, otherwise it does not connect.
Enlarge the target symbol before pointing at it. You can use the mouse
scroll wheel to change zoom level (as well as Shift-Wheel and Ctrl-Wheel
to move about the sheet) while you are dragging a wire without losing
the wire. If the little circle at the end of the pin does not disappear
then you may have a wire, but no connection.

If you are using a graphics tablet or laptop pad as mouse you have to
remember to only tap the pen/pad to start a wire and then tap again for
ending it. You don't "paint" the wire like a line in a graphics program.


I hope that helps to narrow it down.



??? Konrad







 

On 17/11/2021 00:14, David Slipper wrote:
After a little play with this again I have found that setting the grid size so that it intercepts the pins helps a lot ;-)

I think I understand a bit better now.

Little hint: all Symbols are laid out so that pins are aligned on a grid of 1.27mm (1/20th inch, 50mils), usually even 2.54mm (1/10th inch, 100mils) is sufficient. So you should set your grid to something related in eeschema. The default is 50mils.

The 1/10th inch figure is for historical (hysterical?) reasons. A lot of components also use a related kind of spacing: 2.54mm, 1.27mm or 0.65mm pin spacing. Especially older components (most THT stuff has 2.54mm spacing).

I didn't even think about that possibility because I never change the default grid in eeschema - if you don't have enough space you either want a bigger piece of paper or you want to split things into multiple sheets. But in my (extremely limited) experience there is usually not a really good reason to change the grid.


In pcbnew grid selection gets more complicated, since modern components tend to be 50% imperial, 40% metric, and 10% just weird (0.45mm QFN anyone?). So you want a grid that is fine enough that you can get to any of the pads, even the ones at an unusual angle, and route through them occasionally.



??? Konrad


 

I ran into this problem years ago, and found that the whole schematic had become offset by a very small amount, in both the X and Y directions.? I set the grid to smaller, and smaller sizes, until I was able to lock onto the pins of parts, and wrote down the offsets from the standard 50mil grid.? I then selected the entire schematic, and moved it to correct the offset, correcting the error.

In another instance, somehow different parts became offset, and I did basically the same thing, except I had to measure the offset, and used the "DRAG" function to move each component to the correct to the 50mil grid, which kept the schematic whole.