Wikipedia:WikiProject Electronics/Programs
From Wikipedia, the free encyclopedia
Contents |
[edit] Programs for drawing circuits
[edit] Inkscape [1]
Inkscape has a pretty good interface and nice output, but it's specifically meant for artistic drawing and not diagramming. There is a plan to introduce some more diagramming features in the future, but the developers don't want to go too far in that direction for fear of bloating past their primary art focus. They've just added the ability to create program extensions, though, which could be useful for writing some kind of circuit drawing extension. As of January 2006, Inkscape supports drawing connections (wires) between anchors on objects, which makes it much nicer for circuits, but still not a complete solution.
There is a (small but extendable) library of symbols available.
Creating diagrams using this template is slightly slower than in specialised programs, but it is very flexible and produces nice vector output.
[edit] Xcircuit [2]
This program is meant to be used only for drawing circuits for professional publications. It is very powerful, with a huge standard library and very easy to use. It saves by default in postscript, and it can be converted to SVG using Pstoedit. It can optionally export with any quality in PNG. It is not natively multi-platform (it is developed mainly for linux), but it is possible to make stand-alone executables for both Windows and Mac OS X (there is a beta for Windows and Mac OS X) adding some libraries in it. Some of the symbols are kind of ugly.
For more info about creating SVG circuits with it see How to draw SVG circuits using Xcircuit.
[edit] Dia [3]
Somewhat of a compromise between the two previous two, Dia exports in SVG, has a small library of electronic components, and a grid (snap feature located in the bottom left corner of the diagram window). While Dia cannot rotate objects, it can flip them horizontally or vertically. This option is found in the properties for each object (right click->properties). To access the circuit object library, you change the category selector in the main window.
[edit] GIMP [4]
It is a programme for raster image processing, so it is not meant to be used for any kind of schematics. It does not support SVG and everything has be drawn from scratch. Anyway it is multi-platform and several people used it on Commons to draw circuits. It could be useful for some post-processing, but the output will not be in SVG.
[edit] Klunky [5]
It can be used to draw basic circuits, and then a raster editing program like the GIMP to modify the screenshots. The Klunky program is public domain, and he has enhanced it with additional components, etc. (See User:Omegatron#Electronics_diagrams. Enhanced version is here.)
Advantages
- Relatively quick, at least compared to drawing components by hand
- No install — runs in web-browser
- Public domain
- Can be enhanced even further with better-drawn components
Disadvantages
- Outputs a raster format
- Everything is restricted to blocks and some compacting to save space is sometimes needed in the image editor afterwards
- Can't save / transfer drawings (unless you edit browser cookies)
- Style changes between creators. Even the style has changed for the same creator somewhat, since he switched to the GIMP which has different fonts and smoothing.
Beats drawing it by hand, though, and drawing simple circuits is pretty fast.
User:Poccil has been working on an update to Klunky that generates SVGs directly. This would be the ideal solution if not for the limitation of putting everything in square blocks.
[edit] Microsoft drawings
Advantages:
- Nice-looking output
- Meant for creating diagrams
- Autorouting of connectors
- Snap to grid
Disadvantages:
- Non-free
- Raster output
- Requires drawing each component by hand at least once.
See commons:User talk:Peo#Diagrams for discussion.
[edit] SIMetrix [6]
As of version 5.40b (Jan 2008):
Advantages:
- Nice looking output.
- Schematic editor cum SPICE simulator.
- Free version with unlimited schematic drawing and editing.
- Hierarchical schematics
- Selection of colours for components, wires, etc. for easy identification.
- Zooming facility, auto-routing and snap-to-grid.
- Simple placement of components - select and click-to-place with mouse.
- Automatic repeat placement of last component.
- Can save a schematic as an SVG or other graphic file.
- Can save schematics in an ASCII or binary format -- documentation for the ASCII format is provided with the installation.
- Free version for Windows or Linux may be used indefinitely; program may be freely shared (per SIMetrix 5.40b splash screen)
Disadvantages:
- Free version has limited simulation capability (not applicable for drawing schematics).
- Not open source
- Email registration required to receive download link (no password or user account needed)
[edit] WikiTeX and gschem
See [7] and [8]. This is a proposal to add schematics directly into the wiki using code and gschem output. The code is incredibly ugly and the graphical output is not great, either.
[edit] KiCAD
Having recently moved to SourceForge, KiCAD is an open source suite of tools including schematic design. It has some nice features:
- Snap to grid
- Component libraries with built-in editor
- Rotate components
- Outputs in SVG (which works with OOo's SVG import tool)
- Open source and actively maintained
But isn't perfect:
- Moving a component doesn't move attached traces
- Doesn't route around components
- SVG output includes page border, title, etc (can be cropped with something like InkScape)
- Part labels and values in SVG output are rendered as lines (thus the letter "M") is 4 line segments... making them very difficult to change later.
- Can't use Greek in labels, which means no Ω on resistor values.
[edit] Qucs [9]
Qucs (Quite Universal Circuit Simulator) is an open source (GPL) circuit simulator. It's very easy to work with for drawing schematics. It's close to being an ideal tool for drawing schematics for use in documentation, but lacks SVG support.
[edit] gnu Electric [10]
The Electric VLSI Design System is an EDA tool written by Steven M. Rubin. Electric is used to draw schematics and to do integrated circuit layout. It can also handle hardware description languages such as VHDL and Verilog.
Electric has been open-source for many years, and is currently available through the Free Software Foundation (Gnu).
Advantages:
- No install — a single Java .jar contains the program and all help files
- Exceptionally powerful
- Very easy to draw schematics
- Moving objects moves and reroutes wires fairly intelligently
Disadvantages
- Overly powerful for simply drawing schematics — some will find it too much to learn (or ignore)
- Limited electronic objects in library
- Not clear how to add to the library (create your own schematic objects -- it may be there)
[edit] gEDA
gEDA is a suite of collaborative software used for electronic design automation. The project's name stands for GPL’d suite of Electronic Design Automation tools.
The gEDA project offers a mature suite of free software applications for electronics design, including schematic capture using gschem, attribute management gattrib, bill of materials (BOM) generation, netlisting into over 20 netlist formats (gnetlist), analog and digital simulation (ngspice, gnucap, Icarus Verilog, and GTKWave, and Printed circuit board (PCB) layout (pcb).
gEDA may be run under MS Windows using http://geda.seul.org/wiki/geda:cygwin.
Advantages
- Snap to grid
- Component libraries with built-in editor
- Rotate components
- Mature Open source and actively maintained
- Attached traces move with objects
Disadvantages
- Extra effort to run under Windows
[edit] Feature Comparison
The Electronics Project has a list of desirable features for a circuit drawing program. This table attempts to summarize which of the features each of the above programs has.
The "Easy to use" column is specifically answering the question: "Is it easy to use this program to draw circuit layouts?" This is to help clarify that while programs like Inkscape and Dia may pass all the criteria, they are not good choices for drawing circuits. They are easy to use for other tasks, but this chart is specifically geared toward finding a good circuit drawing program.
Note that WikiTeX + gschem is left out of the chart as it's a server-side solution, not a client-side application. To make it a practical solution, one would need a GUI to create the schematics that could export them into the proper format for processing by the server.
Program | Free | Cross Platform | SVG | Library | Grid | Attach wires | Drawing | Bezier curves | Easy to use |
---|---|---|---|---|---|---|---|---|---|
Inkscape | yes | yes | yes | partial | yes | yes | yes | no | |
Xcircuit | yes | yes | with help | yes | yes | yes | |||
Dia | yes | yes | yes | yes | yes | yes | yes | yes | no |
Gimp | yes | yes | no | no | no | yes | no | ||
Klunky | yes | yes | no | yes | yes | no | no | no | yes |
Microsoft drawings | no | no | no | no | no | yes | no | ||
SIMetrix | no | yes | yes | yes | yes | yes | yes | yes | |
KiCAD | yes | yes | yes | yes | yes | no | yes | no | yes |
Qucs | yes | yes | no | yes | yes | yes | yes | no | yes |
gnu Electric | yes | yes | partial | yes | yes | partial | yes | ||
gEDA gschem | yes | with Cygwin | with help (PNG) | yes | yes | yes | yes | yes |