About the parts submit category

First off you would be better to post this in a post rather than as a reply to this About post. The reason is here this post does not show up as a new post except in the tool bar and thus many people will miss it. Then while it is overall a decent job it has a few issues. Breadboard is typically life size. This appears to be about 1/10 life size (2cm instead of 22cm wide for instance. That isn’t deadly but also isn’t common. As you see it looks a little small connected to a 0.1in header:

although it works fine. As well in schematic you are missing terminalIds on all but the first two pins. That causes the pins to not be on 0.1in boundaries and the pins to connect to the center of the pin for the ones without terminalIds like this:

the first two pins circled in green are correct, the rest need terminalIds added to be correct.

Peter

Hi,
thank you very much Peter see new post:

regards
Johannes

Hey everyone! Please check out a part I did very hastily and be sure to provide any feedback if you want :smile:

ATmega328A-Fritzing
the link above is for my github btw

For starters there is already a ATmega328 in core parts so you are reinventing the wheel. After that your part has a number of problems: In breadboard the chip size is incorrect (it should be 0.3in wide not 0.4)

schematic lacks a proper schematic layout

and pcb is a 40pin 0.6 wide chip and the pins are incorrectly specified.

These two tutorials on making parts apply to the current version of Fritzing (most other are for older versions)

Peter

Thanks for the feedback! Will work on it in the future.

General Purpose Triode Vacuum Tube (Valve)
TriodeTube.fzpz (12.4 KB)

DIP05-1A72 is a reed relay
Breadboard and PCB based on DIP IC core part
DIP05-1A72.fzpz (3.4 KB)

You may wish to repost this in parts submit (but not the about parts submit category) because it doesn’t show up in the new posts listing and thus almost no one will see it.

Peter

Sorry, i will.
I thought this was the right place.

Parallax 2-axis joystick
Parallax 2-axis Thumb Joystick.fzpz (8.8 KB)

This is in the incorrect category. This comment from a couple of posts above also applies to you. At present your post shows up as an unread post on the top line that most people won’t read. Reposting in the correct category will alert everyone to a new post.

Not bad but a few problems. Your holes in pcb are too small. Presumably they should be 0.038in to fit 0.1in headers, they are 0.028in which is too small. This is from the gerber drill.txt file which details the hole sizes from this sketch:

the line

T100C0.038000

is the headers (circled in green) the

T101C0.028000

line is your part’s pins which are 10thou too small.

; NON-PLATED HOLES START AT T1
; THROUGH (PLATED) HOLES START AT T100
M48
INCH
T100C0.038000
T101C0.028000
%
T100
X022457Y016366
X022457Y007366
X022457Y008366
X004457Y017366
X022457Y017366
X004457Y007366
X004457Y016366
X004457Y008366
T101
X017457Y017366
X008457Y017366
X017457Y008366
X008457Y008366
X017457Y007366
X008457Y007366
X008457Y016366
X017457Y016366
T00
M30

In addition FritzingCheckPart.py is indicating a number of warnings and errors (it won’t find the incorrect hole sizes though. The main error is that breadboard has no layerId ( a group named breadboard that contains the entire svg.) The only thing I am aware of that this does is not export the part as an image, but it is annoying as people then complain about the part not exporting correctly.

Error 69: File
‘svg.breadboard.Parallax2axisJoystick_7c303a38bc68c97605667df8047a0099_1_breadboard.svg.bak’
At line 97

Found a drawing element before a layerId (or no layerId)

This tutorial may assist in correcting these problems

Peter

Thanks for the pointers!

Created this PWM Driver listed as ‘DC 5-30V 12v 24v 5A DC Motor Controller PWM Adjustable Speed Digital display encoder duty ratio frequency MAX 15A ZK-MG’

Hope it’s good :slight_smile: I am using Fritzing 1.4 so not 100% on newer compatibility

PWM Dimmer 5V-30V 5A 150W.fzpz (37.9 KB)

You may want to repost this to a new topic in the parts submit catagory as here it will show up as an unread item but not appear on the new posts items and thus won’t be seen by 99% of the folks.

edit:

As well there are a number of errors. The .fzp file needs a fritzing version, as of 1.0.5 the lack causes an error message like this

capture

on 1.0.4 it will just load, but on 1.0.5 you need to click OK to acknowledge the message before it will load. To fix it in the .fzp file this

<module moduleId="Dimmer_71fd44826a2ca4b38ae98fcacef9ec42_6" referenceFile="generic_sip_4_300mil.fzp">

needs to change to this

<module moduleId="Dimmer_71fd44826a2ca4b38ae98fcacef9ec42_6" referenceFile="generic_sip_4_300mil.fzp" fritzingVersion="1.0.4">

which will clear it and allow the part to load without complaint. More serious is the pcb svg is not configured correctly and the pins are ellipses not circles. FritzingCheckPart.py flags the following errors

Error 69: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 15

Found a drawing element before a layerId (or no layerId)

Error 65: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 25

Connector connector0pin is an ellipse not a circle, (gerber generation will break.)

Error 74: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 25

Connector connector0pin has no radius no hole will be generated

Error 65: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 26

Connector connector1pin is an ellipse not a circle, (gerber generation will break.)

Error 74: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 26

Connector connector1pin has no radius no hole will be generated

Error 65: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 27

Connector connector2pin is an ellipse not a circle, (gerber generation will break.)

Error 74: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 27

Connector connector2pin has no radius no hole will be generated

Error 65: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 28

Connector connector3pin is an ellipse not a circle, (gerber generation will break.)

Error 74: File
‘svg.pcb.Dimmer_41c0fb5045b6861470d6a5a53c67536c_2_pcb.svg.bak’
At line 28

Connector connector3pin has no radius no hole will be generated

The layerId error is that breadboard group needs to change to silkscreen (which unlike breadboard is a valid pcb layerId) and the 4 paths need to move in to the copper group like this

so they will be rendered as copper. The pads need to be circles not ellipses as they currently are

the easiest way to fix that is set rx and ry to the same value then move the pad 1 position in x or y and then back to the original position in the direction of the green arrow in this image.

that changes the ellipse to a circle and creates a radius (r rather than rx and ry which gerber processing won’t process) like this

do the same for the other 3 pads and you should be good to go (as long as the hole sizes are set to a suitable value.) Just noticed an additional problem (that FritzingCheckPart likely flagged but I didn’t see) there is a transform in one copper group that isn’t in the other which will cause an offset in gerber processing (or at least used to.) The fix is to ungroup the copper groups and then regroup them without transforms.

The end result is this svg with all pads circles and no transforms in either copper layer.

This is your original part with a 4 pin header connected in pcb view

note the lack of a silkscreen layerId has caused the rectangle to not be rendered (it also won’t appear on silkscreen in the gerbers as we will see.) As well it is very likely the holes in the pads are too small. The headers are 0.038in your holes are much smaller (how much smaller we will see in the gerber files.) So now export the sketch as gerbers like this

except I forgot the ellipses so we don’t get holes for the pads in this one we will have to see in the fixed version. This is the gerber output displayed by gerbv. Note there is no silkscreen rectangle and no drill holes (if there were there would be purple circles in the center of the pads)

now I will repeat this with the fixed part which should show us more. In pcb we have a silkscreen outline and the pads over the circles in the copper layers.

export this as gerbers and we should see improvements. Indeed we have a correct drill file, the holes are not as bad as I though they are around 0.030in (the 0.029730 number below) from the gerber drill.txt file the 0.038 number above it is the headers.

; NON-PLATED HOLES START AT T1
; THROUGH (PLATED) HOLES START AT T100
M48
INCH
T100C0.038000
T101C0.029730
%
T100
X015555Y002333
X016555Y002333
X018555Y002333
X017555Y002333
T101
X016258Y005333
X018852Y005333
X014960Y005333
X017555Y005333
T00
M30

and the gerber output looks much better, it has the silkscreen outline, the pads on the copper and the holes

here I suppressed coppertop to make the hole more visible and zoomed in so we can see the paths rendered in copper and the holes

all of this is in the part

PWM Dimmer 5V-30V 5A 150W-fixed.fzpz (36.7 KB)

Peter

1 Like

It would be preferable to move the posts here to the parts submit or parts help groups as regular posts (not that I know how to do that though!) so the information is not lost.

Peter

1 Like

@landracer All posts (except the first) may be safely deleted. Topic can be closed

1 Like