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=AWhqilNHzM/r52NHU+NwpPeZ4LE1fu3Zpj0lewEJV0I=; b=I3cCtpPVWhcvPAelEgGM4aAknNQDj6MtGvN2md7s3IfPEX41dEtEM2h7FDXq9k2WeC Jf4OXtIPf7Fv/AA+s/PHfFyVoJkFohkZE58uMZvwgF46drjVjIYfwC7kiVcuHub3SBIt muuoo6y1OkAN0poy4LhOkenXXOsmTtmbOfJBRvbmWNo1Kk+Wisd4s5n35agVhywjiJGy 3YLLXWFFQp6W8k76HG94VZbovfPmDf2c1nGvj6ui7mY8P4IbeQn0JPCdPJRfPKVUQWYZ yUqd3RBlsptQqBPBnyrMJ1sl7I5AdG+hdDVvWXJfxsy0w+E6WU6B9swrsdbg/EnoDwNR KJyA== 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=AWhqilNHzM/r52NHU+NwpPeZ4LE1fu3Zpj0lewEJV0I=; b=mczaO55KqksOxjdnbEmphPAA5i8kKPX+sh6NOxZUHJW/XJwgQ/87FUkM6chNIIgz0P TwwwY3xqu+xUIwnrl2IXIhCYjAk5zvUVHNWvq9Orrwc6xtCIvBNOjrxiFWZXo3m/2QjQ sYkS4K+VTMJE2iGCJPD/4lJqGMRWkPcQQxVRNFG5jIqn7tp/8PBvR7aDoUR+/grAhc6R spVk3Q1cOOlUyeYNkhIgJJuLTUQMwpzjKIIF8LDZkJ7OoPyWBy4fvedvLihkzPC50uod EkgmsSMc/ikYMfgGV3EbUdx8gBhYWHj25/B/E2TosX6gISBjrA7HmQgg3cMJfqRXZB2Q 5Uqg== X-Gm-Message-State: AJcUukcG3UKiQ9SXIZlgCM/XP9VdGvTXvlK7LbsgRV+AbYGu+O/aoDeu L+AIOKpoOqdwDNcyd/+Qr/tcd/8e+uCTluLo+SdtGg== X-Google-Smtp-Source: ALg8bN62+4LhyhKOU6EHaU8AstGEG/rQQfP4alyzyR69CISZ6xlKFHTDWZC8ieDVzUfOjGTZ57jnBf2Q9b9jZxRL8/g= X-Received: by 2002:a63:4f5e:: with SMTP id p30mr17268844pgl.71.1546526439965; Thu, 03 Jan 2019 06:40:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Thu, 3 Jan 2019 09:40:28 -0500 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000170b88057e8ebfe4" Reply-To: geda-help AT delorie DOT com --000000000000170b88057e8ebfe4 Content-Type: text/plain; charset="UTF-8" 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 >>>>>>>>>>> >>>>>>>>>> --000000000000170b88057e8ebfe4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Torben-

The square terminal = generally indicates "pin 1" of the device. This is done so that w= hen you're installing the components, you know the proper orientation. = For some parts this is important, like for the opamps in the design. For ot= her parts, like the resistors, it doesn't matter, they can go either wa= y.

Part of the fun of building a circuit board= is figuring out where to place the components and how to connect them, kin= d 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 a= lso 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 hi= gh speed (>10s of MHz) digital electronics), the exact placement of part= s doesn't matter.

--Chad

On Thu, Jan 3,= 2019 at 9:32 AM Torben Friis (friistf= @gmail.com) [via geda-help AT del= orie.com] <geda-help AT delori= e.com> wrote:
Hi Chad,
S= hould 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 electronic= s expert.
torben

On Thu, Jan 3, 2019 at 2:13 PM Chad Parke= r (parker.cha= rles AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Torben-<= /div>

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 cr= eated 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 th= e schematic was redrawn when the new figures were added, and because the pa= rts would have been arranged differently, the reference designators ended u= p changing. The underlying circuit appears to be the same, just the names o= f the parts have been swapped. You can even see that the footprint of R101 = is different.

Ultimately, the rat lines on your pc= b 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] <geda-help AT delorie DOT com> wrot= e:
Hi Chad,
The link is:
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">
best regards
torben

=
Torben-

Are you still working through the Bill Wilson tutorial? If so, I&#= 39;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] <geda-help AT delorie DOT com= > wrote:
=
Hi Chad,
I am c= onfused by the UBUNTU geda tutorial.
In the beginni= ng R101, R102 and R103 are placed together. On page 6=C2=A0 R102, R201 and = R103 are placed together in the same place and R102 is placed where R201 wa= s before.
I have other problems - fx with lines cre= ated in PCB - but I would take one example to see if the confusion is my pr= oblem.
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 d= ue 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 de= lete board.pcb and board.new.pcb and rerun gsch2pcb.

Also, make sure that you execute Select > Disperse All Elements, as s= ometimes the elements will overlap when they're brought into the layout= .

Cheers,
--Chad

<= /div>

On Wed, Dec 26, = 2018 at 2:44 PM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:=
Hi,=
It is rather confusing. When I run gsch2pcb projec= t I get:

-------------= ---------------------
Done processing.=C2=A0 Work performed:
5 file e= lements 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 load the new footprints into your existing = layout.
3.=C2=A0 From within PCB, select "File -> Load netlist f= ile" and select
=C2=A0=C2=A0=C2=A0 board.net to load 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(board.cmd)

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

First it does not tally with the description given in the tut= orial - I am using the one that comes with Ubuntu.
=
Second, when I run pcb board.pcb I get only th= e transistor and the resistor on the screen with a yellow line leading nowh= ere. Should'nt I get both one.sch and two.sch? If I folllow the instruc= tions above I add the one.sch to the screen all bundled up. Both one.sch an= d two.sch appear to be OK.

As I say, I am confused.
best ergards
torben

On Wed, Dec 26, 2018 at 3:46 PM Torb= en Friis <friistf= @gmail.com> wrote:
It worked.
<= br>
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:<= br>
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&= #39;s not generating it the way the tutorial thinks it should.

Looking through the pcb element footprints, there is, how= ever, a footprint "CONNECTOR 1 2". I suspect that will serve for = your purposes. Please try changing "CONNECTOR 2 1" --> "C= ONNECTOR 1 2" and see if that fixes it.

Thank= s,
--Chad



<= div>

On Wed,= Dec 26, 2018 at 7:00 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com>= wrote:
Hi,
This is my first attemp= t 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=3D= unknown).
So device CONN202 will not be in the layout.

The attrib= utes of the connector are.

device: BNC
footprint: CONNECTOR 2 1refdes: CONN202

I think that I have followed the instructions, so = what is wrong?
best regards
torben
--000000000000170b88057e8ebfe4--