EEVblog Electronics Community Forum

Electronics => PCB/EDA/CAD => KiCad => Topic started by: tkamiya on September 22, 2020, 07:07:12 pm

Title: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 22, 2020, 07:07:12 pm
This is my first PCB after watching dozens of videos.  My previous experience with PCB is from the 80s so CAD wasn't involved.

I have a situation where I am going to be placing an axial component (glass encapsulated capacitor) vertically.  That would mean I will be bending one lead to make it radial, sort of.  How do I properly deal with this in component selection?  In defined symbols, I see axial and radial, but not above scenario.  Do I need to make one myself?  Seems common enough situation that something per-defined should exist.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: NivagSwerdna on September 22, 2020, 08:26:17 pm
When I first tried KiCad the first component I needed didn't have a footprint... be brave.,.. just make a footprint!

In Footprint editor.... File... New Library... then Copy a CP_Radial_.... and move the pads

Obv... if you want a 3D model... that's more work.

PS
I did look briefly and didn't find an Axial with the top lead bent over and back down to the PCB...  it must have been done... but I couldn't find it.

Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 22, 2020, 08:28:27 pm
Roger that. 

Thank you for sharing how to do that quickly, too.  Much appreciated.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: NivagSwerdna on September 22, 2020, 08:46:10 pm
Also... don't be afraid to ask in https://forum.kicad.info/
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: golden_labels on September 22, 2020, 09:06:36 pm
tkamiya:
Aside from drawing the footprint yourself, you may use one from libraries intended for other components. For example there are footprints for axial resistors with legs bent that way. If the size matches, that element may be used.

Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: james_s on September 22, 2020, 09:52:03 pm
I would make a new footprint myself. This is something you will have to do often enough with any tool that it's best to just bite the bullet early on and learn how to do it, you will save much time in the long run.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: NivagSwerdna on September 22, 2020, 10:17:52 pm
For example there are footprints for axial resistors with legs bent that way. If the size matches, that element may be used.
R_Axial_DIN0922_L20.0mm_D9.0mm_P7.62mm_Vertical
I wasn't actually aware of those.  :-+

https://kicad-pcb.org/libraries/klc/#_footprint_guidelines



Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 22, 2020, 10:39:19 pm
Thanks everybody.  I'll see if I can modify existing one for this particular size.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 22, 2020, 11:04:06 pm
By the way....

I found a series of excellent video tutorial by Digi-key.  I'm finding it very helpful.

https://www.youtube.com/watch?v=vaCVh2SAZY4 (https://www.youtube.com/watch?v=vaCVh2SAZY4)

I'm quite a slow learner.  The video is divided nicely into digestible chunks.  With it, I managed to draw a circuit diagram last night.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: NivagSwerdna on September 23, 2020, 03:58:11 pm
https://contextualelectronics.com/courses/getting-to-blinky-5-0/ deserves a mention if you are new to PCBs.
^ IMHO Chris (from AmpHour fame) has a very friendly/approachable presentation style.
PS
That's for "Kai-CAD"... probably similar to "Key-CAD"   ;)
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 23, 2020, 11:54:05 pm
I'm just going to tack this question on here, since it makes no sense to create a new thread....

I've just made a board with all the air-lines and made a definition of board by edge-cuts.  How do I remove this?  I ended up with wrong size and wrong lines.  I can't seem to remove it.  Google search didn't turn up anything useful. 

Can someone give me a quick hand?
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 24, 2020, 12:05:00 am
Found it! 
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: greenpossum on September 24, 2020, 12:09:35 am
The "air lines" are called ratsnest if you ever pose questions on the KiCad forum.

You select edge cut lines just like any other line. Only problem is they might be hard to select due to their thinness. For this you might find the select rectangle sweeping from bottom right to top left useful for selecting anything falling partly within the rectangle useful.
Title: Re: Working on first PCB with KiCad - placing axial component vertically
Post by: tkamiya on September 24, 2020, 12:27:07 am
I've been learning this from Digikey's excellent tutorials.  They use both terms.  But I'll keep that in mind.  This is harder than I thought.