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=m9hjibblCqMPvf495fngKqrTGJ6JayBd3+02tGcKbnA=; b=SYAIOpsy5YBihdeDEiCG39jacv7cDy9mdKb5gAR6FlvsQlf9LmoYdpiCpXik/gJw9G gqkzSM8CUFbvOClXxqmKGDcNO0ilvJirkmY5vpC1LGZHDzktR449FUYdjQBVQDf9Uqx+ eU3VTk2hRN+cMcTtsdSsqj4wZRbrkxKUkLTPHvYRME4GX+TcFzeCyaAkcdRceHSbmsQT hAW6X9gix+Durd9Hf6et+CX7JNx0TDhzFkyzJHVl+2BvhNXpJLqkBfr264IFtjpEyoPK 2efz2kIyfKk1ZiqOjwTz7dIGdGQybAwXh/hoYaf2dtT/Q1mrw2nk1oP1TpzNV/LW/DkQ Zeug== 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=m9hjibblCqMPvf495fngKqrTGJ6JayBd3+02tGcKbnA=; b=sXqCQP51VNHqOmj7oIhB3EPAdccyNuVTa0HI9LMw4wEjjI7BCCudL+8uXi+Th01bIs gHYrpD63l6tlGzJLM1u+UkzIz/1+XTqdWQ7vVK4/2i+LA+QM2LdfsK1fIBnIjyQMiE1f hN1VPhUgUeMy9qtePQj24JNvODPf8bX4Ga61cIrdQY3YcIUz44RC5JUFMiozkfgyj+2G Bz5KrrpplJQirsx/mKezICVHjKZq74i4W4u3jqnNZ5gbc7AK3QgZUigmlWERaFsf15aT w3emhxaEYFzYwT2rKRk7/t/zes3FCsobric3qpU7ZvH+NMEUOXe/9fDLgFj4ttEKPuhZ Rrlw== X-Gm-Message-State: AJcUukevLNIAqRvEboHbpp6itnZr2AlsoXzzbHTmP/g4HRs5LcusBiMT lU6USoWA6HB61o5UTZSyCutPQ6OZhDl9e7fUZT3xewO9 X-Google-Smtp-Source: ALg8bN5BBbrSECcx76Mqz4JvA2nRDJMHoOIKQhTihvVnPpdYCRcNMMXl5/+v1M8fap1hVqzUqVv59/WMbyjzy8gCZRc= X-Received: by 2002:a25:2612:: with SMTP id m18mr5627820ybm.246.1547037797603; Wed, 09 Jan 2019 04:43:17 -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: Wed, 9 Jan 2019 13:43:05 +0100 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000615d22057f05ce08" Reply-To: geda-help AT delorie DOT com --000000000000615d22057f05ce08 Content-Type: text/plain; charset="UTF-8" Hi Chad, In gschem I only have "library" to chose symbols from. I wanted more - fx. newlib. How do I get it? I have used the instructions in: http://www.gedasymbols.org/cvs.html to place the following: torben AT torben-Aspire-E5-773G: ls /home/geda CVS CVSROOT scripts www where /home/geda was an empty directory. torben AT torben-Aspire-E5-773G:/home/geda/scripts$ ls 2pad.cgi dilpad.cgi footprint.pcb reindex cgi-lib.pl eps2png global_list.cgi search.cgi csv.cgi footprint.cgi make-fp-library symbol.cgi CVS footprint.html math.pl symbol.html Can I get from this to a more comprehensive list of symbols in gschem? I am stuck. best regards torben On Thu, Jan 3, 2019 at 7:58 PM Torben Friis wrote: > 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 >>>>>>>>>>>>> >>>>>>>>>>>> --000000000000615d22057f05ce08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Chad,
In gschem = I only have "library" to chose symbols from. I wanted more - fx. = newlib. How do I get it?

I have used the instructions in:

http://www.gedasymbols.org/cvs= .html

to place the following:

torben AT torben-Aspire-E5-773= G: ls /home/geda
CVS=C2=A0 CVSROOT=C2=A0 scripts=C2=A0 www

where = /home/geda was an empty directory.

torben AT torben-Aspire-E5-773G:/hom= e/geda/scripts$ ls
2pad.cgi=C2=A0=C2=A0=C2=A0 dilpad.cgi=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 footprint.pcb=C2=A0=C2=A0=C2=A0 reindex
cgi-lib.pl=C2=A0 eps2png=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 global_list.cgi=C2=A0 search.cgi
csv.cgi=C2=A0=C2=A0=C2= =A0=C2=A0 footprint.cgi=C2=A0=C2=A0 make-fp-library=C2=A0 symbol.cgi
CVS= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 footprint.html=C2=A0 math.pl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 symbol.html

Can I get from this to a more comprehensive= list of symbols in gschem? I am stuck.
best regards
torben


On Thu, Jan= 3, 2019 at 7:58 PM Torben Friis <f= riistf AT gmail DOT com> wrote:
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] <geda-help AT delorie DOT com> wrot= e:
Torben-

The square terminal generally ind= icates "pin 1" of the device. This is done so that when you'r= e installing the components, you know the proper orientation. For some part= s this is important, like for the opamps in the design. For other parts, li= ke the resistors, it doesn't matter, they can go either way.
<= div>
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 p= uzzle, but with no one answer. You can place them however you like. Many pe= ople 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 t= hem in a pattern to resemble a bug, or a star, or anything you find aesthet= ically 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 (fr= iistf 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 R10= 3 together? And if I do, should'nt R103 have round terminal points at b= oth ends? I assume that the square ones are to be connected to the GND.
I am not an electronics expert.
torben

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 P= CB and the other set with a newer one and a later date. What likely happene= d 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 dif= ferently, the reference designators ended up changing. The underlying circu= it appears to be the same, just the names of the parts have been swapped. Y= ou 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 part= s accordingly, you should be fine.

Thanks for = pointing this out. We should fix it so that it's consistent.
<= div>
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
--000000000000615d22057f05ce08--