Creating a custom Fritzing part for the Dwengo board

January 8, 2011 at 10:10 pm 4 comments

A problem I always have with my robots is they end up as a messy spaghetti monster with lots of wires leading to hidden places on the robot. When (purely hypothetically) the robot bumps into a wall some wires get loose and I have to figure out what was connected to what again.

I should keep some documentation on my robot. I wanted to do this with Fritzing, a cool open-source program for drawing breadboard-prototypes and more. Lots of parts are already available in Fritzing, like an Arduino, a servo, chips, and so on. As the Dwengo board was not yet available as a Fritzing part, I created it myself.

A Fritzing part is composed of SVG vector graphics: one for the breadboard layout, one for the schematic layout, one for the PCB layout, and one for the icon. These graphics can be created in InkScape. I never worked with InkScape before, so I had a hard time drawing the breadboard layout. The easiest way to create the layout was to take a photograph of the board, then import that in Inkscape, and draw over it. I reused the svg images from the existing Fritzing core parts to create the final layout.

Because Fritzing has to know which part of the image is a connector where wires can start and end, one has to create connectors. This is done by creating rectangles with the names connectorXterminal and connectorXpin (where X is the connector number). In the schematic and PCB layout, the same connector have to exist with the same name. This way, Fritzing can keep the three layouts in sync, so if you create a prototype in the breadboard view, you immediately get a schematic view and a PCB view.

For the SVG files of the schematic view and the PCB view, I started from a header row (for the schematic view) and from a regular chip (for the PCB). Once these were done, I created the part in Fritzing:

In the parts editor, you can label all the connector pins and give them a description. You can also add and remove connectors if necessary. As you can see from the image, I created connector pins for the Dwengo connector on the left, and for the driver chip output on the right. The pin labels mention the PIC pin number and the corresponding Pinguino pin number (see

Download the Fritzing part.

Now that the part is created, the fun can start :-). It only takes about 5 minutes to redraw my robot schematic in Fritzing. One problem I had was that the Bluesmirf component doesn’t exist in Fritzing, but I used a “mystery component” with 5 pins instead. The resulting prototype is shown below:

As you can see, this is a nice and  easy way of creating a breadboard prototype of your project. You can download this diagram from its Fritzing projects page. Fritzing features a lot more cool features, like automatically create a parts list, create an etchable PCB layout or Gerber files as a Pdf, …, which help you in sharing your project with others and in going from a prototype on a breadboard to a real product on a PCB!

Entry filed under: Electronics, PIC18F. Tags: , , , , , .

Bluetooth communication between BlueSMIRF and Ubuntu Introducing the_stalker: controlling a camera using Dwengo

4 Comments Add your own

  • 1. Robert Cooley  |  January 27, 2011 at 11:42 am

    I have been using the Fritzing and I like it. After you build your project is there a way to test it on the computer screen, a blinking light that would blink for example!

    • 2. Karel  |  January 27, 2011 at 11:46 am

      Hi Robert,

      No, I don’t think so. Fritzing can only be used to draw the breadboard and create schematics out of it, but it is not a simulation environment. If you are interested in simulating you might want to take a look at Labcenter’s Proteus / ISIS environment, but I’m afraid this software ain’t free…


  • 3. Johnson Diputado  |  July 24, 2013 at 2:10 pm


    I tried the steps you mentioned in this blog. But unfortunately I could not replicate the results. I am able to associate the connectors with the elements in my SVG file using the parts editor. As a matter of fact, there are already crosses on the elements that are associated with the connectors. But the problem starts when I try to use the part in Breadboard View. Wires could not emanate out from its connectors. Nor will wires coming from the breadboard or from other circuits snap to its connectors. What seems to be the problem and how might I be able to solve it. I love this software but I need to create several custom parts. By the way I am using Inkscape 0.48 and Fritzing 0.8. All are running on Ubuntu 13.04. I also save my SVGs as “plain SVG” just like what other blogs have advised.

    Hope you could help me out. Thanks.

  • 4. Jo Cousy  |  December 30, 2013 at 4:15 pm


    I think using Fritzing is very useful for electronics education.
    I myself use some Dwengo boards but can not load the part to Fritzing.
    Perhaps the version you used is not compatible with the latest version of Fritzing?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Articles to be written…

Twitter – kr3l


RSS Google Reader Shared Stuff

  • An error has occurred; the feed is probably down. Try again later.

RSS Listening to..

  • An error has occurred; the feed is probably down. Try again later.

%d bloggers like this: