Mail Archives: geda-help/2019/03/06/14:26:44
--000000000000813163058371f67b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I think it all boils down to the question of where I should put the
following statements in hc-12.sym:
device=3D hc-12
footprint=3Dhc-12.fp
refdes=3DU?
Present hc-12.sym:
v 20110115 1
P 0 600 200 600 3 0 0
{
T 100 615 5 7 1 1 0 3 1
pinnumber=3DVCC
T 215 600 3 5 1 1 0 1 1
pinlabel=3DVCC
T 100 615 5 7 0 1 0 3 1
pinseq=3D1
T 100 615 5 7 0 1 0 3 1
pintype=3Dpas
}
P 0 500 200 500 3 0 0
{
T 100 515 5 7 1 1 0 3 1
pinnumber=3DGND
T 215 500 3 5 1 1 0 1 1
pinlabel=3DGND
T 100 515 5 7 0 1 0 3 1
pinseq=3D2
T 100 515 5 7 0 1 0 3 1
pintype=3Dpas
}
P 0 400 200 400 3 0 0
{
T 100 415 5 7 1 1 0 3 1
pinnumber=3DRXD
T 215 400 3 5 1 1 0 1 1
pinlabel=3DRX
T 100 415 5 7 0 1 0 3 1
pinseq=3D3
T 100 415 5 7 0 1 0 3 1
pintype=3Dpas
}
P 0 300 200 300 3 0 0
{
T 100 315 5 7 1 1 0 3 1
pinnumber=3DTXD
T 215 300 3 5 1 1 0 1 1
pinlabel=3DTX
T 100 315 5 7 0 1 0 3 1
pinseq=3D4
T 100 315 5 7 0 1 0 3 1
pintype=3Dpas
}
P 0 200 200 200 3 0 0
{
T 100 215 5 7 1 1 0 3 1
pinnumber=3DSET
T 215 200 3 5 1 1 0 1 1
pinlabel=3DSET
T 100 215 5 7 0 1 0 3 1
pinseq=3D5
T 100 215 5 7 0 1 0 3 1
pintype=3Dpas
}
P 2200 400 2000 400 3 0 0
{
T 2100 415 5 7 1 1 0 3 1
pinnumber=3DANT
T 1985 400 3 5 1 1 0 7 1
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
Can anyone help?
torben
On Wed, Mar 6, 2019 at 1:08 PM Torben Friis <friistf AT gmail DOT com> wrote:
> 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 i=
s
> 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 com) [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
>>>
>>
--000000000000813163058371f67b
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,<br>I think it all =
boils down to the question of where I should put the following=C2=A0 statem=
ents in hc-12.sym:<br><br>device=3D hc-12<br>footprint=3Dhc-12.fp</div><div=
class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;fo=
nt-size:large">refdes=3DU?<br></div><div class=3D"gmail_default" style=3D"f=
ont-family:arial,helvetica,sans-serif;font-size:large"><br></div><div class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz=
e:large">Present hc-12.sym:<br>v 20110115 1<br>P 0 600 200 600 3 0 0<br>{<b=
r>T 100 615 5 7 1 1 0 3 1<br>pinnumber=3DVCC<br>T 215 600 3 5 1 1 0 1 1<br>=
pinlabel=3DVCC<br>T 100 615 5 7 0 1 0 3 1<br>pinseq=3D1<br>T 100 615 5 7 0 =
1 0 3 1<br>pintype=3Dpas<br>}<br>P 0 500 200 500 3 0 0<br>{<br>T 100 515 5 =
7 1 1 0 3 1<br>pinnumber=3DGND<br>T 215 500 3 5 1 1 0 1 1<br>pinlabel=3DGND=
<br>T 100 515 5 7 0 1 0 3 1<br>pinseq=3D2<br>T 100 515 5 7 0 1 0 3 1<br>pin=
type=3Dpas<br>}<br>P 0 400 200 400 3 0 0<br>{<br>T 100 415 5 7 1 1 0 3 1<br=
>pinnumber=3DRXD<br>T 215 400 3 5 1 1 0 1 1<br>pinlabel=3DRX<br>T 100 415 5=
7 0 1 0 3 1<br>pinseq=3D3<br>T 100 415 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}=
<br>P 0 300 200 300 3 0 0<br>{<br>T 100 315 5 7 1 1 0 3 1<br>pinnumber=3DTX=
D<br>T 215 300 3 5 1 1 0 1 1<br>pinlabel=3DTX<br>T 100 315 5 7 0 1 0 3 1<br=
>pinseq=3D4<br>T 100 315 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}<br>P 0 200 200=
200 3 0 0<br>{<br>T 100 215 5 7 1 1 0 3 1<br>pinnumber=3DSET<br>T 215 200 =
3 5 1 1 0 1 1<br>pinlabel=3DSET<br>T 100 215 5 7 0 1 0 3 1<br>pinseq=3D5<br=
>T 100 215 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}<br>P 2200 400 2000 400 3 0 0=
<br>{<br>T 2100 415 5 7 1 1 0 3 1<br>pinnumber=3DANT<br>T 1985 400 3 5 1 1 =
0 7 1<br>pinlabel=3DANT<br>T 2100 415 5 7 0 1 0 3 1<br>pinseq=3D6<br>T 2100=
415 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}<br>T 2500 730 3 7 0 0 0 0 1<br>num=
slots=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><br>Can anyone help?<br>torben<br></div></div></div><br><d=
iv class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar =
6, 2019 at 1:08 PM Torben Friis <<a href=3D"mailto:friistf AT gmail DOT com">fr=
iistf AT gmail DOT com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_defaul=
t" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">Hi Vlad=
imir,<br><br>I checked the pgm gsch2pcb and was led to a file:<br><br>grep =
DIP14M /usr/share/pcb/pcblib<br><br>where I could see that DIP14M is width =
400 mil. So I should use DIP14 instead.<br><br>The same file showed that hc=
-12 is not found 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 e=
lements and 0 m4 elements added to board.new.pcb.<br><br>Only 1 file elemen=
t? 2 file elements are shown in one.sch<br><br>I dont know if that helps.<b=
r>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"mailto:friistf AT gmail DOT com" target=3D"_blank">friistf AT gmail DOT com=
</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<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>Th=
ank you for your reply.<br><br>I have changed the names as follow (for conv=
enience):<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 415 5 7 0 1 0 3 1<br>pintype=3Dpas<br>}<br=
>T 2500 730 3 7 0 0 0 0 1<br>numslots=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><b=
r>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["" "hc-12&q=
uot; "" "" 0 0 0 25000 0 100 ""]<br>(<br>Pad[=
-6400 -40000 -3600 -40000 2800 2000 3600 "VCC" "VCC" &q=
uot;square"]<br>Pad[-6400 -30000 -3600 -30000 2800 2000 3600 "GND=
" "GND" "square"]<br>Pad[-6400 -20000 -3600 -20000=
2800 2000 3600 "RXD" "RXD" "square"]<br>Pad[=
-6400 -10000 -3600 -10000 2800 2000 3600 "TXD" "TXD" &q=
uot;square"]<br>Pad[-6400 0 -3600 0 2800 2000 3600 "SET" &qu=
ot;SET" "square"]<br>Pad[95859 -984 99259 -984 3600 2000 440=
0 "MCHFIX" "MCHFIX" "square"]<br>Pad[101474 -=
37677 104274 -37677 2800 2000 3600 "GND1" "GND1" "=
square"]<br>Pad[101474 -17677 104274 -17677 2800 2000 3600 "GND2&=
quot; "GND2" "square"]<br>Pad[97854 -27677 102854 -2767=
7 5000 2000 5800 "ANT" "ANT" "square"]<br>)<b=
r><br>and I have entered:<br>/usr/share/gEDA/sym/radio/hc-12.sym</div><div =
class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;fon=
t-size:large">and it does appear correctly in "Select component".=
</div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,san=
s-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"fo=
nt-family:arial,helvetica,sans-serif;font-size:large">and:<br>/usr/share/pc=
b/pcblib-newlib/geda/hc-12.fp<br>/home/torben/www/user/mark_salyzyn/footpri=
nts/hc-12.fp<br>/home/geda/www/user/mark_salyzyn/footprints/hc-12.fp<br><br=
>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.<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"_b=
lank">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com"=
target=3D"_blank">geda-help AT delorie DOT com</a>] <<a href=3D"mailto:geda-he=
lp AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>> wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-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" ta=
rget=3D"_blank">friistf AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT del=
orie.com" target=3D"_blank">geda-help AT delorie DOT com</a>] wrote:<br>
> Hi Erich,<br>
> Thank you very much for your reply.<br>
> <br>
> I have the following 2 files for PICAXE-14M:<br>
> <br>
> /usr/share/gEDA/gafrc.d/geda-clib.scm<br>
> /usr/share/gEDA/sym/picaxe/PICAXE-14M.sym<br>
> <br>
> I also have a lot of files for DIP14.fp under:<br>
> <br>
> /usr/share/pcb/pcblib-newlib/geda/<br>
> /home/torben/www/user/mark_salyzyn/footprints/<br>
> /home/geda/www/user/mark_salyzyn/footprints/<br>
> <br>
> My problem is to connect the .sym information with the .fp.<br>
> <br>
> F.ex. for the OPAMP in the tutorial I find in the Edit Attributes:<br>
> <br>
> device OPAMP<br>
> symversion 0.1<br>
> refdes U101<br>
> value T=C3=86072<br>
> <br>
> and in Select Component... under opamp-1.sym:<br>
> <br>
> description operational amplifier<br>
> device OPAMP<br>
> numslots 0<br>
> refdes U?<br>
> symversion 0.1<br>
> <br>
> but none of these connect me with a .fp file. Nevertheless, there is a=
<br>
> 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 "footprint=3D" attribute to the symbol. In your ca=
se,<br>
I believe, you have to use "footprint=3DDIP14". 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>
</blockquote></div>
--000000000000813163058371f67b--
- Raw text -