I started a project in EAGLE, however found that the free version limits were too restricting. I then moved to KiCAD. I am trying to create a 144 pin chip as a library component for use in Eeschema.

In EAGLE I created commands from a spreadsheet using the datasheet so I could just copy and paste them into the command line. The commands designate the type of pin (power, I/O etc) pin name, pin number, position, orientation etc.

Is there any way of automating the creation of a schematic in KiCAD? I have spent a day or so going through the Eeschema manual but if the explanation is in there then I definitely missed it.

  • 2
    \$\begingroup\$ I am not familiar with the product but I suspect that your title should be "Automatic library component creation" or "creating a component from a description file". \$\endgroup\$ – Transistor Oct 15 '17 at 19:03
  • \$\begingroup\$ Not yet. I have something for that in the pipeline (making the "pin table" dialog writeable, but it will be a few months until that's ready. \$\endgroup\$ – Simon Richter Oct 16 '17 at 14:33
  • \$\begingroup\$ @SimonRichter Thanks. If you make that an answer I will accept it. \$\endgroup\$ – Flash_Steel Oct 16 '17 at 16:47
  • \$\begingroup\$ It's not an answer, because it doesn't solve the problem. For the time being, just creating components from a script is the sanest way. \$\endgroup\$ – Simon Richter Oct 17 '17 at 15:25

The script is already out there, its called KiPart. It does what you need, create spreadsheet with all pins then run csv through the script and your part is generated.

Here is a nice video tutoiral from the author to follow along https://www.youtube.com/watch?v=hX4l8i4TSWY

  • \$\begingroup\$ I wrote my own workbook in OpenOffice Calc in the end, but this would have been perfect. \$\endgroup\$ – Flash_Steel Jan 11 '18 at 20:52

Yeah, you can just write out the library file directly from a script. It's a rather simple plain text format.

  • \$\begingroup\$ It looks like that's the new plan. \$\endgroup\$ – Flash_Steel Oct 16 '17 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.