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=b/nsu09FuDtRlcbO34xnyMQBgdni79i3xW8PGg0t4xU=; b=pcVfAt8HMGb+oQpQc4xAAKRDMQLqmkGAn74L8rma/+DFo/vjcKvUjf0wJ0cLI0bbXz Y1iFILA1tV2F0W2fhYuD7HWxufKRRZIPXqpdQERnaBhvkClK/sZlW9wY93LJCtdtspO5 m+v+MjO3KtLm9eoIXIb8yACCNTzBT96heoNmzSjldkqzUccHoRSWvU5kpLG9DEmLwYcs Qjgtz/KNuHCy2YRbjPcqm+n5k2GkPrbhRy6NGsqyvunOZLhXDQ7G6ZnAY8JO6QH+bGoW EN/8msvOslWipIvabts3K8PvlTG/FtwHnZLcJU94BaQ+vnuz9vCFdsrvZx17k0nnO9xf F6Jw== 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=b/nsu09FuDtRlcbO34xnyMQBgdni79i3xW8PGg0t4xU=; b=AH7kkfPQ3fH5cANS7mtPI4T8pl4wCJzTKlrH8cNoTnTrzbactRtDtIlktNh26Zqpk5 reSywnmDi5Mcj6M9TVohSbd78z/tB4AQxYAfh+K0wtJXGdiLbmsbeKzgBAPHfc2RKOxq HxhrQ/ZBYNVYaC1vmmrlLv5zfmgc9Xk8RWB/N5iirdB0wo4mB6ep2XII/ozyYzLhCG1X GLTCQEuXqcCfvkIivnzchO0decliIEdKcSO2WaWzADo4w2gxTfbVno/b8peXmyd3b399 i4Fb2naoY0iAHyAJcBo5lTYpIIxBDCd3DG1PfgQu7fSUgKBTlRuplm5hkJJlc4K/Bt10 vrBg== X-Gm-Message-State: APjAAAU9naAxlZJpBLq9mWhNhZl6tLQJWE8i1/21kA3maboBhBh+6ZZh VQNnF8KzKufkcbtWX56muqM6Mvpz3/AjhIT+CqU7sA== X-Google-Smtp-Source: APXvYqwJtmcn8vyyZdxUeafQFPnoRkeUIn+ppxLOuigLFuROIHyq7Sxo89AykZaOCam16YPcyAnKUDaMizsrpOSZZvM= X-Received: by 2002:a2e:8602:: with SMTP id a2mr56121824lji.206.1564427461429; Mon, 29 Jul 2019 12:11:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Mon, 29 Jul 2019 21:10:50 +0200 Message-ID: Subject: Re: [geda-help] Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000001d8dae058ed6a7f6" Reply-To: geda-help AT delorie DOT com --0000000000001d8dae058ed6a7f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Erich, The use of libraries is rather confusing. First, there appears to be quite a few to select from if I want to use what is not in the standard library (introduce my own sym/fp pairs). Is it possible to indicate one to use? Second, there appears to be a lot more fp items than sym items. What do I do with fp items without a sym item? After all, it is the sym item I select and I should then get the associated fp item automatically. torben On Thu, Jul 25, 2019 at 10:04 PM Torben Friis wrote: > Hi Erich, > I think that I have established my Linux OS OK and I have executed "sudo > apt-get install geda". > > I have done: > > torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ sudo touch one.sch > torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ sudo chmod 644 one.sch > torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ ls -l > total 0 > -rw-r--r-- 1 root root 0 Jul 25 21:21 one.sch > torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ sudo gschem one.sch > > I get the one.sch - gschem screen as expected, but when I do Add-Componen= t > I get a very tiny symbol in spite of the symbol shown in Preview being > normal size. > > I then proceed to click "View-Zoom Extents" and I get a large symbol whic= h > I reduce in size (Shift-z) to make room for other symbols. When I add oth= er > symbols they are normal size. > > Is that the way to do it? > > If I now do: > torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ ls -l > total 8 > -rw-r--r-- 1 root root 719 Jul 25 21:54 one.sch > -r--r--r-- 1 root root 13 Jul 25 21:43 one.sch~ > > Is that (one.sch~) OK? > > Is there a way to change the size of a single symbol? > > That was a lot of questions! > torben > > On Tue, Jul 23, 2019 at 10:41 PM Torben Friis wrote: > >> Hi Erich, >> I have had to install the newest version of Ubuntu - it has taken some >> time to figure out that it was necessary.. >> torben >> >> On Mon, Jul 22, 2019 at 2:10 PM Erich Heinzle (a1039181 AT gmail DOT com) [via >> geda-help AT delorie DOT com] wrote: >> >>> Two possible errors come to mind. >>> >>> If you look at the templates i linked to previously, you can see how PC= B >>> is told about the element directory, which in your case will be >>> "pcb-elements", by the various ....rc files, and check that yours are s= et >>> up right. >>> >>> You also need to ensure you have the footprint attributes attached to >>> your device symbols in the schematic, as previously described, or PCB w= ill >>> not know which footprints are needed when parsing the netlist >>> >>> Regards, >>> >>> Erich. >>> >>> On Mon, 22 Jul 2019 20:55 Torben Friis (friistf AT gmail DOT com) [via >>> geda-help AT delorie DOT com], wrote: >>> >>>> Hi Erich, >>>> That helped a lot! >>>> I now have: >>>> >>>> ls /home/torben/gaf/gschem-sym >>>> 2_SCREW_CONNECTOR.sym 3_SCREW_CONNECTOR.sym PICAXE-14M.sym >>>> ls /home/torben/gaf/pcb-elements >>>> DIP14.fp mors_2p.fp mors_3p.fp >>>> >>>> For Add-Component I get: >>>> >>>> > >>>> local >>>> > Basic devices >>>> . >>>> . >>>> . >>>> >>>> and when i double-click the empty space at the top, I get: >>>> >>>> 2_SCREW_CONNECTOR.sym >>>> 3_SCREW_CONNECTOR.sym >>>> PICAXE-14M >>>> >>>> Now I am supposed to enter: >>>> >>>> gschem one.sch >>>> >>>> When I do I get error messages about a missing one.sch and the curser >>>> goes to the next line. Actually that is not surprising considering tha= t >>>> that one.sch does not yet exist. >>>> When I then fill in the schema and run >>>> /home/torben/gaf/myproject3/gsch2pcb project I get the error message: >>>> >>>> No elements found, so nothing to do. >>>> >>>> I have saved one.sch so that is another surprise - can you help? >>>> best regards >>>> torben >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Sun, Jul 21, 2019 at 1:14 AM Erich Heinzle (a1039181 AT gmail DOT com) >>>> [via geda-help AT delorie DOT com] wrote: >>>> >>>>> Rather than learning to read the x and y coordinates in >>>>> >>>>> Pin[-20000 0 11810 2000 12610 4920 "0" "_1_" "square"] >>>>> Pin[0 0 11810 2000 12610 4920 "0" "_2_" ""] >>>>> Pin[20000 0 11810 2000 12610 4920 "0" "_3_" ""] >>>>> >>>>> The simplest thing is to open the footprint file in the layout editor >>>>> and use the cursor and or the measure function to determine distances= . >>>>> >>>>> If you want to learn about the format, I recommend >>>>> >>>>> http://www.ssalewski.de/PcbFootprintRef.txt >>>>> >>>>> Regards, >>>>> >>>>> Erich >>>>> >>>>> On Sun, 21 Jul 2019 06:37 Torben Friis (friistf AT gmail DOT com) [via >>>>> geda-help AT delorie DOT com], wrote: >>>>> >>>>>> Hi Erich, >>>>>> Where do I find the hole spacing and the hole size in you fp: >>>>>> >>>>>> Element["" "N MORS 3P " "" "" 0 0 0 -23000 0 100 ""] >>>>>> ( >>>>>> ElementLine[-30000 18000 -30000 14000 1000] >>>>>> ElementLine[-30000 14000 30000 14000 1000] >>>>>> ElementLine[30000 14000 30000 18000 1000] >>>>>> ElementLine[30000 18000 -30000 18000 1000] >>>>>> ElementLine[-30000 -18000 -30000 -15000 1000] >>>>>> ElementLine[-30000 -18000 30000 -18000 1000] >>>>>> ElementLine[30000 -18000 30000 -15000 1000] >>>>>> ElementLine[-30000 15000 -30000 -15000 1000] >>>>>> ElementLine[30000 15000 30000 -15000 1000] >>>>>> Pin[-20000 0 11810 2000 12610 4920 "0" "_1_" "square"] >>>>>> Pin[0 0 11810 2000 12610 4920 "0" "_2_" ""] >>>>>> Pin[20000 0 11810 2000 12610 4920 "0" "_3_" ""] >>>>>> ) >>>>>> >>>>>> best regards >>>>>> >>>>>> torben >>>>>> >>>>>> >>>>>> On Sat, Jul 20, 2019 at 2:25 PM Erich Heinzle (a1039181 AT gmail DOT com) >>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>> >>>>>>> Good work on the file system. >>>>>>> >>>>>>> I usually create a project directory and put my usual/frequently >>>>>>> used footprints in the packages or fp subdirectory, depending on th= e naming >>>>>>> convention in the template being used. >>>>>>> >>>>>>> The main thing is to ensure that the screw terminals you are using >>>>>>> are spaced 0.2 inches apart. The hole and annulus sizes can be easi= ly >>>>>>> modified in the layout editor, but pin spacing is harder to modify = in an >>>>>>> existing footprint. You should always check that footprints you sou= rce from >>>>>>> elsewhere have sane annuli and hole sizes before sending off the bo= ard for >>>>>>> fabrication. >>>>>>> >>>>>>> You are right, any three pin symbol can map to a three pin >>>>>>> footprint, provided that the pin labels on the footprint are sane. >>>>>>> Sometimes imported symbols like the one you mention need to have th= e pin >>>>>>> name changed to "1" instead of "_1_" etc... To make the netlist beh= ave when >>>>>>> imported into the layout editor. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Erich >>>>>>> >>>>>>> On Sat, 20 Jul 2019 19:22 Torben Friis (friistf AT gmail DOT com) [via >>>>>>> geda-help AT delorie DOT com], wrote: >>>>>>> >>>>>>>> Hi Erich Heinzle, >>>>>>>> I solved the immediate problem by changing the file system to:. >>>>>>>> >>>>>>>> >>>>>>>> /home/torben/gaf/gschem-sym >>>>>>>> /home/torben/gaf/pcb-elements >>>>>>>> /home/torben/.gEDA/gafrc >>>>>>>> (cat /home/torben/.gEDA/gafrc >>>>>>>> (component-library-search "/home/torben/gaf/gschem-sym") >>>>>>>> >>>>>>>> but I will setup my system as you have set up yours. >>>>>>>> >>>>>>>> I need to have some screw terminals set up and I found yours: >>>>>>>> >>>>>>>> /user/erich_heinzle/kicad/footprints/w_conn_screw.mod/mors_3p.fp >>>>>>>> >>>>>>>> I could not find the corresponding sym file. Is there one? >>>>>>>> >>>>>>>> I suppose I can use any(!) sym file as long as I set footprint to >>>>>>>> mors_3p.fp in the sym file and enter >>>>>>>> /user/erich_heinzle/kicad/footprints/w_conn_screw.mod/mors_3p.fp i= n the >>>>>>>> /home/torben/gaf/pcb-elements file? >>>>>>>> >>>>>>>> The pins in my screw terminals are =C3=B8 1 mm - is that OK with >>>>>>>> mors_3p.fp (I dont know how to read a fp-file)? >>>>>>>> >>>>>>>> best regards >>>>>>>> torben >>>>>>>> >>>>>>>> On Sat, Jul 20, 2019 at 1:09 AM Erich Heinzle (a1039181 AT gmail DOT com) >>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>> >>>>>>>>> Most users, myself included, set up a template, for a per-project >>>>>>>>> directory, which has the needed gafrc etc files, and subdirectori= es with >>>>>>>>> their local foorprints and symbols. >>>>>>>>> >>>>>>>>> This keeps a given design safe from filesystem changes or changes >>>>>>>>> to elements subsequently. >>>>>>>>> >>>>>>>>> It also means that once set up, it doesn't need to be thought >>>>>>>>> about much. >>>>>>>>> >>>>>>>>> Here are some examples on github which should show you how to aim >>>>>>>>> the layout editor at a partucular directory, i.e. "fp" or "packag= es" in >>>>>>>>> these examples >>>>>>>>> >>>>>>>>> https://github.com/miloh/gEDA-git-template >>>>>>>>> >>>>>>>>> https://github.com/nocko/gEDA-template >>>>>>>>> >>>>>>>>> https://github.com/wojciechk8/geda-sym >>>>>>>>> >>>>>>>>> These examples should show you how it can be done >>>>>>>>> >>>>>>>>> Erich. >>>>>>>>> >>>>>>>>> On Sat, 20 Jul 2019 01:16 Torben Friis (friistf AT gmail DOT com) [via >>>>>>>>> geda-help AT delorie DOT com], wrote: >>>>>>>>> >>>>>>>>>> Hi Erich Heinzie, >>>>>>>>>> I think so. If I may reformulate it to show that I understand: >>>>>>>>>> The PICAXE14M.sym file contains a statement: footprint unknown. >>>>>>>>>> When I enter the symbol on the schematic I add the footprint att= ribute >>>>>>>>>> DIP14. The PCB program then picks it up from tha Symbol file and= find the >>>>>>>>>> DIP14 footprint from /home/gaf/pcb-elements. >>>>>>>>>> >>>>>>>>>> Then the files: >>>>>>>>>> /home/gaf/gschem-sym >>>>>>>>>> (ls /home/gaf/gschem-sym >>>>>>>>>> PICAXE-14M.sym) >>>>>>>>>> >>>>>>>>>> /home/gaf/pcb-elements >>>>>>>>>> (ls /home/gaf/pcb-elements >>>>>>>>>> DIP14.fp) >>>>>>>>>> >>>>>>>>>> /home/.gEDA/gafrc >>>>>>>>>> (cat /home/.gEDA/gafrc >>>>>>>>>> (component-library-search "/home/gaf/gschem-sym") >>>>>>>>>> >>>>>>>>>> should do the job? >>>>>>>>>> >>>>>>>>>> But then, when I have filled in the files, how do I make the >>>>>>>>>> PICAXE14M.sym appear correctly in the add->component list?: >>>>>>>>>> >>>>>>>>>> > Basic devices >>>>>>>>>> > Connectors (generic) >>>>>>>>>> . >>>>>>>>>> . >>>>>>>>>> . >>>>>>>>>> >>>>>>>>>> I want to understand the stuff completely and really appreciate >>>>>>>>>> your help. >>>>>>>>>> best regards >>>>>>>>>> torben >>>>>>>>>> >>>>>>>>>> On Fri, Jul 19, 2019 at 12:41 PM Erich Heinzle ( >>>>>>>>>> a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>>>>> >>>>>>>>>>> In general, gschem is unaware of footprint file names, or the >>>>>>>>>>> details of any other attributes you attach to a symbol from a s= ymbol library >>>>>>>>>>> >>>>>>>>>>> The usual procedure, after adding your symbol to the schematic >>>>>>>>>>> from a library, is to add an "attribute" to the symbol, in this= case a >>>>>>>>>>> "footprint" attribute, equal to "DIP14" >>>>>>>>>>> >>>>>>>>>>> The schematic file will end up with an ectra attribute within >>>>>>>>>>> the picaxe instance, along the libes of >>>>>>>>>>> >>>>>>>>>>> "footprint=3DDIP18" >>>>>>>>>>> >>>>>>>>>>> The PCB layout editor, when you proceed to lay out uour design, >>>>>>>>>>> is the software that has an understanding of footprint attribut= es, and will >>>>>>>>>>> search its library paths for a DIP18 >>>>>>>>>>> >>>>>>>>>>> Does that help? >>>>>>>>>>> >>>>>>>>>>> Erich >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, 19 Jul 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via >>>>>>>>>>> geda-help AT delorie DOT com], wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Erich Heinzie, >>>>>>>>>>>> It should have been: >>>>>>>>>>>> >>>>>>>>>>>> /home/gaf/DIP14.fp >>>>>>>>>>>> >>>>>>>>>>>> and >>>>>>>>>>>> >>>>>>>>>>>> (component-library-search "/home/gaf/gschem-sym") in the /home= /.gEDA/gafrc file >>>>>>>>>>>> >>>>>>>>>>>> I still have the problem of having PICAXE14M not showing up in= the libraries list. >>>>>>>>>>>> >>>>>>>>>>>> When in http://www.gedasymbols.org/ i search for screw termina= l I get a lot of .fp files, but no .sym files. How should they be handled? >>>>>>>>>>>> >>>>>>>>>>>> It is rather confusing. >>>>>>>>>>>> >>>>>>>>>>>> best regards >>>>>>>>>>>> >>>>>>>>>>>> torben >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Jul 18, 2019 at 11:44 AM Torben Friis < >>>>>>>>>>>> friistf AT gmail DOT com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Erich Heinzie, >>>>>>>>>>>>> After following your advice (a long time ago) I have the >>>>>>>>>>>>> following: >>>>>>>>>>>>> >>>>>>>>>>>>> /home/gaf/gschem-sym/PICAXE-14M.sym >>>>>>>>>>>>> /home/gaf/pcb-elements/SIP3.fp >>>>>>>>>>>>> >>>>>>>>>>>>> (component-library-search "../gschem-sym") in the /home/.gEDA= $/gafrc file >>>>>>>>>>>>> >>>>>>>>>>>>> Should not PICAXE-14M show up in Libraries when I click Add->= Component in gEDA schmatic? >>>>>>>>>>>>> >>>>>>>>>>>>> best regards >>>>>>>>>>>>> >>>>>>>>>>>>> torben >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Feb 15, 2019 at 9:19 PM Erich Heinzle ( >>>>>>>>>>>>> a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>>>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE= -14M.sym?dl >>>>>>>>>>>>>> >>>>>>>>>>>>>> The above link will download the raw symbol file as a .sym >>>>>>>>>>>>>> for use in the gschem schematic editor >>>>>>>>>>>>>> >>>>>>>>>>>>>> The DIP14 footprint required in the pcb layout editor will b= e >>>>>>>>>>>>>> a .fp file and the raw file can be downloaded from >>>>>>>>>>>>>> >>>>>>>>>>>>>> http://www.gedasymbols.org/footprints/m4lib/DIP14.fp?dl >>>>>>>>>>>>>> >>>>>>>>>>>>>> You can place the respective files in the same directory as >>>>>>>>>>>>>> your schematic and pcb layout, but most people will use dedi= cated >>>>>>>>>>>>>> directories in their project directory for symbols and for f= ootprints. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Erich >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, 15 Feb 2019 02:34 Torben Friis (friistf AT gmail DOT com) >>>>>>>>>>>>>> [via geda-help AT delorie DOT com] >>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>> I found DIP14: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym >>>>>>>>>>>>>>> http://www.gedasymbols.org/footprints/m4lib.cgi?geda >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> http://www.gedasymbols.org/cvs.html >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> It looks different from your file if I view it.. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Where should I store the file you sent (if it is the file I >>>>>>>>>>>>>>> should store)? >>>>>>>>>>>>>>> torben >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Thu, Feb 14, 2019 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: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICA= XE-14M.sym >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It looks like the package is a 14-pin DIP, so "DIP14" >>>>>>>>>>>>>>>> should work as the footprint. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>>> --Chad >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Thu, Feb 14, 2019 at 9:11 AM Torben Friis ( >>>>>>>>>>>>>>>> friistf AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>>>>>>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi , >>>>>>>>>>>>>>>>> I have been looking fo the above element, but I cannot >>>>>>>>>>>>>>>>> find it. I have been looking for .../newlib and found it = in two places, but >>>>>>>>>>>>>>>>> neither one appeared to provide it. >>>>>>>>>>>>>>>>> Is there anywhere else I can look for it? >>>>>>>>>>>>>>>>> torben >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --0000000000001d8dae058ed6a7f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erich,
The u= se of libraries is rather confusing. First, there appears to be quite a few= to select from if I want to use what is not in the standard library (intro= duce my own sym/fp pairs). Is it possible to indicate one to use? Second, t= here appears to be a lot more fp items than sym items. What do I do with fp= items without a sym item? After all, it is the sym item I select and I sho= uld then get the associated fp item automatically.
= torben

On Thu, Jul 25, 2019 at 10:04 PM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Erich,
I think that I have established my Linux OS OK and I = have executed "sudo apt-get install geda".

I have done:
torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ sudo touch one.sch
t= orben AT torben-Aspire-E5-773G:~/gaf/myproject1$ sudo chmod 644 one.sch
tor= ben AT torben-Aspire-E5-773G:~/gaf/myproject1$ ls -l
total 0
-rw-r--r-- = 1 root root 0 Jul 25 21:21 one.sch
torben AT torben-Aspire-E5-773G:~/gaf/my= project1$ sudo gschem one.sch

I get the one.sch - gschem screen as e= xpected, but when I do Add-Component I get a very tiny symbol =C2=A0in spit= e of the symbol shown in Preview being normal size.

I then proceed t= o click "View-Zoom Extents" and I get a large symbol which I redu= ce in size (Shift-z) to make room for other symbols. When I add other symbo= ls they are normal size.

Is that the way to do it?

If I now d= o:
torben AT torben-Aspire-E5-773G:~/gaf/myproject1$ ls -l
total 8
-r= w-r--r-- 1 root root 719 Jul 25 21:54 one.sch
-r--r--r-- 1 root root =C2= =A013 Jul 25 21:43 one.sch~

Is that (one.sch~) OK?

Is there = a way to change the size of a single symbol?

That was a lot of quest= ions!
torben

On Tue, Jul 23, 2019 at 10:41 PM Torben Friis <friistf AT gmail DOT com>= ; wrote:
Hi Erich,
I have had to install the newest version of Ub= untu - it has taken some time to figure out that it was necessary..<= /div>
torben

<= div class=3D"gmail_quote">
On Mon, Jul= 22, 2019 at 2:10 PM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> = wrote:
Two possible errors come to mind.
If you look at the templates i linked to previousl= y, you can see how PCB is told about the element directory, which in your c= ase will be "pcb-elements", by the various ....rc files, and chec= k that yours are set up right.

You also need to ensure you have the footprint attributes attached t= o your device symbols in the schematic, as previously described, or PCB wil= l not know which footprints are needed when parsing the netlist

Regards,
Erich.

On Mon, 22 Jul 2019 20:55 Torben = Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com], <ged= a-help AT delorie DOT com> wrote:
Hi Erich,
That helped a lot!
I now have:

ls /home/torben/gaf/gsch= em-sym
2_SCREW_CONNECTOR.sym =C2=A03_SCREW_CONNECTOR.sym =C2=A0PICAXE-14= M.sym
ls /home/torben/gaf/pcb-elements
DIP14.fp = =C2=A0mors_2p.fp =C2=A0mors_3p.fp

For Add-Component I get:

>
local
> Basic devices
.
.<= /div>
.

and when i double-click the empty space at the top, I get:

2_SCREW_CONNECTOR.sym
3_SCREW_CONNECTOR.sym
PICAXE-14M

Now I am supposed to enter= :

gschem one.sch
=

When I do I get error messa= ges about a missing one.sch and the curser goes to the next line. Actually = that is not surprising considering that that one.sch does not yet exist.
When I then fill in the schema and run /home/torben/g= af/myproject3/gsch2pcb project I get the error message:

No elements found, so nothing to do.

I have saved one.sch so t= hat is another surprise - can you help?
best regard= s
torben


=












<= br>


=
On Sun, Jul 21, 2019 at 1:14 AM Erich= Heinzle (a1039181 AT gmail DOT com) [via geda-help AT d= elorie.com] <geda-help AT delorie DOT com> wrote:
<= /div>
Rather than learning to read the x and y coordinates in=C2=A0
Pin[-20000 0 11810 2000 12610 4920 "0" "_1=
_" "square"]
Pin[0 0 11810 2000 12610 4920 "0" "_2_" ""]
Pin[20000 0 11810 2000 12610 4920 "0" "_3_" ""=
;]
The simplest thing is to open the footprint file in the layout editor= and use the cursor and or the measure function to determine distances.

If you want to learn about = the format, I recommend



Erich

Hi Erich,
Where do I find the hole spacing and t= he hole size in you fp:

Element["" "N MORS 3P " "" ""=
; 0 0 0 -23000 0 100 ""]
(
ElementLine[-30000 18000 -30000 14000 1000]
ElementLine[-30000 14000 30000 14000 1000]
ElementLine[30000 14000 30000 18000 1000]
ElementLine[30000 18000 -30000 18000 1000]
ElementLine[-30000 -18000 -30000 -15000 1000]
ElementLine[-30000 -18000 30000 -18000 1000]
ElementLine[30000 -18000 30000 -15000 1000]
ElementLine[-30000 15000 -30000 -15000 1000]
ElementLine[30000 15000 30000 -15000 1000]
Pin[-20000 0 11810 2000 12610 4920 "0" "_1_" "squa=
re"]
Pin[0 0 11810 2000 12610 4920 "0" "_2_" ""]
Pin[20000 0 11810 2000 12610 4920 "0" "_3_" ""=
;]
)
best regards
torben

=

Erich

=
Hi Erich Hein= zle,
I solved the immediate problem by changing the file system to:.
=

/home/torben/gaf/gschem-sym
/home/torben/gaf/pcb-elements
/ho= me/torben/.gEDA/gafrc
(cat /home/torben/.gEDA/gafrc
(component-librar= y-search "/home/torben/gaf/gschem-sym")

but I will setup m= y system as you have set up yours.

I need to have some screw termina= ls set up and I found yours:

/user/erich_heinzle/kicad/footprints/w_= conn_screw.mod/mors_3p.fp

I could not find the corresponding sym fil= e. Is there one?

I suppose I can use any(!) sym file as long as I se= t footprint to mors_3p.fp in the sym file and enter /user/erich_heinzle/kic= ad/footprints/w_conn_screw.mod/mors_3p.fp in the /home/torben/gaf/pcb-eleme= nts file?

The pins in my screw terminals are =C3=B8 1 mm - is that O= K with mors_3p.fp (I dont know how to read a fp-file)?

best regards<= br>torben

On Sat, Jul 20, 2019 at 1:09 AM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
=
Most users, myself included, set up a template, for a per= -project directory, which has the needed gafrc etc files, and subdirectorie= s with their local foorprints and symbols.

This keeps a given design safe from filesystem changes o= r changes to elements subsequently.

It also means that once set up, it doesn't need to be thoug= ht about much.

Here are = some examples on github which should show you how to aim the layout editor = at a partucular directory, i.e. "fp" or "packages" in t= hese examples




These examples should show you how it can be done

Erich.

On Sat, 20 Jul 2019 = 01:16 Torben Friis (friistf AT gmai= l.com) [via geda-help AT de= lorie.com], <geda-hel= p AT delorie DOT com> wrote:
Hi Erich Heinzie,
I think so. If I may reformul= ate it to show that I understand:
The PICAXE14M.sym file contains a stat= ement: footprint unknown. When I enter the symbol on the schematic I add th= e footprint attribute DIP14. The PCB program then picks it up from tha Symb= ol file and find the DIP14 footprint from /home/gaf/pcb-elements.

Th= en the files:
/home/gaf/gschem-sym
(ls /home/gaf/gschem-sym
PICAXE= -14M.sym)

/home/gaf/pcb-elements
(ls /home/gaf/pcb-elements
DI= P14.fp)

/home/.gEDA/gafrc
(cat /home/.gEDA/gafrc
(component-li= brary-search "/home/gaf/gschem-sym")

should do the job?
But then, when I have filled in the files, how do I make the PICAXE14M= .sym appear correctly in the add->component list?:

> Basic dev= ices
> Connectors (generic)
.
.
.

I want to understan= d the stuff completely and really appreciate your help.
best regards
= torben

On Fri, Jul 19, 2019 at 12:41 PM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help= @delorie.com> wrote:
In general, gschem is unaware of footprint fi= le names, or the details of any other attributes you attach to a symbol fro= m a symbol library

The usual p= rocedure, after adding your symbol to the schematic from a library, is to a= dd an "attribute" to the symbol, in this case a "footprint&q= uot; attribute, equal to "DIP14"

The schematic file will end up with an ectra attribute w= ithin the picaxe instance, along the libes of

"footprint=3DDIP18"
=
The PCB layout editor, when you proceed to lay = out uour design, is the software that has an understanding of footprint att= ributes, and will search its library paths for a DIP18=C2=A0

Does that=C2=A0help?

Erich

<= div dir=3D"auto">

On Fri, 19 Jul 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via = geda-help AT delorie= .com], <ge= da-help AT delorie DOT com> wrote:
Hi Erich Heinzie,
It should have been:
=

<= /div>
= /home/gaf/DIP14.fp

and
(component-library-search "/home/gaf/gschem-sym") in the /hom=
e/.gEDA/gafrc file

I still have the problem of having PICAXE14M not showing up in the libr=
aries list.

Whe=
n in ht=
tp://www.gedasymbols.org/ i search for screw terminal I get a lot of .f=
p files, but no .sym files. How should they be handled?
It is rather confusing.
best regards
torben



On Thu, Jul 18, 2019 at 11:44 = AM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Erich Heinzie,
After following= your advice (a long time ago) I have the following:

/home/gaf/gsche= m-sym/PICAXE-14M.sym
/home/gaf/pcb-elements/SIP3.fp
(component-library-search "../gschem-sym"=
) in the /home/.gEDA$/gafrc file

Should not PICAXE-14M show up in Libraries when I click A=
dd->Component in gEDA schmatic?
best regards
torben

On Fri, Feb 15, 2019 at 9:19 PM Erich Heinz= le (a1039= 181 AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wr= ote:
http://www.gedasymbols.org= /user/erich_heinzle/symbols/PICAXE-14M.sym?dl

The above link will download the raw symbol file as a .= sym for use in the gschem schematic editor

The DIP14 footprint required in the pcb layout editor wi= ll be a .fp file and the raw file can be downloaded from


You can place the respective files in the same directory= as your schematic and pcb layout, but most people will use dedicated direc= tories in their project directory for symbols and for footprints.

Regards,
<= br>
Erich


On Fri, 15 Feb 2019 02:34 Torben Friis (friistf AT gmail DOT com) [via geda-hel= p AT delorie DOT com] <geda-help AT delorie DOT com wrote:
Hi,
I found = DIP14:

torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym
http://www.gedasymbols.org/footprints/m4lib.cgi?g= eda=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <here

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

It looks different fro= m your file if I view it..

Where should I store the file you sent (if = it is the file I should store)?
torben

On Thu, Feb 14, 2019= at 3:26 PM Chad Parker (parker DOT charles AT gmail DOT com) [via ge= da-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
<= div dir=3D"ltr">

It looks like the package i= s a 14-pin DIP, so "DIP14" should work as the footprint.

Cheers,
--Chad


On Thu, Feb 14, 2019 at 9:11 AM Torben Friis (friistf AT g= mail.com) [via geda-help AT delorie DOT com] <geda-help AT delor= ie.com> wrote:
Hi ,
I have been looking fo the above element, but I cann= ot find it. I have been looking for .../newlib and found it in two places, = but neither one appeared to provide it.
Is there anywhere else I can look f= or it?
torben
--0000000000001d8dae058ed6a7f6--