0
\$\begingroup\$

I am not sure whether this community or the tex.sx is the most appropriate for my question.

I have an assignement where I am given a boolean expression and I have to implement these expressions using a predifined list of Integrated circuits.
For example: \$ f= xy + z\$ and I have a 4071 OR IC as well as a 4081 AND IC at my disposal.

When drawing \$f\$ as a circuit diagram, I want to use the IC pinout configuration diagrams (like the ones on the image below) and show all the external connections from each pin. That way, I am confident that my approach is clear.

pin diagram

The problem is that I don't know which software allows to draw circuits along with IC pinout configuration diagrams. Or, is there a latex package somewhere that can deal with this? I will mostly use the 4000 CMOS series so I only need that range of diagrams.

\$\endgroup\$
2
  • \$\begingroup\$ Software recommendations aren't really on topic here. That said, I'd suggest using a program such as KiCad to draw the diagrams. It should have all the needed parts, and if not it is fairly easy to add them. [Edited by a moderator.] \$\endgroup\$
    – JRE
    Feb 11, 2019 at 11:22
  • \$\begingroup\$ The canonical answer on schematics may be found at electronics.stackexchange.com/questions/28251/… \$\endgroup\$ Feb 11, 2019 at 11:31

2 Answers 2

4
\$\begingroup\$

I would advise you not to use the IC pin layouts as drawn above for use in your schematics. Using them means that you have to draw the wires such that it will fit the IC layout. That means more wires and more wires crossing eachother. That will not help in understanding how the circuit works which is the main purpose of a schematic.

Instead I strongly advise you either not include the pin numbering of the ICs at all, or add only the pin numbers (not the IC pinout), like so:

enter image description here

Note how there is a number printed at each pin of a symbol which represents a circuit in an IC, that number is the pin number.

Example is borrowed from this site

If there's some empty space left you could consider adding the pinouts separately so not connected to the main schematic but purely as a drawing.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ actually the pin numbering is not important at all, only the logic gates that are visible in the IC diagram are. That way, it is easier to follow what is done inside that box inside of being limited to the abstraction level. \$\endgroup\$ Feb 11, 2019 at 11:35
  • \$\begingroup\$ By the way, would you kindly tell me which softwares can produce this kind of diagram? \$\endgroup\$ Feb 11, 2019 at 11:35
  • 1
    \$\begingroup\$ Follow the link to the site where I got that drawing, the author used Diptrace: diptrace.com An alternative which many hobbyists use is KiCad: kicad-pcb.org \$\endgroup\$ Feb 11, 2019 at 12:04
0
\$\begingroup\$

There's CircuiTikZ, which does give beautifully rendered outputs. But, it's not exactly intuitive to use - I've spent a long time trying to draw even simple circuits with it. Unfortunately, there's no stand out package for schematic drawing. Draw the gates as you need them, and then see if you can group them into ICs at that end. Your approach of having them arranged around actual IC layouts isn't particularly scalable, and it will become unclear with even a small amount of complexity.

\$\endgroup\$
6
  • \$\begingroup\$ I know circuitikz but it does not have the pinout configuration of an IC. It just has basic elements like individual logic gates, two-terminal elements,... I don't intend to draw a logic circuit like the usual ones but a circuit which uses the IC pinout diagrams. \$\endgroup\$ Feb 11, 2019 at 11:19
  • \$\begingroup\$ CircuiTikZ does not, no, it's up to you to make ICs out the primitives. There's examples out there which you could use, but I don't believe you'll find what you're looking for "off the shelf" in a package. \$\endgroup\$
    – awjlogan
    Feb 11, 2019 at 11:22
  • \$\begingroup\$ That makes sense. I also know circuit_macros which produces high quality diagrams. So as you said, the only way is declaring a new element and drawing everthing from the ground up. \$\endgroup\$ Feb 11, 2019 at 11:32
  • \$\begingroup\$ @mandresybilly Are you preparing diagrams for presentation (or training), or are you creating schematics for industrial grade engineering (laying out PCBs from your schematics, documenting your designs) ? \$\endgroup\$ Feb 11, 2019 at 17:35
  • \$\begingroup\$ @NickAlexeev I am preparing diagrams for a university course assignement. \$\endgroup\$ Feb 11, 2019 at 17:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.