Mail Archives: geda-user/2015/12/16/15:02:35
--001a1148786cbcec0e05270962ba
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Thanks for being helpful and patient for me :P
I tried C++ when I was younger but It made that block. I wanted to remove
it by Python,but nothing helped... Now I'm learning C on my Electronics and
Communication studies.
And I'm making various things,with gEDA and not only with gEDA,but It's too
difficult to me to convert my mind to a program.
BTW. Now that topic are converting to self-pity(?) thing by It :D
=C5=9Br., 16.12.2015 o 20:44 u=C5=BCytkownik <karl AT aspodata DOT se> napisa=C5=
=82:
> damianzrb AT gmail DOT com:
> > I learnt some python some time ago,but I had a "block" in my head to
> learn
> > more.Eh,studying make me tired :P
>
> Ok, programs are like ideas och different persons express their ideas
> in different forms, you'll have to find out what makes you tick.
>
> Why don't you try a few different programming languages and see what
> works for you.
>
> And when learning a language, try to find something that you often do
> and try to make that process into a program.
>
> E.g. when prototyping, you won't probably have many of the resistor
> values that comes up in a design. So I made a little program to
> find what combination of one, two or tree resistors from the E6 series
> that could give me a value or close to it:
>
> http://turkos.aspodata.se/git/openhw/share/gschem/include/rfind.pl
> http://turkos.aspodata.se/git/openhw/share/gschem/include/Rdiv.pm
> http://turkos.aspodata.se/git/openhw/share/gschem/include/Eseries.pm
>
> $ ./rfind.pl 2344 2345 2346
> 2344:
> err type Rtot R1 R2 R3
> 6.1, 0, 2200, 2200
> 0.3, 0, 2350.00, 150.0 2200.0
> 0.0, 1, 2344.71, 4700.0 6800.0 15000.0
> 2345:
> err type Rtot R1 R2 R3
> 6.2, 0, 2200, 2200
> 0.2, 0, 2350.00, 150.0 2200.0
> 0.0, 1, 2344.71, 4700.0 6800.0 15000.0
> 2346:
> err type Rtot R1 R2 R3
> 6.2, 0, 2200, 2200
> 0.2, 0, 2350.00, 150.0 2200.0
> 0.0, 0, 2347.00, 47.0 100.0 2200.0
>
> Thus, if I want close to 2345 Ohm, I take 4.7k, 6.8k och 15k and
> put them in paralell, or 2.2k and 150 in series.
> Type 0 is all in series, 1 all parallell, 3 R1 in paralell with (R2+R3)
> (yes, I missed type 2 for some reason...).
>
> So, start easy and program something that you have direct use of.
>
> ///
>
> > I was thinking to convert PDF with datasheet to footprint,symbol and
> > characteristics more directly way,ex. that converter "takes' pin sequen=
ce
> > etc to footprint,schematic image for symbol and diagrams with
> > characteristics etc - on .cvs or .ods. It split the PDF to
> footprint,symbol
> > and characteristics easily readable not only for human,but also for e.x
> > simulators like gnucap or ngspice.
>
> Pin number/label extraction is not that easy, mostly because the pdf
> file format doesn't have any model for tables. Tables in pdf's point
> of view is just some random text and lines placed to please a human
> reader (just as you would do with an actual typewriter).
>
> Please go to:
>
> http://www.delorie.com/archives/browse.cgi?p=3Dgeda-user/2015/09/04
>
> and look for "pdf table extraction" for a discussion on the topic.
>
> Regards,
> /Karl Hammar
>
> -----------------------------------------------------------------------
> Asp=C3=B6 Data
> Lilla Asp=C3=B6 148
> S-742 94 =C3=96sthammar
> Sweden
> +46 173 140 57
>
>
>
--001a1148786cbcec0e05270962ba
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div>Thanks for being helpful and patient for me=
:P<br></div>I tried C++ when I was younger but It made that block. I wante=
d to remove it by Python,but nothing helped... Now I'm learning C on my=
Electronics and Communication studies.<br></div>And I'm making various=
things,with gEDA and not only with gEDA,but It's too difficult to me t=
o convert my mind to a program.<br></div>BTW. Now that topic are converting=
to self-pity(?) thing by It :D<br></div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr">=C5=9Br., 16.12.2015 o 20:44 u=C5=BCytkownik <<a href=3D"m=
ailto:karl AT aspodata DOT se">karl AT aspodata DOT se</a>> napisa=C5=82:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><a href=3D"mailto:damianzrb AT gmail DOT com" target=
=3D"_blank">damianzrb AT gmail DOT com</a>:<br>
> I learnt some python some time ago,but I had a "block" in my=
head to learn<br>
> more.Eh,studying make me tired :P<br>
<br>
Ok, programs are like ideas och different persons express their ideas<br>
in different forms, you'll have to find out what makes you tick.<br>
<br>
=C2=A0Why don't you try a few different programming languages and see w=
hat<br>
works for you.<br>
<br>
And when learning a language, try to find something that you often do<br>
and try to make that process into a program.<br>
<br>
E.g. when prototyping, you won't probably have many of the resistor<br>
values that comes up in a design. So I made a little program to<br>
find what combination of one, two or tree resistors from the E6 series<br>
that could give me a value or close to it:<br>
<br>
=C2=A0<a href=3D"http://turkos.aspodata.se/git/openhw/share/gschem/include/=
rfind.pl" rel=3D"noreferrer" target=3D"_blank">http://turkos.aspodata.se/gi=
t/openhw/share/gschem/include/rfind.pl</a><br>
=C2=A0<a href=3D"http://turkos.aspodata.se/git/openhw/share/gschem/include/=
Rdiv.pm" rel=3D"noreferrer" target=3D"_blank">http://turkos.aspodata.se/git=
/openhw/share/gschem/include/Rdiv.pm</a><br>
=C2=A0<a href=3D"http://turkos.aspodata.se/git/openhw/share/gschem/include/=
Eseries.pm" rel=3D"noreferrer" target=3D"_blank">http://turkos.aspodata.se/=
git/openhw/share/gschem/include/Eseries.pm</a><br>
<br>
$ ./<a href=3D"http://rfind.pl" rel=3D"noreferrer" target=3D"_blank">rfind.=
pl</a> 2344 2345 2346<br>
2344:<br>
=C2=A0err type Rtot R1 R2 R3<br>
=C2=A0 6.1, 0, 2200, 2200<br>
=C2=A0 0.3, 0, 2350.00, 150.0 2200.0<br>
=C2=A0 0.0, 1, 2344.71, 4700.0 6800.0 15000.0<br>
2345:<br>
=C2=A0err type Rtot R1 R2 R3<br>
=C2=A0 6.2, 0, 2200, 2200<br>
=C2=A0 0.2, 0, 2350.00, 150.0 2200.0<br>
=C2=A0 0.0, 1, 2344.71, 4700.0 6800.0 15000.0<br>
2346:<br>
=C2=A0err type Rtot R1 R2 R3<br>
=C2=A0 6.2, 0, 2200, 2200<br>
=C2=A0 0.2, 0, 2350.00, 150.0 2200.0<br>
=C2=A0 0.0, 0, 2347.00, 47.0 100.0 2200.0<br>
<br>
Thus, if I want close to 2345 Ohm, I take 4.7k, 6.8k och 15k and<br>
put them in paralell, or 2.2k and 150 in series.<br>
Type 0 is all in series, 1 all parallell, 3 R1 in paralell with (R2+R3)<br>
(yes, I missed type 2 for some reason...).<br>
<br>
So, start easy and program something that you have direct use of.<br>
<br>
///<br>
<br>
> I was thinking to convert PDF with datasheet to footprint,symbol and<b=
r>
> characteristics more directly way,ex. that converter "takes' =
pin sequence<br>
> etc to footprint,schematic image for symbol and diagrams with<br>
> characteristics etc - on .cvs or .ods. It split the PDF to footprint,s=
ymbol<br>
> and characteristics easily readable not only for human,but also for e.=
x<br>
> simulators like gnucap or ngspice.<br>
<br>
Pin number/label extraction is not that easy, mostly because the pdf<br>
file format doesn't have any model for tables. Tables in pdf's poin=
t<br>
of view is just some random text and lines placed to please a human<br>
reader (just as you would do with an actual typewriter).<br>
<br>
Please go to:<br>
<br>
=C2=A0<a href=3D"http://www.delorie.com/archives/browse.cgi?p=3Dgeda-user/2=
015/09/04" rel=3D"noreferrer" target=3D"_blank">http://www.delorie.com/arch=
ives/browse.cgi?p=3Dgeda-user/2015/09/04</a><br>
<br>
and look for "pdf table extraction" for a discussion on the topic=
.<br>
<br>
Regards,<br>
/Karl Hammar<br>
<br>
-----------------------------------------------------------------------<br>
Asp=C3=B6 Data<br>
Lilla Asp=C3=B6 148<br>
S-742 94 =C3=96sthammar<br>
Sweden<br>
+46 173 140 57<br>
<br>
<br>
</blockquote></div>
--001a1148786cbcec0e05270962ba--
- Raw text -