X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=2cMfO8p+IewiEPsNfqon2oTs1Xd027Xgqx8Q346dJTo=; b=VtyL6jQonRMkAzdfoeBxbx9jQoBZJiNjrT1WLkvqWv2UiK4+bgED9hAtZ6Tk+chIBL z//hbPa+Ks1qNehCIQqIQ+H2USXZ/eVkp1jMomBGJmiIZrAjEo3HBzrQKBZjZDaMNsvR 3SLiaAFNiJxnRE5EFRLRRiVssn1Wj07eeasntaJ0/yeesBLyLEyjO57XyuErXxifdkN6 La12wohPm0/3j8jzNIrnpPtIHOj3Uhh9NbYwmfSQLpYzUmB8dAH8twu1t8pjbpYYcaeP 1Xebapv/0JJfn5DVatdHKEnLm0Nxr6m2RzuKoKdbVVnqD0PFiNFGVB3Pud1xheVZgAOh 4Xsw== X-Received: by 10.55.77.17 with SMTP id a17mr61588179qkb.40.1450296148267; Wed, 16 Dec 2015 12:02:28 -0800 (PST) MIME-Version: 1.0 References: <1450268513 DOT 967952147 AT f8 DOT my DOT com> <20151216160918 DOT ED1FA8105D0D AT turkos DOT aspodata DOT se> <1450284315 DOT 535007292 AT f11 DOT my DOT com> <20151216181847 DOT 3F1398105D0D AT turkos DOT aspodata DOT se> <20151216193642 DOT A08418038A57 AT turkos DOT aspodata DOT se> In-Reply-To: <20151216193642.A08418038A57@turkos.aspodata.se> From: "d3stinYwOw . (damianzrb AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Wed, 16 Dec 2015 20:02:18 +0000 Message-ID: Subject: Re: [geda-user] Re[2]: [geda-user] Datasheet PDF -> symbol+footprint+characteristics To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a1148786cbcec0e05270962ba Reply-To: geda-user AT delorie DOT com --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 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
Thanks for being helpful and patient for me= :P
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.
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.
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.

=C2=A0Why don't you try a few different programming languages and see w= hat
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:

=C2=A0http://turkos.aspodata.se/gi= t/openhw/share/gschem/include/rfind.pl
=C2=A0http://turkos.aspodata.se/git= /openhw/share/gschem/include/Rdiv.pm
=C2=A0http://turkos.aspodata.se/= git/openhw/share/gschem/include/Eseries.pm

$ ./rfind.= pl 2344 2345 2346
2344:
=C2=A0err type Rtot R1 R2 R3
=C2=A0 6.1, 0, 2200, 2200
=C2=A0 0.3, 0, 2350.00, 150.0 2200.0
=C2=A0 0.0, 1, 2344.71, 4700.0 6800.0 15000.0
2345:
=C2=A0err type Rtot R1 R2 R3
=C2=A0 6.2, 0, 2200, 2200
=C2=A0 0.2, 0, 2350.00, 150.0 2200.0
=C2=A0 0.0, 1, 2344.71, 4700.0 6800.0 15000.0
2346:
=C2=A0err type Rtot R1 R2 R3
=C2=A0 6.2, 0, 2200, 2200
=C2=A0 0.2, 0, 2350.00, 150.0 2200.0
=C2=A0 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 sequence
> etc to footprint,schematic image for symbol and diagrams with
> characteristics etc - on .cvs or .ods. It split the PDF to footprint,s= ymbol
> 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 poin= t
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:

=C2=A0http://www.delorie.com/arch= ives/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--