Improved Micro:bit part


#1

Here is an improved
Micro:bit part. This one has schematic and pcb as well as breadboard. Pcb uses an edge connector (because that is how the Micro:bit connects) to connect to the pcb.

edit: I just replaced this with a newer version of the part which has been created as a board and tested.

Microbit.fzpz (35.1 KB)

and a sketch that uses it (because the new part has no silkscreen text …)

microbit-breakout.fzz (39.2 KB)

Peter


Making edge connectors and both side smd parts
#2

Hi Peter

I’m looking for an edge connector to import in Fritzing. I’m new, so I want to check if I’m right when I don’t see an edge connector in the file you shared. Can you help me out?

Kris


#3

If you are looking for different kind of connector, you can give the datasheet…
I can try…


#4

Edge connectors in Fritzing are complex. While there isn’t a specific part for the edge connector at the moment it would be easy enough to convert the MicroBit part to just the edge connector if desired (pcb is already there, just bb and schematic need to change). I just uploaded a newer version of the MicroBit part and there is a howto on how to make edge connector parts in Fritzing in the howtos section of the forum (although it assumes a lot of knowledge or parts creation). If you are aiming at a Microbit, I’d suggest just using this part (the edge connector is extra strange because if internal connections for the Microbit), if you need just the edge connector for something else I can make a part that is only the edge connector easily enough.

Peter


#5

Hi Peter

The only thing I need it for is to make drawings like this for my course.


#6

Ah! This explains what you need. I was looking at pcb thinking you wanted to make boards, but what you need is a breakout board showing in breadboard rather than the MicroBit. I can create a part with the breakout pinout as shown in a few hours I expect. Do you want the MicroBit attached to the breakout, or just the header connectors as shown above?

Peter


#7

OK while this is lightly tested and not a complete part, I think it will do what you want. The only pins that are active are the one row by the numbers. The row above that should probably be bused to the active row but I didn’t do that and all the other pins are cosmetic. However if you load this part in to a sketch and connect it as the jpg above in breadboard it will reflect correctly in to schematic and pcb.

Microbit-breakout.fzpz (54.2 KB)

the new part looks like this:

as you see some of the unused pins are showing up in red under the edge connector, but that won’t hurt anything.

Peter


#8

Hi Peter

Thank you very much! Don’t know if you live in Belgium, but if you would live in the neighborhood I would by you a beer! :grinning:
If it aint to much troubles you may change the color brown to light gray (like the breadboard) and the text and pins black. But only if it’s not to much troubles. Or can I change it myself? How? In Inkscape?


#9

Unfortunately I’m on the west coast of Canada, so likely no beer :slight_smile: . I’ve made most of the requested changes, the pins are a problem though. Fritzing changes the active pin area to red, and that can’t be changed (as you will see from the svg the pins are really gold).

Edit: replace with a part which will load beside the original one.

Microbit-breakout_2.fzpz (54.8 KB)

You can make changes if you like using Inkscape. First you need to unzip the fzpz file to create the following 5 files:

part.microbit-breakout_1.fzp
svg.breadboard.microbit-breakout_1_breadboard.svg
svg.icon.microbit-breakout_1_icon.svg
svg.pcb.microbit-breakout_1_pcb.svg
svg.schematic.microbit-breakout_1_schematic.svg

You want to edit the svg.breadboard.microbit-breakout_1_breadboard.svg file with Inkscape and make your changes, then save it and copy svg.breadboard.microbit-breakout_1_breadboard.svg to svg.icon.microbit-breakout_1_icon.svg to make the icon the same as breadboard and rezip the five files in to the fzpz file for the part.

Peter


#10

Hi Peter,

The ID is the same as from your other part. Can it be changed to “Microbit-breakout_2”? (I can’t seem to unzip it with iZip)

Kris


#11

Easy enough to do. I have replaced the first one with a _2 model with the changes. It is perhaps more complex than you expect, you need to change the _1 in all the file names to _2, then edit the fzp file and change the moduleId and reference file from _1 to _2, change the variant to 2 and change all the image file names to _2. The new part needs different fzp and svg file names, a different moduleId and variant number to co exist with the original one. If you load both at the same time Inspector should let you select which variant you want and swap one for the other (as they are identical except for color)

I use 7zip on Windows, I’d guess the .fzpz may be confusing iZip. 7zip doesn’t care what the extension is, it appears to look at the file contents to see if it is a zip file or not.

Peter


#12

OK, thanks! :+1:Next time I use my Windows7 Virtual Machine.