X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RT+izFia8JGGmloO18zqsFqoQMDBKVKq5ey9R/1OQwA=; b=NqJeST5pT/nzbWey+vxHPuhbgmkvrKAZe+k+W7kgMs0OdqoqZnChu5/c7kuJ/k0zMP zRsffLFXW4fRNrdpqx/OrswHX/e0iV89eKdOQfL/fWvezJm1R4E/JooOl0ug8pY8l/TQ 9jz6wkvJwxI/kZoT4bx2FgE//vE9sy2Q0QXHloD/K1wkg6RXzJGHS9Bhcg5SQjrdioQU 0SbbakOYBect4VHXOFcln2GYLolddPVvLmncSrFJFz41hC34z6X2gO/glxZiPKZenMuS PGOlFEcdAi/1j/paHZQ3aBBeaU3Vn745RX7z/yINDRrcQMHgO16whTEp8+cmXiryzUcJ BlBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=RT+izFia8JGGmloO18zqsFqoQMDBKVKq5ey9R/1OQwA=; b=E5PAKUQiHb1xivpn/Y7Si/oUoiHpnfDZfqiPyZ6GalJjSJtdrsUlX4Um2CNZHkcM21 sEP/lhFC+qe+2rYYH1dGl9vVKXw5chd2VnM7NgwljEv7aoVpYYoUsbfQ83Kcgo9Aa/t5 zeHwlEpuJPWiVjG6GpuXuscGzrWBil3A/g+gx//dTnffPH25EagPAtyWvUOkrb6liDkg ZBtqT3ib0I4X/y5nzfwzJoHTLRF1Bax6BU4U1OOC4yuqoteYmXvDKcCQbSQcVICOq9y+ gpBPMK/D0UTOBif1cUsRwpeRL88uqSr/BpHahzlF38GnjXA6tf2mcUNXaWNn6nSKfACi Z2TQ== X-Gm-Message-State: AA+aEWbU1bDAShlT/LrQ4aYJqKwwDHKXBI31xeNUUYK6zwkIhtlloQmk ErMzvoHBk/VwhvBVS2YtfaBzXEy4DVGHNqpOhbIqcQ== X-Google-Smtp-Source: AFSGD/Uqc+MkDcL1NorDm72Lb6GTupUHjSwH8xyjQCoWGRY7ZmPCW8JDM7iADLqvi6KckIp/6hRCaR42189r/oTSxbs= X-Received: by 2002:a81:650b:: with SMTP id z11mr47857314ywb.441.1546541945728; Thu, 03 Jan 2019 10:59:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Thu, 3 Jan 2019 19:58:53 +0100 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000004e33e0057e925b75" Reply-To: geda-help AT delorie DOT com --0000000000004e33e0057e925b75 Content-Type: text/plain; charset="UTF-8" Hi Chad, OK. I will try again. torben On Thu, Jan 3, 2019 at 3:45 PM Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > Torben- > > The square terminal generally indicates "pin 1" of the device. This is > done so that when you're installing the components, you know the proper > orientation. For some parts this is important, like for the opamps in the > design. For other parts, like the resistors, it doesn't matter, they can go > either way. > > Part of the fun of building a circuit board is figuring out where to place > the components and how to connect them, kind of like a puzzle, but with no > one answer. You can place them however you like. Many people use a strategy > where you try to place the parts such that you minimize the lengths of the > traces connecting those parts. You could also arrange them in a pattern to > resemble a bug, or a star, or anything you find aesthetically pleasing. In > most cases (i.e. not radio frequency or high speed (>10s of MHz) digital > electronics), the exact placement of parts doesn't matter. > > --Chad > > > On Thu, Jan 3, 2019 at 9:32 AM Torben Friis (friistf AT gmail DOT com) [via > geda-help AT delorie DOT com] wrote: > >> Hi Chad, >> Should I place R101, R102 and R103 together? And if I do, should'nt R103 >> have round terminal points at both ends? I assume that the square ones are >> to be connected to the GND. >> I am not an electronics expert. >> torben >> >> On Thu, Jan 3, 2019 at 2:13 PM Chad Parker (parker DOT charles AT gmail DOT com) >> [via geda-help AT delorie DOT com] wrote: >> >>> Torben- >>> >>> Okay, I see what you're referring to. This is a bug in the tutorial. It >>> looks to me like the first set of figures were created with an older >>> version of PCB and the other set with a newer one and a later date. What >>> likely happened is that the same circuit was used, but the schematic was >>> redrawn when the new figures were added, and because the parts would have >>> been arranged differently, the reference designators ended up changing. The >>> underlying circuit appears to be the same, just the names of the parts have >>> been swapped. You can even see that the footprint of R101 is different. >>> >>> Ultimately, the rat lines on your pcb should be consistent with the >>> connections you made in the schematic. So, as long as you connect your >>> parts accordingly, you should be fine. >>> >>> Thanks for pointing this out. We should fix it so that it's consistent. >>> >>> Thanks, >>> --Chad >>> >>> On Wed, Jan 2, 2019 at 5:36 PM Torben Friis (friistf AT gmail DOT com) [via >>> geda-help AT delorie DOT com] wrote: >>> >>>> Hi Chad, >>>> The link is: >>>> >>>> http://wiki.geda-project.org/geda:gsch2pcb_tutorial >>>> best regards >>>> torben >>>> >>>> On Wed, Jan 2, 2019 at 10:55 PM Chad Parker (parker DOT charles AT gmail DOT com) >>>> [via geda-help AT delorie DOT com] wrote: >>>> >>>>> Torben- >>>>> >>>>> Are you still working through the Bill Wilson tutorial? If so, I'm not >>>>> sure what you mean by page 6. Can you please provide a link to the tutorial >>>>> you're referring to? >>>>> >>>>> Thanks, >>>>> --Chad >>>>> >>>>> On Wed, Jan 2, 2019 at 3:44 PM Torben Friis (friistf AT gmail DOT com) [via >>>>> geda-help AT delorie DOT com] wrote: >>>>> >>>>>> Hi Chad, >>>>>> I am confused by the UBUNTU geda tutorial. >>>>>> In the beginning R101, R102 and R103 are placed together. On page 6 >>>>>> R102, R201 and R103 are placed together in the same place and R102 is >>>>>> placed where R201 was before. >>>>>> I have other problems - fx with lines created in PCB - but I would >>>>>> take one example to see if the confusion is my problem. >>>>>> torben >>>>>> >>>>>> On Sat, Dec 29, 2018 at 5:10 PM Torben Friis >>>>>> wrote: >>>>>> >>>>>>> Hi Chad, >>>>>>> I deleted all files except Project, one.sch and two.sch and ran >>>>>>> gsch2pcb once - and it worked. >>>>>>> torben >>>>>>> >>>>>>> On Wed, Dec 26, 2018 at 11:11 PM Chad Parker ( >>>>>>> parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>> >>>>>>>> Hi Torben- >>>>>>>> >>>>>>>> The second time you run gsch2pcb it looks at the differences. The >>>>>>>> first time it may not have picked up all of the elements due to footprint >>>>>>>> name errors. The second time (and all subsequent times) you run it, it >>>>>>>> produces board.*new*.pcb, which contains the new elements, so that >>>>>>>> it doesn't overwrite your original file. To get them into the layout, you >>>>>>>> have to do as it says: open the layout then go to the file menu, select >>>>>>>> "load layout data to paste buffer", and select board.new.pcb. Then you can >>>>>>>> paste them into the layout. >>>>>>>> >>>>>>>> Alternatively, if you haven't done any work on the pcb yet, you can >>>>>>>> delete board.pcb and board.new.pcb and rerun gsch2pcb. >>>>>>>> >>>>>>>> Also, make sure that you execute Select > Disperse All Elements, as >>>>>>>> sometimes the elements will overlap when they're brought into the layout. >>>>>>>> >>>>>>>> Cheers, >>>>>>>> --Chad >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Dec 26, 2018 at 2:44 PM Torben Friis (friistf AT gmail DOT com) >>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> It is rather confusing. When I run gsch2pcb project I get: >>>>>>>>> >>>>>>>>> ---------------------------------- >>>>>>>>> Done processing. Work performed: >>>>>>>>> 5 file elements and 0 m4 elements added to board.new.pcb. >>>>>>>>> >>>>>>>>> Next steps: >>>>>>>>> 1. Run pcb on your file board.pcb. >>>>>>>>> 2. From within PCB, select "File -> Load layout data to paste >>>>>>>>> buffer" >>>>>>>>> and select board.new.pcb to load the new footprints into your >>>>>>>>> existing layout. >>>>>>>>> 3. From within PCB, select "File -> Load netlist file" and select >>>>>>>>> board.net to load the updated netlist. >>>>>>>>> >>>>>>>>> 4. From within PCB, enter >>>>>>>>> >>>>>>>>> :ExecuteFile(board.cmd) >>>>>>>>> >>>>>>>>> to update the pin names of all footprints. >>>>>>>>> >>>>>>>>> First it does not tally with the description given in the tutorial >>>>>>>>> - I am using the one that comes with Ubuntu. >>>>>>>>> >>>>>>>>> Second, when I run pcb board.pcb I get only the transistor and the >>>>>>>>> resistor on the screen with a yellow line leading nowhere. Should'nt I get >>>>>>>>> both one.sch and two.sch? If I folllow the instructions above I add the >>>>>>>>> one.sch to the screen all bundled up. Both one.sch and two.sch appear to be >>>>>>>>> OK. >>>>>>>>> >>>>>>>>> As I say, I am confused. >>>>>>>>> best ergards >>>>>>>>> torben >>>>>>>>> >>>>>>>>> On Wed, Dec 26, 2018 at 3:46 PM Torben Friis >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> It worked. >>>>>>>>>> >>>>>>>>>> On Wed, Dec 26, 2018 at 3:26 PM Chad Parker ( >>>>>>>>>> parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Torben- >>>>>>>>>>> >>>>>>>>>>> Welcome to the community! Please feel free to post any questions >>>>>>>>>>> you may have. >>>>>>>>>>> >>>>>>>>>>> I think the issue is that the CONNECTOR is no longer an m4 >>>>>>>>>>> element, so, it's not generating it the way the tutorial thinks it should. >>>>>>>>>>> >>>>>>>>>>> Looking through the pcb element footprints, there is, however, a >>>>>>>>>>> footprint "CONNECTOR 1 2". I suspect that will serve for your purposes. >>>>>>>>>>> Please try changing "CONNECTOR 2 1" --> "CONNECTOR 1 2" and see if that >>>>>>>>>>> fixes it. >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> --Chad >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Wed, Dec 26, 2018 at 7:00 AM Torben Friis (friistf AT gmail DOT com) >>>>>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> This is my first attempt at using geda-help. >>>>>>>>>>>> >>>>>>>>>>>> When in the Bill Wilson gEDA tutorial I use: >>>>>>>>>>>> >>>>>>>>>>>> gsch2pcb project >>>>>>>>>>>> >>>>>>>>>>>> I get the following message in the log: >>>>>>>>>>>> >>>>>>>>>>>> CONN202: can't find PCB element for footprint CONNECTOR-2-1 >>>>>>>>>>>> (value=unknown). >>>>>>>>>>>> So device CONN202 will not be in the layout. >>>>>>>>>>>> >>>>>>>>>>>> The attributes of the connector are. >>>>>>>>>>>> >>>>>>>>>>>> device: BNC >>>>>>>>>>>> footprint: CONNECTOR 2 1 >>>>>>>>>>>> refdes: CONN202 >>>>>>>>>>>> >>>>>>>>>>>> I think that I have followed the instructions, so what is wrong? >>>>>>>>>>>> best regards >>>>>>>>>>>> torben >>>>>>>>>>>> >>>>>>>>>>> --0000000000004e33e0057e925b75 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Chad,
OK. I = will try again.
torben

Torben-

The square terminal generall= y indicates "pin 1" of the device. This is done so that when you&= #39;re installing the components, you know the proper orientation. For some= parts this is important, like for the opamps in the design. For other part= s, like the resistors, it doesn't matter, they can go either way.

Part of the fun of building a circuit board is figu= ring out where to place the components and how to connect them, kind of lik= e a puzzle, but with no one answer. You can place them however you like. Ma= ny people use a strategy where you try to place the parts such that you min= imize the lengths of the traces connecting those parts. You could also arra= nge them in a pattern to resemble a bug, or a star, or anything you find ae= sthetically pleasing. In most cases (i.e. not radio frequency or high speed= (>10s of MHz) digital electronics), the exact placement of parts doesn&= #39;t matter.

--Chad

<= /div>
On Thu, Jan 3, 2019 at= 9:32 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Hi Chad,
Should I place R101, R102 and = R103 together? And if I do, should'nt R103 have round terminal points a= t both ends? I assume that the square ones are to be connected to the GND.<= /div>
I am not an electronics expert.
torben

Torben-

Okay,= I see what you're referring to. This is a bug in the tutorial. It look= s to me like the first set of figures were created with an older version of= PCB and the other set with a newer one and a later date. What likely happe= ned is that the same circuit was used, but the schematic was redrawn when t= he new figures were added, and because the parts would have been arranged d= ifferently, the reference designators ended up changing. The underlying cir= cuit appears to be the same, just the names of the parts have been swapped.= You can even see that the footprint of R101 is different.

Ultimately, the rat lines on your pcb should be consistent with th= e connections you made in the schematic. So, as long as you connect your pa= rts accordingly, you should be fine.

Thanks fo= r pointing this out. We should fix it so that it's consistent.

Thanks,
--Chad

On Wed, Jan 2, 2019 at 5:36 PM Torben Fri= is (friistf AT gmail DOT co= m) [via geda= -help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Hi Cha= d,
The link is:

<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">http://wiki.geda-project.org/geda:gsch2pcb_tutoria= l
best regards
torben

<= br>
Hi Chad,
I am confused by the UBUNTU geda tut= orial.
In the beginning R101, R102 and R103 are pla= ced together. On page 6=C2=A0 R102, R201 and R103 are placed together in th= e same place and R102 is placed where R201 was before.
I have other problems - fx with lines created in PCB - but I would take= one example to see if the confusion is my problem.
torben

On S= at, Dec 29, 2018 at 5:10 PM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Chad,
I deleted all files except Project, one= .sch and two.sch and ran gsch2pcb once - and it worked.
torben

Hi Torben-

The = second time you run gsch2pcb it looks at the differences. The first time it= may not have picked up all of the elements due to footprint name errors. T= he second time (and all subsequent times) you run it, it produces board.= new.pcb, which contains the new elements, so that it doesn't overwr= ite your original file. To get them into the layout, you have to do as it s= ays: open the layout then go to the file menu, select "load layout dat= a to paste buffer", and select board.new.pcb. Then you can paste them = into the layout.

Alternatively, if you haven&#= 39;t done any work on the pcb yet, you can delete board.pcb and board.new.p= cb and rerun gsch2pcb.

Also, make sure that you ex= ecute Select > Disperse All Elements, as sometimes the elements will ove= rlap when they're brought into the layout.

Cheers,
--Chad


Hi,
It is r= ather confusing. When I run gsch2pcb project I get:

----------------------------------
Done pr= ocessing.=C2=A0 Work performed:
5 file elements and 0 m4 elements added = to board.new.pcb.

Next steps:
1.=C2=A0 Run pcb on your file board= .pcb.
2.=C2=A0 From within PCB, select "File -> Load layout data= to paste buffer"
=C2=A0=C2=A0=C2=A0 and select board.new.pcb to lo= ad the new footprints into your existing layout.
3.=C2=A0 From within PC= B, select "File -> Load netlist file" and select
=C2=A0=C2= =A0=C2=A0 board.net to l= oad the updated netlist.

4.=C2=A0 From within PCB, enter

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :ExecuteFile(boar= d.cmd)

=C2=A0=C2=A0=C2=A0 to update the pin names of all footprints.=

First it does not tal= ly with the description given in the tutorial - I am using the one that com= es with Ubuntu.

Second= , when I run pcb board.pcb I get only the transistor and the resistor on th= e screen with a yellow line leading nowhere. Should'nt I get both one.s= ch and two.sch? If I folllow the instructions above I add the one.sch to th= e screen all bundled up. Both one.sch and two.sch appear to be OK.

As I say, I am confused.
best ergards
torben
<= /div>

On Wed, Dec 26, 2018 at 3:46 PM Torben Friis <friistf AT gmail DOT com> wrote:
It worked.

On Wed, Dec 26, 2018 at 3:26 PM Chad Parker (parker DOT charles AT gmail DOT com) [via= geda-help AT delor= ie.com] <= geda-help AT delorie DOT com> wrote:
Hi Torben-

<= div>Welcome to the community! Please feel free to post any questions you ma= y have.

I think the issue is that the CONNECTO= R is no longer an m4 element, so, it's not generating it the way the tu= torial thinks it should.

Looking through the = pcb element footprints, there is, however, a footprint "CONNECTOR 1 2&= quot;. I suspect that will serve for your purposes. Please try changing &qu= ot;CONNECTOR 2 1" --> "CONNECTOR 1 2" and see if that fix= es it.

Thanks,
--Chad

=




Hi,
This is my first attempt at using geda-help.

When in= the Bill Wilson gEDA tutorial I use:

gsch2pcb project

I get = the following message in the log:

CONN202: can't find PCB elemen= t for footprint CONNECTOR-2-1 (value=3Dunknown).
So device CONN202 will = not be in the layout.

The attributes of the connector are.

de= vice: BNC
footprint: CONNECTOR 2 1
refdes: CONN202

I think tha= t I have followed the instructions, so what is wrong?
best regards
to= rben
--0000000000004e33e0057e925b75--