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=pOPWLS4hslm7BJerql7qHAkgW+lPAY0JoBsBK4mtN+c=; b=CnMF4PHYPG508/1jPokYHiqoaJ8TNh9VkQUEa3R7atbO0B+Nxzj9xzX4XyBog9SNKE VEYbEdaRoAxFo/K1IRo5WbkjEEU7p3WzpqKzJq34leFu7nE0zUtuznbksMOkYzctwvF8 2ZDDM+XB2ufJ3/tdO51rp4qjo3b6Z+Fl6kwdD2hdxDzYeArb4aZecEG9su6VKMGzGQl/ Ga9UO/dUslA3XH5+HlGJ+W+n3fpI69+9DPnTLw5G2gGZx6+eIbGEx93/doIuuhVmnld/ KQNXEdING0CHoWAJ06XqPF2HRb5I4b9Vn2QYeeZC+ZnhZWadTwBknIFnV6ZtvXo8s38T eo+g== 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=pOPWLS4hslm7BJerql7qHAkgW+lPAY0JoBsBK4mtN+c=; b=UPsm8ON+QazS7cG/Zfu2G5DXqvVDSNvDAXBJUJKmhl6PyvlWqZreh0DnX8wMnaAAwx PFzI4P5ZI9TB5OVVo9OSCknwImwkeLvssnu/cCvsoceWA2P5U7VKELvWIXAmODo4p4na wUf/CmpTsXssouCQhEPfrkZrcSBlQ4yPwEHgEl5AP8wJzunqDlY9iLbD3wp999ZshB0W S4AB4PAhRtkBQszNd+k0LgsjNJWCgMZ2aG8dVfZ3jjZ5BIUZQGqNHJg8T8GtUPXa4RXT YIKmHlxXfd8XHAXRwCr35nG/P0I84JnnIsgA6BkbKHfkrdPHNsLNKdpNMt9cEJePR/+x OjFg== X-Gm-Message-State: APjAAAVb7gCHZ+Nzxr3xVgfaFeiWUi3EEY8ETOQd0/4cq9tUFZZTNVeA u8Jf0zp2gFtthxViZ0DeXUdrOUbxpzDlnEv4NE0jvw== X-Google-Smtp-Source: APXvYqwlCmGk2UvSEZD6YuqsizWfrlpfMRYYq0WAWo38F5r/sLTxNIPtVOE2avTpI6DGE7uyIurvZOTCFKGllZhjl+w= X-Received: by 2002:a19:5f46:: with SMTP id a6mr28328308lfj.142.1563655385031; Sat, 20 Jul 2019 13:43:05 -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: Sat, 20 Jul 2019 22:42:53 +0200 Message-ID: Subject: Re: [geda-help] Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000c6a631058e22e340" Reply-To: geda-help AT delorie DOT com --000000000000c6a631058e22e340 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 the 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 easily modifie= d > in the layout editor, but pin spacing is harder to modify in an existing > footprint. You should always check that footprints you source from > elsewhere have sane annuli and hole sizes before sending off the board fo= r > 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 importe= d > symbols like the one you mention need to have the pin name changed to "1" > instead of "_1_" etc... To make the netlist behave 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 in 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 subdirectories wit= h >>> 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 muc= h. >>> >>> 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 the= se >>> 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 attribute 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] wrote: >>>> >>>>> In general, gschem is unaware of footprint file names, or the details >>>>> of any other attributes you attach to a symbol from a symbol 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 "foot= print" >>>>> 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 th= e >>>>> software that has an understanding of footprint attributes, 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 l= ibraries list. >>>>>> >>>>>> When in http://www.gedasymbols.org/ i search for screw terminal I ge= t 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 >>>>>> 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$/gafr= c file >>>>>>> >>>>>>> Should not PICAXE-14M show up in Libraries when I click Add->Compon= ent 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] wrote: >>>>>>> >>>>>>>> >>>>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.s= ym?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 be a .f= p >>>>>>>> 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 dedicated direc= tories in >>>>>>>> their project directory for symbols and for footprints. >>>>>>>> >>>>>>>> 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 shoul= d >>>>>>>>> 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/PICAXE-14M= .sym >>>>>>>>>> >>>>>>>>>> It looks like the package is a 14-pin DIP, so "DIP14" should wor= k >>>>>>>>>> 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] 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 >>>>>>>>>>> >>>>>>>>>> --000000000000c6a631058e22e340 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erich,
Where do I find the hole spacing and the hole size in you fp:

Element["&quo=
t; "N MORS 3P " "" "" 0 0 0 -23000 0 100 &quo=
t;"]
(
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

=
On Sat, Ju= l 20, 2019 at 2:25 PM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] <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= the naming convention in the template being used.
<= br>
The main thing is to ensure that the=C2=A0 screw= terminals you are using are spaced 0.2 inches apart. The hole and annulus = sizes can be easily modified in the layout editor, but pin spacing is harde= r to modify in an existing footprint. You should always check that footprin= ts you source from elsewhere have sane annuli and hole sizes before sending= off the board for fabrication.

You are right, any three pin symbol can map to a three pin footpr= int, provided that the pin labels on the footprint are sane. Sometimes impo= rted symbols like the one you mention need to have the pin name changed to = "1" instead of "_1_" etc... To make the netlist behave = when imported into the layout editor.

Regards,

Erich

On Sat, 20 Jul 2019 19:22 T= orben Friis (friistf= @gmail.com) [via geda-help AT delorie DOT com], <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/torbe= n/.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 u= p and I found yours:

/user/erich_heinzle/kicad/footprints/w_conn_scr= ew.mod/mors_3p.fp

I could not find the corresponding sym file. Is th= ere one?

I suppose I can use any(!) sym file as long as I set footpr= int to mors_3p.fp in the sym file and enter /user/erich_heinzle/kicad/footp= rints/w_conn_screw.mod/mors_3p.fp in the /home/torben/gaf/pcb-elements file= ?

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

best regards
torbe= n

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 sub= directories 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 t= o be thought about much.

Here are some examples on github which should show you how to aim the layo= ut editor at a partucular directory, i.e. "fp" or "packages&= quot; in these examples




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 g= eda-help AT delorie DOT com], <geda-help AT delorie DOT com> wrote:
<= /div>
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 attribute DIP14. The = PCB program then picks it up from tha Symbol file and find the DIP14 footpr= int from /home/gaf/pcb-elements.

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

/home/gaf/pcb-el= ements
(ls /home/gaf/pcb-elements
DIP14.fp)

/home/.gEDA/gafrc<= br>(cat /home/.gEDA/gafrc
(component-library-search "/home/gaf/gsch= em-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


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.gedasymb=
ols.org/ i search for screw terminal I get a lot of .fp files, but no .=
sym files. How should they be handled?
It is rather confusing.=

best regards
torben


<= /div>

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-1= 4M.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@= gmail.com) [via geda-help AT delorie DOT com] <= ;geda-help AT delorie DOT com> wrote:
http://www.g= edasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.sym?dl

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

The DIP14 footprint required in the pcb la= yout editor will be a .fp file and the raw file can be downloaded from


You can pla= ce the respective files in the same directory as your schematic and pcb lay= out, but most people will use dedicated directories in their project direct= ory for symbols and for footprints.

Regards,

Eri= ch


On Fri, 15 Feb = 2019 02:34 Torben Friis (friistf AT gmail DOT com) [via <= a href=3D"mailto:geda-help AT delorie DOT com" rel=3D"noreferrer noreferrer norefe= rrer" target=3D"_blank">geda-help AT delorie DOT com] <geda-help AT delorie DOT com wrote:
Hi,
I found DIP14:
=

<= /div>
= torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym
http://www.gedasymbols.org/foo= tprints/m4lib.cgi?geda=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 &l= t;here

http://www.gedasym= bols.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 st= ore)?
torben

On Thu, Feb 14, 2019 at 3:26 PM Chad Parker (= parker DOT charles AT gmail DOT com) [via <= a href=3D"mailto:geda-help AT delorie DOT com" rel=3D"noreferrer noreferrer norefe= rrer noreferrer" target=3D"_blank">geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
=


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 <= a href=3D"mailto:geda-help AT delorie DOT com" rel=3D"noreferrer noreferrer norefe= rrer noreferrer" target=3D"_blank">geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
=
Hi ,
I have b= een 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 pro= vide it.
Is there anywhere else I can look for it?
torben
--000000000000c6a631058e22e340--