LM2596 created. How to add it to main repository?

Hi!
For a project I’m developing, I needed to create a new part, a LM2596 switching voltage regulator http://www.ti.com/lit/ds/symlink/lm2596.pdf from Texas Instruments. I would like to know how one would go about adding this part to the main fritzing repository, so that other people can use it too… Should I just fork the repository on github and add a pull-request? and if so, where should the files go?

So far, the files live here https://github.com/amchagas/LM2596

cheers,
Andre

1 Like

yes sir! do a pull request, boom it should get into the next release. Hopefully you’ve fully tested the component, and it’s working according to schematic :smile:

have a quick read here

Thanks for the LM2596 and your hard work!

Could we create some kind of checklist?

Basic criteria that should be checked by at least 2(?) people

Are there ways other then github to add parts to fritzing?

You can add parts to the Share your custom made parts here pinned tab - don’t know why it doesn’t stay at the top when it is pinned.

There is an upload button when you add a post.

Yea, ok. Not sure why i asked that last question…
looks like i was hoping for something in between, More easy to manage then forum posts but without the need of another account, and learning github stuff

It’s now possible for new forum users to upload attachments. Experts may also create a pull-request to the fritzing-parts repository.

Hi all,
Sorry for the late reply. Here is the part created. lm2596.fzpz (9.9 KB)

Should I just leave it here so that someone with “pull-request” rights uploads it to the repository?

On a related note, where do the contributed parts go? I mean, I could add to the “mine” part, but couldn’t find all the necessary folders to add the different part files…

Sorry, this information wasn’t very clear up to now… I just updated and detailed the instructions here: https://github.com/fritzing/fritzing-parts/blob/master/CONTRIBUTING.md

hi, it is me again with a very late reply…
So I tried to follow the steps at the link provided and ended up with a branch with the new part, but I can’t seem to create a pull request as github states that my fork and fritzing master have completely different commit histories…

“”"
There isn’t anything to compare.
fritzing:master and amchagas:add2596 are
entirely different commit histories.

“”"
As I’m no git expert, I have no clue how to solve this…
Anyone has any ideas?

Thanks!

Hi,

I would love to use the LM2596 but I still can’t find it in the repository. I also cannot import the file downloaded from the link in this thread.

I’m completely new to the Fritzing software. Am I doing something wrong or can I find a working file somewhere? I tried importing another component which worked fine.

Thanks,

Erik

Im also having problems with importing the LM2596 into “mine” library as its saying its unable to load the part. anyone found a work around to this?

Here is your LM2596, I think it should import without error, the breadboard view PCB needs to be modified so it will fit with all pins usable on the breadboard. LM2596.fzpz (8.6 KB)

Thanks Steelgoose,

The import works now. It seems that the SMD footprint lacks two pins but I’ll see if I can fix that myself.

Erik

I didn’t change anything in the files… I just fixed the error so it would import. The PCB in the breadboard view has 2 pins on the top and 3 on the bottom. It would work better on the breadboard if all 5 pins were on the bottom of the PCB.

Actually, I am not sure about it.

still have some issue with the file that imports: if I click on any feature it transforms automatically to a standard linear 78xx component.
I was trying to see if i could find a packaging that has the 5 pins in line for surface mounting or even THT inline.
LM2596-3

Working as expected. The family name is voltage regulator so it will show you all the voltage regulator options. There wasn’t an smd version of the part, and even the corrected one from steelgoose has issues. Here are a pair of new parts in THT and SMD (SMD is what you appear to want) with the family name set to lm2596. If you load both parts and save them (due to a reported bug, if you don’t save the parts bin they won’t select correctly) you can switch back and forth between the variants.

LM2596-smd.fzpz (5.6 KB)

LM2596-THT.fzpz (5.6 KB)

Peter

Thanks so much Peter.
There is also an inline THT version:


I guess that is what you get if you straiten the pins … I was doing that way back in the 90’s when I was plying with TDA2002 … they used to make reasonable quality audio AMP with very little effort.

There is a specific use for the THT inline: you can mount it flat on the pcb but with the metal part to the heat-sink rather than to the pcb … I don’t think the SMD version allows for that as it will likely assume you want to solder the metal part to pcb

Huh! The TI data sheet doesn’t have that option, but I see that ON does. It is trivial to make one if you want one. I kind of thought that there maybe should be copper on the heatsink pad but the TI datasheet doesn’t show it (only the outline.) If you need it you can add it with the pad in core parts:

if it is in the part you can’t remove it without changing the part.

Peter