Switch

image of two switch units

There is really nothing to explain, a switch opens and closes a circuit depending on the state of the switch.

Getting Started

Reminder: to get out of any selected tool, just press escape.

First open up both the Component Editor and the Pattern Editor and then open the two files you created in the introduction.

Remember to change units go to view> units> and select the correct unit of measurement.

Step One

In the component editor make sure you have a new component, otherwise just create a new one by going to Component> add new to library. In some cases, such as this one, the component is already done for you. So lets just add it in.

Warning: make sure you don't have any finished component selected, as this step will replace it.

Go to Component > Get From Library

Skip the blue text if disc_sch (_discrete_sch.eli) is already there.

Click add and navigate to the library folder if you're not there yet (It's usually located in C:\program files\diptrace\lib). Select _discrete_sch.eli.

Select disc_sch on the left column and type switch10 in search and click search (don't press enter). only one result should show up, select it and press OK.

Get Component window

In the component properties box in the upper right corner input the following values: name = Switch, RefDes = S.

Component Propertiess window

Now right click on the right sides and go to pin properties, change the value 20 to 3.

Pin Properties window

Save your work now.

Step Two

Now we have to create the physical representation of the switch.

Go to the pattern editor. Make a new pattern if there isn't one already by going to pattern > add new to library

Fill in the same information as you did with the component editor in the pattern properties box. Now in pattern properties box set type as lines with the following values: number 1 = 2, number 2 = 4, spacing 1 = 4.5mm, spacing 2 = 6.5mm.

Pattern Properties window

Now change the pad numbering such that it's identical to the arrangement bellow. Remember, right click on the pad and select pad number to change the number.

1 4

2 3

Change units to mil. Select all the pads, then right click on one of them and select pad properties. Deselect Default for pattern. Set Width to 68mil, height to 68mil and hole to 41mil. Make sure to go back to mm to avoid any future errors.

Pad 2 window

Save your work.

Step Three

We are now on the last and easiest step. In the component editor go to Component> attach pattern. In the library section, click on add and add your pattern file. Select switch, which we just created. If everything was done correctly, pin one should match up with pad one and pin three with pad three. Note, you will receive a warning because 2 and 4 are not connected; ignore it.

Attached Pattern window

Save your work.

Related Content