delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2019/03/06/07:09:20

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=Ce4U0l/P/vvVeJy3uuH9oHnncHkt1TFUBkOzeV8JS1s=;
b=rmmWr+uiK7yG2rWXPkX8bKBv7GLkkS0X8etJm8+yHfUICO9raAS+zqCx0AemMEn2VW
SkweRKyCgLLJgmU1rneCG7FXR9hPVLl811ObtTX7zt4tFp9qoBmQ8lIDlVU8hyVaUZKh
K3VT4sQtxI0CqIYrEi4M0+YTlgLHwbDLSubh6+yDG+Eiip3an6nLcXVfUZJWRoMwbbjU
JxHNqFMHddOWGUL+QTAi3/y8GfIA8eDTKGlem7qzPc6Mn+T0tMAX56c5GRLRds5ZCapb
4vCaR6uoDw6mqvehTBvOqg9bHd2k6BJ3rHwGPk9RxpAoTwUBaI3uPUP5KraoYZ58qo8+
Umtg==
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=Ce4U0l/P/vvVeJy3uuH9oHnncHkt1TFUBkOzeV8JS1s=;
b=MSUl3xDJdx2WimOOooa1W277fsIsTPlZZYVq+AgXiUPk8AHPjZC2L558OeLWtVRx/A
k4Ze0qc7YMX4OMAVmyHqjkDRjThI5aveRouUZP1Rx8u4MNJwmuee3TWkBwYlHH6mzHyV
lcY+9r+7+akQRZgpX5AU2SbmW8O7kR+wfaCDmwGrNFQ9RYB+wWRcgr0ulDvs3zQKXoCl
/rGqTS6MJ4v5hEPQ6BLcNFFLrfgZ7DXISunJS/mFHAwVM7gRI0Z5O/o4mMfswnStzwnt
+TMvYr4zL+j4XaCyqDWzYAwO0Ooe/g/qF/cQHOApmYqnD4x3D1aiMuEgSbv9wJ9hjZOR
pfig==
X-Gm-Message-State: APjAAAU5COzCVdTk5xLquwhEKBKPfEXcwGgubXr2ziT4ZVrea5/fJPEB
y9fD2r2FHY5F6ZS7z7ah0216SnsCmArWTs2ZCCj/dJTG
X-Google-Smtp-Source: APXvYqyGfkfWiM4Dvdmzb0aYyy1QWMEIwVSlYYcQYPBEDUOskN9R6rN5EDlwCSHkYhzjjjG8GKcx4aq2pA8huXAvkg0=
X-Received: by 2002:a81:9a8d:: with SMTP id r135mr4872164ywg.188.1551874132459;
Wed, 06 Mar 2019 04:08:52 -0800 (PST)
MIME-Version: 1.0
References: <CAJZxidC+HAZWw4TO2qp9-gVOojGbL=V+otOgmZ_Ep4d7tJTSVA AT mail DOT gmail DOT com>
<CAMw9acD4TUmGPArTREAN+fZpfbAS+DZDC2Rr99_BsJT--3BTZQ AT mail DOT gmail DOT com>
<CAHUm0tMcrZoQOSuvZT7-E-DLqS2434xDh29q8NRim=O4bxMzzA AT mail DOT gmail DOT com>
<CAMw9acCR7UbzzugNSnWhKtvHQqzgF_XLyLcagJpoK8Oi7aeEzw AT mail DOT gmail DOT com>
<CAHUm0tMy4eP2csZEqsbfbvGQop2Awb2XwiPkO7_n25iJ1pusVA AT mail DOT gmail DOT com>
<CAMw9acAwJvOyi3By2QRKFe-uFmOsbJw8cMrZ-P12dORxPft0kg AT mail DOT gmail DOT com>
<CAMw9acCV78=pKXEwfZ2J+-gh5rU8KaY4nSGrwLX8vvjKfKfw_Q AT mail DOT gmail DOT com>
<CAMw9acAqL71=kvMzgS-jKv-ceYayfYeTExKt_b0WQRm-+oojSw AT mail DOT gmail DOT com>
<CAHUm0tMGB2nxTx8PgT14OFTw1mRtsCeUDv2CWC0sbiwhFPcWbA AT mail DOT gmail DOT com>
<CAMw9acBexncH7muW0N_hJ-pfY89Db6g_5H388DjXs606xtmYmA AT mail DOT gmail DOT com>
<20190304154059 DOT 5stzub6hlzpcootc AT newvzh DOT lokolhoz> <CAMw9acCHQD3t8K3uPRA5LjvLj4SvJYcyUaymT0uMi47Hzd7p0A AT mail DOT gmail DOT com>
In-Reply-To: <CAMw9acCHQD3t8K3uPRA5LjvLj4SvJYcyUaymT0uMi47Hzd7p0A@mail.gmail.com>
From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Wed, 6 Mar 2019 13:08:41 +0100
Message-ID: <CAMw9acA1Mj0vgm0J6neqOGhbyhGOP6kA=2yz-iSKcRactk+DkA@mail.gmail.com>
Subject: Re: [geda-help] Picaxe 14M2
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--00000000000066c79805836bda8f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Vladimir,

I checked the pgm gsch2pcb and was led to a file:

grep DIP14M /usr/share/pcb/pcblib

where I could see that DIP14M is width 400 mil. So I should use DIP14
instead.

The same file showed that hc-12 is not found in it (while fx TL072 also is
found).

torben AT torben-Aspire-E5-773G:/home/gaf/myproject2$ gsch2pcb project

----------------------------------
Done processing.  Work performed:
1 file elements and 0 m4 elements added to board.new.pcb.

Only 1 file element? 2 file elements are shown in one.sch

I dont know if that helps.
torben


On Tue, Mar 5, 2019 at 9:24 PM Torben Friis <friistf AT gmail DOT com> wrote:

> Hi Vladimir,
>
> Thank you for your reply.
>
> I have changed the names as follow (for convenience):
>
> hc-12.sym:
> .
> .
> pinlabel=3DANT
> T 2100 415 5 7 0 1 0 3 1
> pinseq=3D6
> T 2100 415 5 7 0 1 0 3 1
> pintype=3Dpas
> }
> T 2500 730 3 7 0 0 0 0 1
> numslots=3D0
> B 200 0 1800 800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
> T 1400 320 3 7 0 0 0 0 1
> footprint=3Dhc-12.fp
>
> hc-12.fp:
> torben AT torben-Aspire-E5-773G:/home/gaf/myproject2$ cat
> /usr/share/pcb/pcblib-newlib/geda/hc-12.fp
> Element["" "hc-12" "" "" 0 0 0 25000 0 100 ""]
> (
> Pad[-6400 -40000 -3600 -40000 2800 2000 3600 "VCC" "VCC" "square"]
> Pad[-6400 -30000 -3600 -30000 2800 2000 3600 "GND" "GND" "square"]
> Pad[-6400 -20000 -3600 -20000 2800 2000 3600 "RXD" "RXD" "square"]
> Pad[-6400 -10000 -3600 -10000 2800 2000 3600 "TXD" "TXD" "square"]
> Pad[-6400 0 -3600 0 2800 2000 3600 "SET" "SET" "square"]
> Pad[95859 -984 99259 -984 3600 2000 4400 "MCHFIX" "MCHFIX" "square"]
> Pad[101474 -37677 104274 -37677 2800 2000 3600 "GND1" "GND1" "square"]
> Pad[101474 -17677 104274 -17677 2800 2000 3600 "GND2" "GND2" "square"]
> Pad[97854 -27677 102854 -27677 5000 2000 5800 "ANT" "ANT" "square"]
> )
>
> and I have entered:
> /usr/share/gEDA/sym/radio/hc-12.sym
> and it does appear correctly in "Select component".
>
> and:
> /usr/share/pcb/pcblib-newlib/geda/hc-12.fp
> /home/torben/www/user/mark_salyzyn/footprints/hc-12.fp
> /home/geda/www/user/mark_salyzyn/footprints/hc-12.fp
>
> I thought that was identical to what I had entered for picaxe. And yet
> hc-12 does not appear as a result of gsch2pcb project/pcb board.pcb as
> picaxe does.
> Can you see why?
> torben
>
> On Mon, Mar 4, 2019 at 4:45 PM Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via
> geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>
>> On Mon, Mar 04, 2019 at 03:58:49PM +0100, Torben Friis (friistf AT gmail DOT co=
m)
>> [via geda-help AT delorie DOT com] wrote:
>> > Hi Erich,
>> > Thank you very much for your reply.
>> >
>> > I have the following 2 files for PICAXE-14M:
>> >
>> > /usr/share/gEDA/gafrc.d/geda-clib.scm
>> > /usr/share/gEDA/sym/picaxe/PICAXE-14M.sym
>> >
>> > I also have a lot of files for DIP14.fp under:
>> >
>> > /usr/share/pcb/pcblib-newlib/geda/
>> > /home/torben/www/user/mark_salyzyn/footprints/
>> > /home/geda/www/user/mark_salyzyn/footprints/
>> >
>> > My problem is to connect the .sym information with the .fp.
>> >
>> > F.ex. for the OPAMP in the tutorial I find in the Edit Attributes:
>> >
>> > device OPAMP
>> > symversion 0.1
>> > refdes U101
>> > value T=C3=86072
>> >
>> > and in Select Component... under opamp-1.sym:
>> >
>> > description operational amplifier
>> > device OPAMP
>> > numslots 0
>> > refdes U?
>> > symversion 0.1
>> >
>> > but none of these connect me with a .fp file. Nevertheless, there is a
>> > connection, because I can do the gsch2pcb-pcb/board.pcb works.
>>
>> In order to associate a footprint with a symbol you have to attach
>> an appropriate "footprint=3D" attribute to the symbol. In your case,
>> I believe, you have to use "footprint=3DDIP14". Please read the
>> manual about this attribute.
>>
>> --
>>   Vladimir
>>
>> (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/=
lepton-eda
>>
>

--00000000000066c79805836bda8f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:arial,helvetica,sans-serif;font-size:large">Hi Vladimir,<br><br>I =
checked the pgm gsch2pcb and was led to a file:<br><br>grep DIP14M /usr/sha=
re/pcb/pcblib<br><br>where I could see that DIP14M is width 400 mil. So I s=
hould use DIP14 instead.<br><br>The same file showed that hc-12 is not foun=
d in it (while fx TL072 also is found).<br><br>torben AT torben-Aspire-E5-773G=
:/home/gaf/myproject2$ gsch2pcb project<br><br>----------------------------=
------<br>Done processing.=C2=A0 Work performed:<br>1 file elements and 0 m=
4 elements added to board.new.pcb.<br><br>Only 1 file element? 2 file eleme=
nts are shown in one.sch<br><br>I dont know if that helps.<br>torben<br><br=
></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Tue, Mar 5, 2019 at 9:24 PM Torben Friis &lt;<a href=3D"mai=
lto:friistf AT gmail DOT com">friistf AT gmail DOT com</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><=
div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif=
;font-size:large">Hi Vladimir,<br><br>Thank you for your reply.<br><br>I ha=
ve changed the names as follow (for convenience):<br><br>hc-12.sym:<br>.<br=
>.<br>pinlabel=3DANT<br>T 2100 415 5 7 0 1 0 3 1<br>pinseq=3D6<br>T 2100 41=
5 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}<br>T 2500 730 3 7 0 0 0 0 1<br>numslo=
ts=3D0<br>B 200 0 1800 800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1<br>T 1400 320 3 7=
 0 0 0 0 1<br>footprint=3Dhc-12.fp<br><br>hc-12.fp:<br>torben AT torben-Aspire=
-E5-773G:/home/gaf/myproject2$ cat /usr/share/pcb/pcblib-newlib/geda/hc-12.=
fp<br>Element[&quot;&quot; &quot;hc-12&quot; &quot;&quot; &quot;&quot; 0 0 =
0 25000 0 100 &quot;&quot;]<br>(<br>Pad[-6400 -40000 -3600 -40000 2800 2000=
 3600 &quot;VCC&quot; &quot;VCC&quot; &quot;square&quot;]<br>Pad[-6400 -300=
00 -3600 -30000 2800 2000 3600 &quot;GND&quot; &quot;GND&quot; &quot;square=
&quot;]<br>Pad[-6400 -20000 -3600 -20000 2800 2000 3600 &quot;RXD&quot; &qu=
ot;RXD&quot; &quot;square&quot;]<br>Pad[-6400 -10000 -3600 -10000 2800 2000=
 3600 &quot;TXD&quot; &quot;TXD&quot; &quot;square&quot;]<br>Pad[-6400 0 -3=
600 0 2800 2000 3600 &quot;SET&quot; &quot;SET&quot; &quot;square&quot;]<br=
>Pad[95859 -984 99259 -984 3600 2000 4400 &quot;MCHFIX&quot; &quot;MCHFIX&q=
uot; &quot;square&quot;]<br>Pad[101474 -37677 104274 -37677 2800 2000 3600 =
&quot;GND1&quot; &quot;GND1&quot; &quot;square&quot;]<br>Pad[101474 -17677 =
104274 -17677 2800 2000 3600 &quot;GND2&quot; &quot;GND2&quot; &quot;square=
&quot;]<br>Pad[97854 -27677 102854 -27677 5000 2000 5800 &quot;ANT&quot; &q=
uot;ANT&quot; &quot;square&quot;]<br>)<br><br>and I have entered:<br>/usr/s=
hare/gEDA/sym/radio/hc-12.sym</div><div class=3D"gmail_default" style=3D"fo=
nt-family:arial,helvetica,sans-serif;font-size:large">and it does appear co=
rrectly in &quot;Select component&quot;.</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:large"><br></div>=
<div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-seri=
f;font-size:large">and:<br>/usr/share/pcb/pcblib-newlib/geda/hc-12.fp<br>/h=
ome/torben/www/user/mark_salyzyn/footprints/hc-12.fp<br>/home/geda/www/user=
/mark_salyzyn/footprints/hc-12.fp<br><br>I thought that was identical to wh=
at I had entered for picaxe. And yet hc-12 does not appear as a result of g=
sch2pcb project/pcb board.pcb as picaxe does.<br>Can you see why?<br>torben=
<br></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Mon, Mar 4, 2019 at 4:45 PM Vladimir Zhbanov (<a href=3D=
"mailto:vzhbanov AT gmail DOT com" target=3D"_blank">vzhbanov AT gmail DOT com</a>) [via =
<a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delori=
e.com</a>] &lt;<a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">g=
eda-help AT delorie DOT com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">On Mon, Mar 04, 2019 at 03:58:49PM +0100, Torben Friis =
(<a href=3D"mailto:friistf AT gmail DOT com" target=3D"_blank">friistf AT gmail DOT com</=
a>) [via <a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-he=
lp AT delorie DOT com</a>] wrote:<br>
&gt; Hi Erich,<br>
&gt; Thank you very much for your reply.<br>
&gt; <br>
&gt; I have the following 2 files for PICAXE-14M:<br>
&gt; <br>
&gt; /usr/share/gEDA/gafrc.d/geda-clib.scm<br>
&gt; /usr/share/gEDA/sym/picaxe/PICAXE-14M.sym<br>
&gt; <br>
&gt; I also have a lot of files for DIP14.fp under:<br>
&gt; <br>
&gt; /usr/share/pcb/pcblib-newlib/geda/<br>
&gt; /home/torben/www/user/mark_salyzyn/footprints/<br>
&gt; /home/geda/www/user/mark_salyzyn/footprints/<br>
&gt; <br>
&gt; My problem is to connect the .sym information with the .fp.<br>
&gt; <br>
&gt; F.ex. for the OPAMP in the tutorial I find in the Edit Attributes:<br>
&gt; <br>
&gt; device OPAMP<br>
&gt; symversion 0.1<br>
&gt; refdes U101<br>
&gt; value T=C3=86072<br>
&gt; <br>
&gt; and in Select Component... under opamp-1.sym:<br>
&gt; <br>
&gt; description operational amplifier<br>
&gt; device OPAMP<br>
&gt; numslots 0<br>
&gt; refdes U?<br>
&gt; symversion 0.1<br>
&gt; <br>
&gt; but none of these connect me with a .fp file. Nevertheless, there is a=
<br>
&gt; connection, because I can do the gsch2pcb-pcb/board.pcb works.<br>
<br>
In order to associate a footprint with a symbol you have to attach<br>
an appropriate &quot;footprint=3D&quot; attribute to the symbol. In your ca=
se,<br>
I believe, you have to use &quot;footprint=3DDIP14&quot;. Please read the<b=
r>
manual about this attribute.<br>
<br>
-- <br>
=C2=A0 Vladimir<br>
<br>
(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 <a href=3D"https://git=
hub.com/lepton-eda" rel=3D"noreferrer" target=3D"_blank">https://github.com=
/lepton-eda</a><br>
</blockquote></div>
</blockquote></div>

--00000000000066c79805836bda8f--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019