Close

5) Simple guide: Making a schematic

A project log for Fritzing: creating your own part

A 3 minute guide, as well as a "from scratch" guide

AryaArya 12/13/2016 at 18:430 Comments

We're aiming for a simple schematic symbol - a rectangle, pins from both sides matching the physical pinout and text labels with those.


New Inkscape document:

Canvas dimensions:

IC body:

Draw a rectangle, no fill, black outline with 1px stroke width. Dimension it to 0.5x0.5in and center.

IC pins:

Draw a straight line, set width to 0.25 in and height to something like 0.012. Move first row of lines to X:0.0in and Y:(0.1, 0.2, 0.3, 0.4)in. Second row goes to X:0.75in and same Y.


IC terminals:

A tricky thing. This is where the lines on the schematic connect to, it's invisible but meaningful. In the original symbol, it was like 0.2x0.2px large (how is 0.2px even a thing) so let's make it as large. As points that small are a pain to select (and it's invisible!), let's copy as much attributes as possible and then duplicate the rectangle and change position&Id for the duplicates.

First terminal:

  1. Fill and stroke are None
  2. Scale to 0.2x0.2px
  3. Apply ID of "connector0terminal"
  4. Move to 0.0x0.406 (the 6 is there to be centered at the pin we drew, since its width is 0.012)

Other terminal:

  1. Copy the currently selected pin
  2. Apply new ID
  3. Move to 0.0x(0.306, 0.206, 0.106)

For second row, everything's the same, just the X coordinate is 1.0in.

There's no picure of changes because those rectangles are invisible. These were also the hardest to copy, since, well, invisible, and on top of that - under the pin object. I had to keep at least one selected at all times and never lose track of which ones I placed. I can understand why it's so hard though - schematic symbols are supposed to be taken from some IC/autogenerated.

IDs and text

Place txt labels - any labels you'd want to appear on the schematic. Also, ID the pin lines as "connectorXpin", where, X would be from 0 to 7 in our case.

Result

It works! there's something wrong with the text, but you guys are smart enough to figure it out.

Discussions