Skip to content
GEEKnodes

Electronics · Updated on

How to Create a Custom Fritzing Part from Scratch with Inkscape

Create your own Fritzing part: design the breadboard view as an SVG in Inkscape, define the connectors in the Parts Editor and export it as an .fzpz file.

When you’re starting out in electronics, Fritzing is one of the most helpful programs for documenting your builds: it’s easy to learn and comes with lots of parts out of the box. But sooner or later you buy a module that isn’t in the library. There are plenty of parts shared by other users online, but there’s always one missing… In this guide I’ll show you how to create a made-up one, so you can see the whole process and then create your own and get your diagrams drawn perfectly.

Before you start

Three views of the same five-pin part: breadboard, schematic and PCB.
A Fritzing part can have a different view for each type of design.
  • Fritzing. Since version 1.0 the official download is paid (a contribution of about $9 that funds development); the source code is still published on GitHub. This guide uses the Parts Editor, which works the same in versions 0.9.x and 1.0.x.
  • A vector editor that saves to .svg. I use Inkscape, which is free.
  • The module’s real dimensions, especially the pin spacing: on most it’s 2.54 mm (0.1 in), the breadboard grid.

A Fritzing part has several views: breadboard, schematic and PCB. Here we focus on the breadboard view, which is the one used most to document builds.

1. Design the board in Inkscape

Start by creating the base of the made-up board:

Base of a made-up board drawn in Inkscape

Draw the pins; in this case, five. Keep the 2.54 mm spacing between them:

Five pins drawn on the board in Inkscape

Add a bit of detail to the design with a chip and some text:

Chip drawn on the part's board in Inkscape Text added to the part design in Inkscape

If you add text, once it looks the way you want, convert it to a path (Path › Object to Path). That way you avoid font issues when you import the .svg into Fritzing.

Text converted to a path in Inkscape to avoid font issues

Now create a 1.0 × 1.0 mm square over each pin. You’ll use them to assign the connectors in Fritzing:

1 mm square for a pin's connector in Inkscape 1 mm squares placed over the five pins

Select the whole design and resize the page to the selection (shortcut Shift+Ctrl+R in Inkscape 1.x):

Inkscape page resized to fit the design

Save the design. If Inkscape lets you choose, use Plain SVG: Fritzing handles it better than Inkscape SVG.

2. Create the part in Fritzing

Open Fritzing and, in the Parts panel, search for a generic pin header part (for example, by searching for “pins”):

Searching for a generic pin part in Fritzing

Drag it onto the workspace and right-click it to open it in the Parts Editor:

Opening the Fritzing Parts Editor with a right-click

In the breadboard view, under File, choose Load image for view and select your .svg:

Load image for view option in the Fritzing Parts Editor SVG design loaded into the breadboard view of the Fritzing editor

3. Define the connectors

In the Connectors tab, enter how many your design has (five here). You can also edit each one’s name and description, for example VCC, GND, SDA…

Connectors tab of the Fritzing editor with five connectors

Go back to the breadboard view, select a connector in the list, click Select graphic and click the matching 1.0 mm square. Repeat for each connector:

Assigning each connector to its 1 mm square in the breadboard view

In the Icon tab, choose to reuse the breadboard image so Fritzing creates the part’s thumbnail:

Icon tab of the Fritzing editor reusing the breadboard image

Save and you’re done. The part shows up in the My Parts section, ready to use in your diagrams:

Custom part saved in Fritzing's My Parts Custom part placed in a Fritzing diagram

4. Export and share

To back up or share the part, right-click it in My Parts and export it as an .fzpz file. To use it on another computer, just open that file from Fritzing (File › Open) or drag it onto the window.

Check that it works

Place the part on a breadboard: the pins should line up with the holes and, when you hover over them, each one should show its name. Connect a wire to a pin and check that it turns green (connected).

Common problems

The part comes out huge or tiny. The SVG was saved in pixels without real-world units. Set the Inkscape document to millimeters and save as Plain SVG.

Pins lined up on a breadboard with 2.54 mm spacing and a 1 mm connector marker.
Stick to the 2.54 mm grid and center each 1 mm marker over its pin.

The pins don’t line up with the breadboard. The spacing isn’t 2.54 mm or the connector squares aren’t centered over each pin.

The text shows up in a different font or disappears. You didn’t convert it to a path before saving.

Fritzing warns that views are missing. If you’ve only designed the breadboard view, the schematic and PCB use the ones from the starting part. That’s enough for documenting a build; to manufacture a PCB, you’ll have to design those views too.

Video of the process

Software used

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor