www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/16/14:38:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re[2]: [geda-user] Datasheet PDF -> symbol+footprint+characteristics
In-reply-to: <CA+pYRs-WFADpyx_ujohs_+b9ZqqjNB0a8ipvVzb8boW16f7K3g@mail.gmail.com>
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> <CA+pYRs-WFADpyx_ujohs_+b9ZqqjNB0a8ipvVzb8boW16f7K3g AT mail DOT gmail DOT com>
Comments: In-reply-to "d3stinYwOw . (damianzrb AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Wed, 16 Dec 2015 18:30:54 +0000."
Mime-Version: 1.0
Message-Id: <20151216193642.A08418038A57@turkos.aspodata.se>
Date: Wed, 16 Dec 2015 20:36:42 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 sequence
> 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=geda-user/2015/09/04

and look for "pdf table extraction" for a discussion on the topic.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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