Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

KiCad Fusion360 Python for PCBs
KiCad Fusion360 Python for PCBs
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 20th August 2019, 11:48 PM   #1
Krisfr is offline Krisfr  United States
diyAudio Member
 
Krisfr's Avatar
 
Join Date: Nov 2007
Location: Land of Lincoln near the Capital
Default KiCad Fusion360 Python for PCBs

I was just getting started with KiCad and looked at 15 videos and
There is great amp in here somewhere...

Any KiCad experts here? I would like a footprint of the BIG DIYAudio heatsink for KiCad and the like.



Thanks

I have an Idea that I will start a new thread on a little later. Bye and Thanks
__________________
Thanks
Never give a Systems Analyst a screwdriver or hammer
  Reply With Quote
Old 21st August 2019, 02:29 AM   #2
Krisfr is offline Krisfr  United States
diyAudio Member
 
Krisfr's Avatar
 
Join Date: Nov 2007
Location: Land of Lincoln near the Capital
Hey, here is the future... KiCad, Fusion 360 and Python. Just imagine if this could be tied into LTSpice. Thanks for open a new door in learning for me.
YouTube

THANKS
__________________
Thanks
Never give a Systems Analyst a screwdriver or hammer
  Reply With Quote
Old 3rd September 2019, 05:39 AM   #3
arpagon is offline arpagon  Bulgaria
diyAudio Member
 
Join Date: Oct 2011
@Krisfr,
I joined the thread too late to answer your previous questions about KiCAD usage. Since I use it extensively, let me know what help do you still need, I'll try to do my best.
  Reply With Quote
Old 8th September 2019, 03:19 PM   #4
Krisfr is offline Krisfr  United States
diyAudio Member
 
Krisfr's Avatar
 
Join Date: Nov 2007
Location: Land of Lincoln near the Capital
Quote:
Originally Posted by arpagon View Post
@Krisfr,
I joined the thread too late to answer your previous questions about KiCAD usage. Since I use it extensively, let me know what help do you still need, I'll try to do my best.
2 questions, how do you handle 2 transistors in 1 package, as an IC? Do you have a diagram showing the individual computer files associated with each device component? In the line of which computer file is associated with the schematic representation of a transistor in a circuit, which file represents the 3d display, etc. etc.

Attacks of any sort are not allowed on the forum. Some individuals will ad nauseamly pick and nit pick particular design typologies, but it is tolerated by some and hated by others. I asked for some help or thoughts and was deflected, so catch as catch can. I hope that in the vast group of Extremely knowledgeable people here, that a little bit more friendliness would be and automatically will be shown. If you don't agree with something, move on and go start your own thread. At least that is my thought. But if you can help, please do it and don't say "I know how" but I want you to show me if YOU can.

Thanks
__________________
Thanks
Never give a Systems Analyst a screwdriver or hammer
  Reply With Quote
Old 8th September 2019, 04:15 PM   #5
Mark Johnson is offline Mark Johnson  United States
diyAudio Member
 
Mark Johnson's Avatar
 
Join Date: May 2011
Location: Silicon Valley
KiCad Fusion360 Python for PCBs
I suspect there are several ways to tell KiCad about a single package which contains two transistors. Here is the way that I would do it, myself, on a Toshiba 2SK2145 dual transistor (see attached image).

I would treat the 2SK2145 as a semiconductor device which happens to have 5 pins, whose names are G1, D1, G2, D2, and S. This is the same general idea that's already used by several other devices:
  • The 1N4148 is a semiconductor device which happens to have 2 pins, whose names are Anode and Cathode.
  • The 2N3904 is a semiconductor device which happens to have 3 pins, named C, B, E.
  • The IRFD224 is a semiconductor device which happens to have 4 pins, named G, D, S, D.
I would create a schematic symbol for the 2SK2145 which has 5 pins, and whose graphical drawing shows two NJFETs with common source.

I would create a PCB layout "footprint" for the 5 pin package in which the 2SK2145 is supplied, and store it in my footprint library. Done.

There may be other ways to do it in KiCad. There may be better ways to do it. But this is the way I would do it. Or at least it is the first idea I would try.

_
Attached Images
File Type: png datasheet.png (43.1 KB, 324 views)
File Type: png irfd244.png (76.6 KB, 326 views)

Last edited by Mark Johnson; 8th September 2019 at 04:20 PM.
  Reply With Quote
Old 8th September 2019, 05:13 PM   #6
tcpip is offline tcpip  India
diyAudio Member
 
Join Date: Jan 2003
Location: Mumbai, India
Thanks a lot. Very well explained. I don't know any other place where this has been explained in a single page this neatly.

Krisfr, there are tutorial videos from Digikey and others on YouTube which explain how parts and symbols for new devices are added to the KiCAD libraries., The multi-part symbols are a bit more complex to set up and use, though not difficult. I learned the stuff from the videos.
  Reply With Quote
Old 8th September 2019, 05:25 PM   #7
Krisfr is offline Krisfr  United States
diyAudio Member
 
Krisfr's Avatar
 
Join Date: Nov 2007
Location: Land of Lincoln near the Capital
Yes thanks for your assistance. I found this page and it is very helpful. File Formats | KiCad EDA

and this...[solved] Import component in multiple unit component - Schematic - KiCad.info Forums

and this ...YouTube

I will post the solution to this as soon as I have a full schematic part, foot print and 3d symbol made for it and for the TO-264. So much to learn and trying to do the final work on it too.
__________________
Thanks
Never give a Systems Analyst a screwdriver or hammer

Last edited by Krisfr; 8th September 2019 at 05:35 PM.
  Reply With Quote
Old 8th September 2019, 07:05 PM   #8
Tournesol is offline Tournesol  Belgium
diyAudio Member
 
Tournesol's Avatar
 
Join Date: Sep 2017
Location: Château de Moulinsart
Quote:
Originally Posted by Krisfr View Post
2 questions,
Krisfr, I don't know if this can help ?:
https://www.diodes.com/assets/Packag...26-Type-CJ.pdf
https://www.diodes.com/assets/Packag...OT26-SC74R.pdf
__________________
Yours faithfully,
Tryphon Tournesol

Last edited by Tournesol; 8th September 2019 at 07:09 PM.
  Reply With Quote
Old 8th September 2019, 08:04 PM   #9
arpagon is offline arpagon  Bulgaria
diyAudio Member
 
Join Date: Oct 2011
@Krisfr,
I was going to direct you to the KiCAD forum but I saw you've already found it .

There are a few things you must realise when working with KiCAD:
- In order to ease your life its highly recommended to organise your files (electric components, footprints, 3D-models) into well-known folders (known to the KiCAD SW via PATH environment variables). I'm attaching here the PATH variables in my KiCAD. I use Linix so the absolute paths may differ. The most important thing, however is the addition of my own PATH variables to the standard ones (KIMYLIB, KIMYMOD, KIMY3DMOD). They represent the paths to the folders I store my own symbols, modules (a.k.a footprints) and 3D models.
- Unlike some other EDA packages KiCAD uses a concept "one-to-many" which means you're not required to have relation "one electrical symbol - one component". On the contrary - you can use only one electrical symbol for NPN transistor and subsequently to assign to all transistors in your schematic particular footprints. This is done using so-called CV-PCB program module. So, it's not necessary to have a numbers of electrical symbols named for example BC550, BC547, BC546 etc. You can use only one NPN electrical symbol and assign different footprints to any of them.

For your question about dual transistor unit - in EeSchema firstly check the section "Devices" - I hope you'll find an electrical symbol which will best suite your needs. Then, if there's no suitable one, you can use an existing one as a "basis" for creating your own symbol.

Well, I can write a lot more but I think there's not the right place - if someone opens a tread about KiCAD I'll be glad to share my humble experience there.
Attached Images
File Type: png snapshot-1.png (425.9 KB, 354 views)

Last edited by arpagon; 8th September 2019 at 08:06 PM.
  Reply With Quote
Old 11th September 2019, 09:42 PM   #10
Krisfr is offline Krisfr  United States
diyAudio Member
 
Krisfr's Avatar
 
Join Date: Nov 2007
Location: Land of Lincoln near the Capital
Well I have done a lot of YouTube viewing and playing with KiCad and Fusion 360. Whew.

So now I have decided to make three 3 things.

1. The dual transistor SMD device.
2. The TO-264 or similar transistor case, that can be used for BJT or FET.
3. A resistor. Well at least a very special resistor.

I will be using the parametric systems inside of Fusion 360 and applying the generated files to KiCad.

Also I will do the layout in KiCad using some rounded corners and a few other nice looking techniques to do it.


Please feel free to add suggestions and comments. I also will be establishing a GitHub account for downloading the above and maybe some other things.

Thanks
__________________
Thanks
Never give a Systems Analyst a screwdriver or hammer
  Reply With Quote

Reply


KiCad Fusion360 Python for PCBsHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Open Room Correction (PORC) greenm01 Digital Line Level 109 27th June 2018 10:59 PM
Help with Kicad Frank40 Software Tools 8 24th June 2018 06:48 PM
Python script for generating exponential throat adaptor more10 Software Tools 5 21st February 2015 04:35 PM
python car alarm=toast? tweak+peak Everything Else 1 24th January 2007 02:34 AM
Just another Monty Python argument.... mikek The Lounge 119 4th July 2003 12:38 AM


New To Site? Need Help?

All times are GMT. The time now is 03:16 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki