Practical Electronics/Manual of Style/Pinouts
General Layout
The chip should be vertical - that is, the pins run down the left and right sides. Pin 1 should be at the top left.
The chip should be centred in the image, both horizontally and vertically.
The outline of the chip should be represented by a rectangle with a stroke thickness of 2px. All other lines should be 1px thick. All lines and text should be black (#000000) and all text should be solidly filled with black.
All text should be converted to paths before uploading as it tends to get changed to a different font with different spacing, kerning, etc, when rendered by the server, and other users with different fonts may not be able to see the original SVG as you meant it either.
IC Body
The IC body should be 100px wide and centred in the image horizontally and vertically. The height is defined by the number of pins. This, in px, is
where P is the number of pins in total on the package.
Pins
Pins should be 25px apart, centre to centre. They should be represented by squares of 10px on a side, with a line thickness of 1px. The centre of the line on the "inside" of the pin (nearest the body) should be colinear with the centre of the line making up the IC body.
Pin should have their number inside them, which should be centred horizontally and vertically in the pin.
There should be 10px left at the top and botom of the IC (assuming the formula above has been followed).
Notch

The notch denoting the orientation of the IC should be drawn according to the digram on the right. Each grid line represents 5px. The red and blue lines' thicknesses are not to scale.
The blue line represents the 2px thick top line of the IC body. The red line represents the notch and should be 1px thick. It is made up of two vertical stright lines 5px in length, one semicircle, 20px in diameter and one horizontal line 20 px in length.
The line of symmetry of the notch should be on the vertical line of symmetry of the IC body.
Pin Labels
The can be inside or outside the IC. Generally with logic ICs, the gates are drawn on the inside, and the labels are on the outside. With other ICs, the labels are on the inside, and nothing is on the outside.
The main text of the label (i.e. the bit that is not sub- or super-script)should be centred vertically on the pin.
The labels down the left hand side should all be left-aligned with each other, and those down the right hand side should be right-aligned.
Size
All pinout diagrams for "normal" sized chips (i.e. 8, 14, 16, 18, etc. pins) should be 200px wide. The height of the image will depend on the number of pins on the IC. The table below give common sizes for pinot diagrams. Note that this is the size of the image as a whole, not just the IC in the image.
| Pins | Height (px) |
|---|---|
| 14 | 200 |
| 16 | 225 |
| 18 | 250 |
Uploading
Pinout diagrams should be uploaded to Commons in the category "IC Pinout Diagrams" (case sensitive).
Please use the following file name format for pinouts:
Pinouts: [IC Number]_Pinout.svg
Replace the [IC Number] with the relevant number. In this manner, the pinout of a 4081 AND gate has the name "4081_Pinout.svg".
If uploading a template, use the following name:
Templates: Pinout Template XX Pin.svg
Replace "XX" with the number of pins in the relevant package.
Templates
Use the following templates wherever possible. Please do not change them, unless you are absolutely certain it is an improvement, and you are willing to change every other pinout diagram in this wikibook.
Also consider modifying a similar pinout diagram as this is easier and will help to ensure consistency. Be careful not to overwrite the original when doing this as, although it can be reverted, it is a nuisance.
To use these, go to the image page, download the file and open in the SVG editor of your choice. Insert your pin labels, convert them to paths, save and upload.



