Separate Patterns for a double part

Making your own components and patterns, organizing and using libraries.
Message
Author
Zanzoon23
Posts: 9
Joined: 24 Sep 2015, 09:19

Separate Patterns for a double part

#1 Post by Zanzoon23 » 01 Mar 2016, 22:34

Ah, here again a "nice" problem.
I want to use a double pole double trow switch.
The switch is not mounted on the pcb but on a front panel instead.
The wires, 6 in this case, will go to a header on the pcb.
A 6 pin header, no problem. Two 3 pins is a problem.
If I can give each part of the switch a separate 3 pin header that would make the pcb a lot easier to design.
Any hints on how to do that?
Thanks

Tomg
Expert
Posts: 2028
Joined: 20 Jun 2015, 07:39

Re: Separate Patterns for a double part

#2 Post by Tomg » 03 Mar 2016, 02:55

Zanzoon23 wrote:"...each part of the switch a separate 3 pin header..."
Do you mean something like this?...
Attachments
pcb.gif
pcb.gif (13.17 KiB) Viewed 351 times
Tom

Zanzoon23
Posts: 9
Joined: 24 Sep 2015, 09:19

Re: Separate Patterns for a double part

#3 Post by Zanzoon23 » 03 Mar 2016, 04:57

Yes, that's what I'm looking for.
Now; how do you do it?

Tomg
Expert
Posts: 2028
Joined: 20 Jun 2015, 07:39

Re: Separate Patterns for a double part

#4 Post by Tomg » 03 Mar 2016, 05:42

1) In the Schematic Editor, locate the required 3-pin header/connector from one of the connector libraries. If you know the manufacturer's name and part number, search for it using the Filter tool. Enter the manufacturer's name into the Manufacturer field and the part number into the Name field.
2) Once you have found the desired component, place it twice into your schematic and connect their pins to the desired Nets.
3) Resave your modified schematic.
4) Launch the PCB Layout editor and load your PCB file if you already have an existing layout.
5) Pull the new components into your PCB using the Renew Layout from Schematic tool. Typically, new components will appear to the right of the PCB Outline.
6) Move the two new headers/connectors to their final locations and add text on the Top Silk layer to indicate what they connect to.
7) Resave the PCB.

For more detailed information, go to the Main Menu and click on Help, then DipTrace Tutorial.
Tom

Zanzoon23
Posts: 9
Joined: 24 Sep 2015, 09:19

Re: Separate Patterns for a double part

#5 Post by Zanzoon23 » 05 Mar 2016, 08:23

Thanks for the explanation. Although it's not exactly what I hoped to get as a solution.
I can create a double side double throw switch and assign a header to each part of the switch.
Both parts can be placed in a schematic and moved around independently.

But when you create a pcb, only One header is placed on the board.
Where is the second one?

Your method is a practical workaround but not exactly how it should go.
Is there no other way to accomplish this?

Tomg
Expert
Posts: 2028
Joined: 20 Jun 2015, 07:39

Re: Separate Patterns for a double part

#6 Post by Tomg » 05 Mar 2016, 11:14

Did you place the header twice on the Schematic?
Tom

Zanzoon23
Posts: 9
Joined: 24 Sep 2015, 09:19

Re: Separate Patterns for a double part

#7 Post by Zanzoon23 » 05 Mar 2016, 22:32

Well, The switch is made up of two parts; switch A and switch B.
Both should have a 3 point header.

When I create the switch I have a header for each part, A and B.
So it should be correct that i have two headers on the pcb, Header A and Header B.
These should then be placed wherever on the pcb the way I as designer, like.
The example as you gave in post nr 2 should be the final result.
I've been trying yesterday evening, but alaas, nor result.

Tomg
Expert
Posts: 2028
Joined: 20 Jun 2015, 07:39

Re: Separate Patterns for a double part

#8 Post by Tomg » 06 Mar 2016, 00:13

It appears to me that your switch is not actually on the PCB. If so, then it is not an active part of the PCB and should be represented by a 2D drawing figure having a neutral color, instead. This will make it obvious that it isn't a PCB part and allow you to place two separate headers that are on the PCB in any location you desire...
Attachments
sw.gif
sw.gif (36.28 KiB) Viewed 324 times
Tom

Zanzoon23
Posts: 9
Joined: 24 Sep 2015, 09:19

Re: Separate Patterns for a double part

#9 Post by Zanzoon23 » 06 Mar 2016, 05:47

I stated in my original post that the switch is not on the pcb but on the frontpanel instead

Here is a sample schematic:
r-sw pattern 2.jpg
r-sw pattern 2.jpg (136.54 KiB) Viewed 324 times
Then the attached part detail of part 1 and part 2 of the switch.
r-sw pcb 1.jpg
r-sw pcb 1.jpg (27.02 KiB) Viewed 324 times
r-sw pcb 1 - 3D.jpg
r-sw pcb 1 - 3D.jpg (24.34 KiB) Viewed 324 times
It seems I can upload only 3 jpeg files.
So the rest is the following message.

-- 06 Mar 2016, 18:49 --

Here the second part...


Finally the pcb created with the data available and in a 3D view
r-sw pcb 1.jpg
r-sw pcb 1.jpg (27.02 KiB) Viewed 324 times
r-sw pcb 1 - 3D.jpg
r-sw pcb 1 - 3D.jpg (24.34 KiB) Viewed 324 times
Where is the second header?
What am I missing here?
Where do I go wrong?

-- 06 Mar 2016, 18:51 --

Ojee, It got all scrammbled...

Hope fully you find your way.
Fisrt the schematic,
Then two times the attached pattern dialog box.
Next the resulting pcb and a 3D view of it.
Attachments
r-sw pattern 1.jpg
r-sw pattern 1.jpg (136 KiB) Viewed 324 times
r-sw schem 1.jpg
r-sw schem 1.jpg (28.38 KiB) Viewed 324 times

Tomg
Expert
Posts: 2028
Joined: 20 Jun 2015, 07:39

Re: Separate Patterns for a double part

#10 Post by Tomg » 06 Mar 2016, 07:51

As far as I know, it is not possible to place different parts of a multi-part component as separate entities on a PCB. A multi-part component is a single package (one pattern on the PCB) whose separate internal parts can be placed in different locations only on the schematic. This is to help the user produce a cleaner looking schematic diagram with the different parts of a multi-part component placed into different functional areas of that schematic.

In your case, do not place a switch component on the schematic. Place two instances of the 3-pin header, instead. In the last diagram I posted, the gray part of the drawing is not an actual component, pin group or electrical part of any kind. There are no Nets in the gray drawing. There are no real reference designators or pin names in the gray drawing; they are text labels. It is merely a notation, or picture if you will, to let the user know what the two headers connect to off of the PCB.

The gray drawing is just that; a drawing. This is what allows you to place the two headers (separate, real components) in different locations on the PCB.
Attachments
sw.gif
sw.gif (38.17 KiB) Viewed 322 times
Last edited by Tomg on 06 Mar 2016, 10:11, edited 1 time in total.
Tom

Post Reply