Difference between revisions of "Techniques"

From OpenCircuits
Jump to navigation Jump to search
(domtrocrolre)
m (Cleaned up headings)
 
(90 intermediate revisions by 25 users not shown)
Line 1: Line 1:
racliacelg
+
There are a wide variety of techniques used in electronics.
== Printed circuit board design/fabrication ==
 
=== Overview ===
 
* [How to make really really good homemade PCBs http://www.electricstuff.co.uk/pcbs.html]
 
=== Software Design ===
 
see Software design tools below, this should be a link, but I do not know how to do it yet, someone want to fix it for me?
 
=== Manual Design ===
 
Somepeople do this with layout on clear film or by directly drawing on a circuit board, of even by scratching, grinding....  For now let them google this.
 
  
=== Homebrew fabrication ===
+
== Circuit Design ==
* [[Toner Transfer]] -- This method involves laser printing your PCB design onto paper, then transferring toner onto copper-clad board.
+
* [[Basic Circuit Building Blocks]]
* [[Photoetching]] -- Exposure of PCB designs onto photosensitized copper-clad board.
 
* [[Chemical Etchants]]
 
  
=== Commercial PCB fabrication ===
+
== Prototyping ==
* [[Submitting PCB's for fabrication]] -- Common processes for submitting PCB's for fabrication.
+
Prototyping circuitboards:
* [[PCB Manufacturers]]
 
  
== Circuit construction (Prototyping - Other than custom PCB) ==
+
* [[Solderless protoboard]]
 
 
* [[Solderless protoboard]] ([http://en.wikipedia.org/wiki/Breadboard Wikipedia:Breadboard]) ([http://www.best-microcontroller-projects.com/prototyping.html a simple example with a small microcontroller])
 
 
* [[Point-to-point]] ([http://en.wikipedia.org/wiki/Point-to-point_construction Wikipedia:Point-to-point construction])
 
* [[Point-to-point]] ([http://en.wikipedia.org/wiki/Point-to-point_construction Wikipedia:Point-to-point construction])
 
* [[Wirewrap]] ([http://en.wikipedia.org/wiki/Wire_wrap Wikipedia:Wire Wrap])
 
* [[Wirewrap]] ([http://en.wikipedia.org/wiki/Wire_wrap Wikipedia:Wire Wrap])
* [[Dead bug style]] -- and a similar method, [http://ciphersbyritter.com/RADELECT/BREADBD/BREADBD.HTM "A Modern Breadboarding Technology: Insulating Pads Soldered to a Ground Plane"]
+
* [[Dead bug style]]
 
* [[Manhattan style]]
 
* [[Manhattan style]]
 +
* Board-less construction, not sure there is a name for it, can be very cool see: http://runawaybrainz.blogspot.co.uk/2012/04/audio-crystal-cmoy-freeform-headphone.html this one is potted in clear plastic.
 +
* [http://www.qrp.pops.net/ugly.asp "Ugly Construction"] (like deadbug... )
 +
[http://www.techlib.com/electronics/construction.html "Construction Ideas"] has nice photographs of the above circuit construction techniques.
 +
[[http://www.geofex.com/Article_Folders/protostyles/proto_styles.htm "Effects Building Techniques"] by R.G. Keen 1999 reviews, compares, and contrasts these techniques for circuit construction -- also a few more.
 +
 +
* [[Stripboard]] (Veroboard): ([http://en.wikipedia.org/wiki/Stripboard Wikipedia:stripboard].)
  
[[http://www.techlib.com/electronics/construction.html "Construction Ideas"]] has nice photographs of the above circuit construction techniques.
+
Most of these techniques are designed to use through-hole devices with pins on 0.1" centers -- and vice versa: most through-hole devices are designed to fit into stripboard or other prototyping board with holes on 0.1" centers.
  
* [[Stripboard]] (Veroboard): ([http://en.wikipedia.org/wiki/Stripboard Wikipedia:stripboard].)
+
So how do people prototype something with a surface mount device (SMD)?
 +
* Some people continue to use prototyping boards with 0.1" holes, with a bit of creativity, for some SMT devices ([http://www.flickr.com/photos/nshdot/6034580576/in/photostream/])([http://www.flickr.com/photos/nshdot/6034026371/in/photostream])([http://www.flickr.com/photos/nshdot/6034580678/])([http://www.flickr.com/photos/nshdot/6034045085/in/photostream])
 +
* Some people solder many SMT devices to tiny "generic" "surface-mount prototyping boards", then those tiny boards wired together into a complete system (perhaps also including through-hole parts on a stripboard or solderless breadboard). ([http://www.whitewing.co.uk/protoboard.html "Universal through-hole and SMD prototyping board"]), ([http://www.schmartboard.com/ Schmartboard] [http://tech.groups.yahoo.com/group/schmartboardsv/ Schmartboard forum]), ([http://www.capitaladvanced.com/products.htm "Surfboards"]). Alas, none of these are completely generic for most kinds of SMT parts the way that stripboard is completely generic for almost all kinds of through-hole parts.
 +
* Some people buy a [[demo board]] with the SMT part already soldered to it; then these small boards can be wired into a complete system (perhaps also including through-hole parts on a stripboard or solderless breadboard).
 +
* Sometimes people are forced to build a big custom PCB with precise footprints adapted to that SMD device. (This seems to be what manufacturers that make SMDs expect you to do).
  
== Soldering techniques ==
+
== PCB Design/Fabrication ==
 +
[[Printed Circuit Boards]]
  
 +
== Soldering Techniques ==
 
* [[Basic soldering]] -- How to use a soldering iron.
 
* [[Basic soldering]] -- How to use a soldering iron.
 
* Surface Mount
 
* Surface Mount
Line 36: Line 36:
 
** [[Toaster oven reflow]]
 
** [[Toaster oven reflow]]
 
** [[Hot air soldering]]
 
** [[Hot air soldering]]
 +
** [http://en.wikipedia.org/wiki/User:WillWare/Homebrew_surface-mount_construction A few different SMT assembly methods] that you can do at home on a cheap budget
 
* [[Rework]] -- Techniques for fixing mistakes, or for adding new features to a board that ''almost'' does what you want.
 
* [[Rework]] -- Techniques for fixing mistakes, or for adding new features to a board that ''almost'' does what you want.
 
** [http://workmanship.nasa.gov/lib/insp/2%20books/links/sections/302_jumper%20wires.html official NASA recommendations for adding discrete wiring ("jumper wires") to PCBs]
 
** [http://workmanship.nasa.gov/lib/insp/2%20books/links/sections/302_jumper%20wires.html official NASA recommendations for adding discrete wiring ("jumper wires") to PCBs]
  
(Have you seen this [http://www.hackaday.com/2007/06/04/cnc-solder-paste-pick-n-place/ CNC solder paste/pick n place] ?)
+
(Have you seen this [http://hackaday.com/2007/06/04/cnc-solder-pastepick-n-place/ CNC solder paste/pick n place] ?)
 +
''Hackaday has lots of other similar articles: [http://hackaday.com/?s=solder+paste search hackaday for "solder paste"]''
  
== [[Hardware Tools]] ==
+
(Optional: ) After all the parts are completely soldered down, some people like to spray the board with some kind of conformal coating, or completely seal in the board with some kind of potting compound.
A directory to tools that you may find useful.
+
See [http://electronics.stackexchange.com/questions/5095/whats-the-best-way-to-protect-a-board-from-corrosion-in-a-hot-moist-environment "Electronics and Robotics: What's the best way to protect a board from corrosion in a hot/moist environment?"].
  
== Software design tools ==
+
== [[Hardware tool | Hardware Tools]] ==
 +
A directory of [[hardware tool]]s that you may find useful.
  
Some people still build circuits without ever using any software tools.
+
== [[Software tool | Software Tools]] ==
For complicated circuits, software design tools can save a lot of time.
+
A directory of [[software tool]]s that you may find useful.
  
Here we list "suites" that combine schematic capture, component editor for the components used in schematic capture, circuit simulation, PCB layout, autorouter, and footprint editor for the footprints used in PCB layout.
+
== [[PC-Microcontroller Communications]] ==
(Is there another place for listing stand-alone tools such as a [[switching regulator|switching power supply]] "wizard" and a RF analysis tool?)
+
Discussion of the various methods to connect a microcontroller or embedded system to a PC...
  
Quite often people mix-and-match tools -- using a schematic capture from one suite to generate pretty schematics and a netlist, then importing the netlist a third party Specctra autorouter, then importing the result into a PCB layout program from another suite for the final manual clean-up and design rule checking.
+
== Embedded System Programming and Testing ==
 +
To add to the confusion programming in embedded system can mean a person writing a program or a device called a programmer "burning" a program into a chip.  This section is for the "burning" meaning of programming.
  
In no particular order:
+
* Many systems use [[JTAG]] for programming and testing. (Such as [http://en.wikibooks.org/wiki/Atmel_AVR Atmel AVR embedded systems]]).
{| class="wikitable"
+
* Other systems use some other kind of in-circuit programming.
|-
+
* Some people use [http://en.wikibooks.org/wiki/Embedded_Systems/Bootloaders_and_Bootsectors bootloaders] to make re-programming a little quicker.
! Name !! Platform !! License !! AutoRouter !! Comments
 
|-
 
| [http://www.liquidpcb.org/ Liquid PCB] ||  || GPL || || [http://liquidpcb.wiki.sourceforge.net/ Liquid PCB wiki at SourceForge] Liquid PCB is a computer aided design application for designing printed circuit boards. You are not restricted to straight tracks and 45º angles, you can draw tracks any way you like. The tracks will move and bend as required to maintain your design rules. It is open source, and still in the Alpha stage.
 
|-
 
|[http://geda.seul.org/ [[gEDA]]] || Linux, *BSD || Free,OSS || Ar || [http://geda.seul.org/wiki/ gEDA wiki] includes schematic and [http://sourceforge.net/projects/pcb/ PCB] for makeing [[gerber|gerbers]] etc...
 
|-
 
|[http://mccad.com/ McCAD EDS Lite] || Pl || Free demo max 200pin || Ar || Free demo version available for download, 200 pin limit
 
|-
 
|[http://applefritter.com/replica McCAD EDS SE] ||  || "free" ||  || Free book, "Apple I Replica Creation". Supports 750 pins, 11"x17" sheet size, 6-8 data layers. <tangent>(any useful tips in this book for those who want to build a CPU from scratch?) <reply>No, there are not.  The book is more entry-level. - Tom Owad</reply></tangent>
 
|-
 
|[http://www.freepcb.com/ FreePCB] || Win32 || Free, OSS || Ar || PCB Design Software
 
|-
 
|[http://tinycad.sourceforge.net/ TinyCAD] || Win32||Free,OSS || Ar || Schematic Drawing Software
 
|-
 
|[http://kicad.sourceforge.net/ KiCad] || Win32,Linux,*BSD || Free,OSS || Ar || http://www.lis.inpg.fr/realise_au_lis/kicad/ EDA suite
 
|-
 
|[http://expresspcb.com/ Express PCB] || Pl || Free || Ar ||
 
|-
 
|[http://altium.com/ Protel DXP] || Pl || Li || Ar || [http://techref.massmind.org/techref/app/protel.htm independent Protel users FAQ]
 
|-
 
|[http://cadsoftusa.com/ Eagle] [[Eagle Links]] || Win32,Linux || Limited demo || Ar || ( Russ Hensel says>> ) I have been kicking around as a hobbyist for a while and Eagle seems to be the main hobbyist circuit/pcb cad program.  It supports schematics and board layout with an auto-router.  The free version can easily support 2 dual op amps with wide traces and a one sided board.  There is quite a lot of info on the Internet and many projects supply eagle files.  There is also a $125 non profit version supporting larger boards.  It then gets expensive.  Eagle is not really easy to learn: cut for it would be copy in almost any other program.  It probably deserves a page or more of its own. ( << end RH ) <br>http://cadsoft.de/ <br>[http://www.sparkfun.com/tutorial/PCB/eagle-output-tutorial.htm Eagle tutorial from Sparkfun] <br>[http://www.makezine.com/blog/archive/2006/03/how_to_make_a_custom_library_p.html Eagle tutorial (makezine)]
 
|-
 
|[http://diptrace.com/ DipTrace] || Pl || Freeware available || Ar ||  250-pin Freeware or Purchase more advanced versions
 
|-
 
|[http://winqcad.com/ WinQcad] || Pl || Free demo || Ar || Demo with max 499 pins available for download
 
|-
 
|[http://www.hutson.co.nz/ Rimu Schematic and Rimu PCB] || Pl || Li || Ar || ???
 
|-
 
|[http://mentala.com/ SuperCAD and SuperPCB] || Pl || Li || Ar || 
 
|-
 
|[http://www.autotraxeda.com www.autotraxeda.com] || Pl || Li || Ar ||  AUTOTraxEDA. <i>Holy poop!</i> It does EVERYTHING for NOTHING <i>(ed: not anymore)</i>. It won't run on *nix or anything less than NT (nope, it don't work on '98) but other than that, it appears to be a complete violation of the TANSTAAFL rules. <i>{ed: yep... now it costs.}</i> And the user forums have shown a certain lack of satisfaction with the program.
 
|-
 
|[http://www.expresspcb.com www.expresspcb.com] || Pl || Li || Ar || The ExpressPCB Windows layout software makes designing PC boards simple for the beginner and efficient for the professional. Its standard Windows user interface uses all the familiar commands such as copy, cut, paste &amp; dragging. PC board manufacturing service delivers boards in 3 business days or less. Often orders for two boards cost under $100. They keep changeing the program and old files may not work (due to increased limitations on the placement of objects) in the new versions without some rework. See [http://..app/tci.htm TCI] which is just about the same and prints or outputs to Gerber / Excellon files.
 
|-
 
|[http://www.holophase.com/dleval.htm www.holophase.com/dleval.htm] || Pl || Li || Ar || Circad's [http://www.holophase.com/dleval.htm DOS layout Demo] is free for non-commercial use.
 
|-
 
|[http://www.geda.seul.org/ www.geda.seul.org/] || Pl || Li || Ar || xNIX Electronic Design Automation project has Schematic capture with PCB CAD.
 
|-
 
|[http://www.vutrax.co.uk/pricing.htm www.vutrax.co.uk/pricing.htm] || Pl || Li || Ar || Vutrax for Windows - free for under 256 component pins
 
|-
 
|[http://www.interactiv.com www.interactiv.com] || Pl || Li || Ar ||  Electronic Workbench * ( Interactive Image Technologies Ltd.) $ 400 for 500 pins. Includes schematic capture and simulation, virtual instruments , and PCB layout. Said to be stable.
 
|-
 
|[http://pcb.sourceforge.net Harry Eaton's PCB] || Pl || Free,GPL || Ar || Absolutely free (GPL'ed) PCB program which can work under any POSIX compliant operating system (eg. Linux) and can produce Gerber or PostScript files.
 
|-
 
|[http://www.labcenter.co.uk/ www.labcenter.co.uk/] || Pl || Li || Ar ||  They have a lite version "pic bundle" aprx. $149.00 includes schematic/simulation/pcb layout. You can write pic code for your pic schematic design and simulate. Even multi-pic,keypad,lcd display (really cool). Right now it can only simulate PIC1683/1684 (lite version limited to 1k program code), but it really works. They are working on more pic modules now. Will not produce Gerber/Excellion drill files only dxf, bmp, hpgl, tiff.
 
|-
 
|[http://www.ivex.com/ www.ivex.com/] || Pl || Li || Ar ||  Winboard PCB Layout
 
|-
 
|[http://www.illuminated.com.au/ www.illuminated.com.au/] || Pl || Li || Ar || Draftcad
 
|-
 
|[http://www.winqcad.com/ www.winqcad.com/] || Pl || Li || Ar ||  MicroCad
 
|}
 
  
(Some of this information in this table came from the [http://techref.massmind.org/techref/pcbcads.htm list of software design tools at the Massmind]).
+
-- not sure that this next one is not misplaced ? --
 +
''We're talking about "programming and testing" ? What else do you use to test op-amp circuits?''
  
Is there any way to objectively compare these tools?
+
* Many people use an [[oscilloscope]] ([[o'scope]]). See [[oscilloscope]] for a list of  Keith has made a list of low-cost o'scopesl [http://www.techtravels.org/amiga/amigablog/?p=167 "PC USB logic analyzers that cost under $1000."] for a list of low-cost logic analyzers.
How well did they do at the
 
[http://www.pcbwest.com/topgun/ PCB Top Gun contest] ?
 
  
=== Checklist for "The flow of PCB fabrication/PCB" using Software Design Tool===
+
Humans writing a program almost always do it in a language. Here is a section that discusses some of these languages: [[Programming Languages]]
*Format and shape of PCB are conformed./
 
*Via size and location are conformed./
 
*Fixed location item are placed on suitable place./
 
*A one-first PCB silk layout is made./1:1的PCB
 
*All item get enough clearance between them./鄰是否過於緊貼
 
*All vias get enough size to install them components./求
 
*Make sure no worng footprint is created./
 
*PCB is drew./PCB
 
*Netlist is ran and got a no error result./執行netlist指令直無錯誤
 
*DRC is ran and got a no error result./DRC
 
*Location of item is reasonable./
 
*All items are put on to a hard copy of PCB./PCB
 
*Overall is checked./
 
 
 
And then the Gerbers are sent to a [[PCB Manufacturers]].
 
 
 
== embedded system programming and testing ==
 
 
 
* Many systems use [[JTAG]] for programming and testing. (Such as [http://en.wikibooks.org/wiki/Atmel_AVR Atmel AVR embedded systems]]).
 
* Other systems use some other kind of in-circuit programming.
 
* Some people use [http://en.wikibooks.org/wiki/Embedded_Systems/Bootloaders_and_Bootsectors bootloaders] to make re-programming a little quicker.
 
  
* Many people use an [[oscilloscope]] ([[o'scope]]). Keith has made a list of [http://www.techtravels.org/amiga/amigablog/?p=167 "PC USB logic analyzers that cost under $1000."], some of which can be used as an o'scope. Should we make a table dedicated to low-cost o'scopes here?
+
== Driving Motors ==
 +
See [[Stepper Motor Tester]] and [[motor driver]].
  
 
== Enclosure ==
 
== Enclosure ==
 
 
* The Earth Signal should short to whole metal Case
 
* The Earth Signal should short to whole metal Case
 
* Digital/Analog GND should separate to this Earth Signal, and should connect a Y-cap. to filter the noise between them.
 
* Digital/Analog GND should separate to this Earth Signal, and should connect a Y-cap. to filter the noise between them.
 
* Attention: do not place near between Earth Signal and Digital/Analog GND, otherwise some spark come out, and affect your whole system.
 
* Attention: do not place near between Earth Signal and Digital/Analog GND, otherwise some spark come out, and affect your whole system.
 +
* ''See [[enclosures]]''.
 +
 +
== Misc Tips Tricks ==
 +
[[Misc Tips Tricks]]
  
 
== Further Reading ==
 
== Further Reading ==
 
 
* [http://airborn.com.au/method/ "Electronics Design" from Airborn] gives an overview of the complete process: specification, (schematic) circuit design, layout, prototypes, firmware, pilot run, production.
 
* [http://airborn.com.au/method/ "Electronics Design" from Airborn] gives an overview of the complete process: specification, (schematic) circuit design, layout, prototypes, firmware, pilot run, production.
 
* EDA electronic design automation software is a subset of CAD in general. Is there a wiki that discusses CAD in general? Until I find it, I'm going to post these tools here: "Google SketchUp is a powerful yet easy-to-learn 3D software tool" http://sketchup.google.com/ ; "Inkscape is the best tool for SVG standard vector graphics" http://wiki.inkscape.org/ ; Visual Wiki http://visualwiki.org/
 
* EDA electronic design automation software is a subset of CAD in general. Is there a wiki that discusses CAD in general? Until I find it, I'm going to post these tools here: "Google SketchUp is a powerful yet easy-to-learn 3D software tool" http://sketchup.google.com/ ; "Inkscape is the best tool for SVG standard vector graphics" http://wiki.inkscape.org/ ; Visual Wiki http://visualwiki.org/
Line 154: Line 87:
 
* [http://www.elecdesign.com/Articles/ArticleID/6150/6150.html "What's All This Teflon Stuff, Anyhow?"] by Robert A. Pease -- explains a situation using lots of metal (instead of carefully insulating everything with lots of Teflon) causes less noise. Also mentions "why am I telling you all of these details? If I design a tester with greatly improved performance to help me test a really high-performance product, why should I tell all our competitors so that anybody in the world can test their products using the improved tester? Why should I give away all of these hard-earned secrets?" and gives some very good reasons.
 
* [http://www.elecdesign.com/Articles/ArticleID/6150/6150.html "What's All This Teflon Stuff, Anyhow?"] by Robert A. Pease -- explains a situation using lots of metal (instead of carefully insulating everything with lots of Teflon) causes less noise. Also mentions "why am I telling you all of these details? If I design a tester with greatly improved performance to help me test a really high-performance product, why should I tell all our competitors so that anybody in the world can test their products using the improved tester? Why should I give away all of these hard-earned secrets?" and gives some very good reasons.
 
* [http://groups.google.to/group/sci.electronics.design/browse_thread/thread/889153f0e77b1718/fcaac532bb6d4b12?fwc=1 sci.electronics.design: EDN: Measuring Nanoamperes] discusses some ways to measure extremely small currents.
 
* [http://groups.google.to/group/sci.electronics.design/browse_thread/thread/889153f0e77b1718/fcaac532bb6d4b12?fwc=1 sci.electronics.design: EDN: Measuring Nanoamperes] discusses some ways to measure extremely small currents.
 +
* [http://www.millpcbs.com/ MillPCBs.com for techniques on using a small cnc machine to mill PCB's]
 
* [http://groups.yahoo.com/group/Homebrew_PCBs yahoo.com/group/Homebrew_PCBs]
 
* [http://groups.yahoo.com/group/Homebrew_PCBs yahoo.com/group/Homebrew_PCBs]
 
* [http://www.electricstuff.co.uk/pcbs.html electricstuff.co.uk/pcbs]
 
* [http://www.electricstuff.co.uk/pcbs.html electricstuff.co.uk/pcbs]
 
* [http://www.fullnet.com/~tomg/gooteepc.htm fullnet.com/~tomg/gooteepc]
 
* [http://www.fullnet.com/~tomg/gooteepc.htm fullnet.com/~tomg/gooteepc]
* The notion that through-hole soldering is easier than soldering surface-mount devices is, and always has been, [http://archives.seul.org/geda/user/Aug-2004/msg00175.html a myth.]
+
* Dave McGuire says "The notion that through-hole soldering is easier than soldering surface-mount devices is, and always has been, [http://archives.seul.org/geda/user/Aug-2004/msg00175.html a myth.]" (Now, about keeping all the look-alike passive parts straight... :) )
 +
* [http://www.instructables.com/id/Intro-into-SMD-Soldering/ Intro into SMD Soldering]
 +
* [http://PMinMO.com/ PMinMO.com is THE PLACE for DIY CNC driver information]
 +
* [http://uptownmaker.blogspot.com/2009/07/18-essential-skills-for-maker.html 18 Essential Skills for a Maker]
  
 
== Environmental Issues ==
 
== Environmental Issues ==
The metals, chemicals, and polymers used in producing electronic circuits, as well as the energy consumed in producing them and the extraction (mining) processes can have significant environmental impact.    The purpose of this section is to collect information that can be used to assess and/or
+
See [[better for the environment]].
mitigate the environmental impact.  It may also suggest some projects which can be environmentally beneficial.  [Note: techniques was the closest
 
major section to incorporate this into but it might make more sens to promote this section to a fifth major section]
 
 
 
=== Energy Use, Global Warming Gasses ===
 
 
 
==== Embodied Energy/CO2  ====
 
With the climate change crisis and peak oil, energy consumption becomes an important issue.  Embodied CO2 includes the effects of emboddied
 
energy plus other CO2 sources.  An good source for information on how much energy is consumed and CO2 produced in making a variety of materials is the ICE [http://www.bath.ac.uk/mech-eng/sert/embodied/] database.  You have to request a free copy be sent via email.  The production of
 
metals and plastics releases many times their weight in greenhouse gases.
 
 
 
==== Energy consumption by Electronic Devices ====
 
Standby modes, switching supplies, etc.
 
 
 
==== Transportation ====
 
Raw materials, electronic components, bare PCBs, finished products, and end-of-life products being recycled get transported very long distances.
 
 
 
==== Electronics as energy saving devices ====
 
Some electronics are used to save energy.  Fluorescent ballasts, Photovoltaics, power inverters, charge controllers, some motor controls, solar trackers, LED lighting, setback thermostats, motion sensor controls and timers, blind controllers, etc.  In some cases, computers are used for
 
telecommuting.
 
 
 
=== RoHS/lead-free ===
 
The transition to RoHS/lead-free processes has cost the industry a large amount of money and creates problems for hobbyists.    When you consider the environmental impact of lead free solders (for example, silver mining is highly polluting), and the greater amount of non-renewable resources used, and the shorter lifespan of the electronic circuits, the whole lead free movement may be yet another political boondoggle.
 
[http://www.sigcon.com/Pubs/news/10_01.htm]
 
 
 
John Barnes, electronics text book author, and author of the [http://www.rohsusa.com/ Pushback] site:
 
 
 
<blockquote>
 
It is widely accepted in the Engineering community that the recent ban of lead in solders for use in electronics in Europe is not only erroneous, but will actually lead to a worsening situation on the environment with the replacements being in general use from July ’06 having a GREATER environmental impact. [http://www.rohsusa.com/]
 
</blockquote>
 
<blockquote>
 
To date I have collected over 230 books and well over 11,100 other documents on these and closely-related subjects, going clear back to 1851. My collection now fills one-and-a-half bookcases and three 5-drawer file cabinets.  [http://www.dbicorporation.com/rohsbib.htm#pages]
 
</blockquote>
 
<blockquote>
 
Based on my research, and helping clients develop RoHS-compliant electronic products, I believe that: If you buy a lead-free RoHS-compliant electronic device-- and if it works when you first turn it on-- it should be safe and fully-functional for at least one year. If you are lucky, it may last a couple of years longer... versus the 20+ years use that we can easily get out of many lead-based electronic products. [http://www.dbicorporation.com/rohsbib.htm#pages] 
 
</blockquote>
 
[http://www.rohsusa.com/]
 
 
 
A huge problem with the RoHS laws is the sheer nitpicky nature of the regulations and the beaurocracy that enforces them.  It doesn't matter if you reduce the lead content a thousand fold relative to a lead solder board, which would put it well within the 0.1% lead limit.    The product is reduced to homogeneous parts each one of which must individually meet the regulations.    One stray microscopic lead solder ball might be ok if it is absorbed into a joint where it is becomes part of a larger homogeneous component but not if it contaminates an inspection sticker or gets trapped in the flux between traces.  Maybe widespread competent recycling of electronics is a better approach.  Not shipping it off to other countries or using prison labor to disassemble it under unsafe and environmentally harmful ways; there are some horror stories of how electronics is recycled now.
 
 
 
==== Mixing lead containing and lead free components ====
 
Many lead-free components are compatible with lead solder processes. leadframe based components, such as QFPs, SOICs, and SOPs with gull wing leads, are generally compatible since the finish on the part leads contributes a small amount of material to the finished joint. However, components such as BGAs which come with lead-free solder balls are not compatible with lead processes. [http://www.st.com/stonline/products/literature/an/10791.pdf] Also, leadless parts are exposed to higher stresses and are more susceptible to any affect from mixed metallurgy. Check with each manufacturer as lead finishes may vary.
 
 
 
[edit]
 
 
 
=== Materials, Chemicals, and Processes used ===
 
==== Etchants ====
 
Ferric Chloride poured down the drain will eat pipes and copper is toxic.    Although your sewage plant may not be happy about ferric chloride in the sewage (and it may be illegal) , they can probably at least deal with it better than many other chemicals since Ferric Chloride is used at sewage treatment plants to remove copper. 
 
Ferric Chloride etchant can be neutralized into iron oxide (rust), copper, and salt by using iron (nails, etc) to use up all the etchant and then add washing soda and evaporating and can then be landfilled.  Considering the value and toxicity of copper, it would be nice to see this improved on so that the copper can be reclaimed.
 
 
 
Another source [http://www.mgchemicals.com/techsupport/ferric_faq.html]  
 
suggests adding washing soda before pouring down the drain.  Another source [http://www.anotherurl.com/library/pcb_production.htm] suggests baking soda.
 
 
 
[http://www.jtbaker.com/msds/englishhtml/f1080.htm MSDS]
 
 
 
Etching can be improved, and the lifetime of the etchant before it needs disposal, using citric acid [http://www.ganoksin.com/borisat/nenam/safe-etching.htm]
 
==== PCB Substrates ====
 
==== Etch Resists ====
 
==== Solder ====
 
See RoHS/lead free section above.  Solder paste should be refrigerated (embodied energy) and has a limited lifetime.  One problem with expired solder is absorbed water which can lead to spatter and voids in solder joints.  What to do with expired solder paste?  It should still be ok for manually tinning leads and large copper areas.  It may be possible to add it to a wave solder bath using the same alloy.
 
 
 
==== Flux ====
 
==== Epoxies ====
 
==== Solder Mask ====
 
==== Silk screen ====
 
==== Tape & Reel, JEDEC matrix trays, other component packaging ====
 
JEDEC matrix trays can be reused or recycled.  Resistors tend to come in paper (cardboard) tape, which can be recycled, plus a cover tape.
 
Capacitors, transistors, and IC's often come in formed plastic tape with a plastic cover tape..
 
 
 
==== poly bags ====
 
==== Cleaning products ====
 
==== Plating =====
 
===== Tin Plating =====
 
===== Gold Plating =====
 
===== Nickel Plating =====
 
===== Silver Plating =====
 
 
 
===== Hot Air Solder Levelling =====
 
Not technically a plating process, but many of the alternatives are.  Contains Lead (see RoHS/lead free section).
 
 
 
===== Solder Mask over Bare Copper (SMOBC) =====
 
 
 
==== Copper ====
 
Sulfur dioxide produced in making copper is equivalent to 1/4 the sulfur dioxide emisions of all industrial nations combined.  1kg of copper requires
 
excavating 127kg of ore and 136kg of other rock and the equivalent of 275 liters of petoleum was consumed.  [http://www.iied.org/mmsd/mmsd_pdfs/041_rabago.pdf]  Copper is somewhat toxic.  And it is a scarce and valuable resource.  Copper prices are high enough that people steel copper wiring and pipes out of unoccupied buildings (destroying the buildings in the process).
 
Copper can be recovered from PCB etchant by electrolysis. [http://www.p2pays.org/ref/10/09283.htm]  It also saves on etchant replacement and disposal.  They spent 55,000 English Pounds to set it up but it paid for itself in two years.  This may be possible to do on a smaller scale.  Copper used on printed circuit boards is usually produced by electrodepositing copper onto a rotating drum (Printed Circuits Handbook); this particular process, though often done by the panel manufacturer and not the PCB fab, appears to be compatible with reclaimed copper (no need to remelt it).  It appears that electrodes used in the reclamation process can be transfered to the plating bath for panel plating, pattern plating, or making electrodeposited foil sheets, provided the baths are kept well filtered.  In a double sided circuit board, most of the copper on the board is electroplated onto the board (starting with a thin foil), thus plating the holes.
 
 
 
==== Aluminum ====
 
==== Tantalum ====
 
"Other concerns we have center on a material necessary for wireless technology, called Tantalum. Tantalum is a rare earth metal that is only found in a few places. Because of growing demand caused by the popularization of cell phone, laptop and wifi use, tantalum mining has become a lucrative business in areas that sometimes have delicate ecosystems and unbalanced economies. This led to wars, exploitation and environmental havoc in the Congo³. That situation has been mostly addressed through policing and international embargoes4, but that is just one example of how consumer electronics can be linked directly to environmental and social problems.5"  [http://wiki.freegeek.org/index.php/Wifi_Use_Statement]
 
 
 
=== PVC ===
 
PVC is used as insulation for wires.  Flexible Vinyl contains plasticizers which can be toxic and are banned in some countries.  Hard Vinyl is safer.  There are other plastics, such as LDPE, which do not require plasticizers for flexibility and materials such as silicone rubber which make superior
 
insulation.
 
 
 
==== Teflon ====
 
Used as a PCB substrate, dialectric, wire insulation, and as a non-stick coating on cookware.  Teflon wire releases nerve gas when burned.    Teflon cookware (which may be used in the hot plate or toaster oven methods of reflow soldering) is alleged to release nerve gas fumes that will kill pet birds even at normal cooking temperatures.
 
 
 
=== Silicone Rubber and other Silicones ===
 
Silicon is an abundant natural resource.  Silicone Rubber has a 50 year life span, which makes it good for durable goods.  It is considered by some to be more environmentally benign than many other polymer resins due to its durability, low toxicity, manufacturing process, being chemically inert, and abundant raw materials.  Another Silicone, Silicone gel, was vindicated as a cause of health problems associated with breast implants.  Silicone rubber is one of the few materials considered safe enough for medical implants. It is an excellent high voltage insulator and withstands high temperatures.  When used in contact with electrical circuits, peroxide curing vs. acetic acid (vinegar) curing silicone should be used due to the corrosive nature of acetic acid.  Silicone caulk may be thinned to make it suitable for painting or dip coating, when the proper forms of the resin are not available, using Xylene (a hazardous material) or pourable silicones or other silicones without thixotropic additives may be used, though these are expensive in small quantities.  Silicone rubber may be used as an adhesive (it must be cut to remove it).  It may be used as a potting material.     
 
Silicone oil is used as a lubricant; purists prefer pure silicone lubricants (such as CRC 100% silicone) over products such as WD-40 which mix it with petroleum based oils; do not use it on a surface you intent to paint.  Paint does not adhere to silicone rubber, either.  "Paintable" silicone rubber caulk appears to lack the thixotropic additive and is thin enough to spread with a paint brush, though probably not thin enough for dipping or pouring.
 
Liquid silicone may be used as a non-toxic solvent.  Availible in electrically conductive varieties.  Silicone is used to make flexible molds and hobby moldmaking suppliers are a source of small quantities of different types of silicone rubbers.  Silicone rubber will withstand reflow soldering temperatures; it could be used to adhere components to a board before soldering, however it will not let go when you attempt to desolder the parts.
 
[http://en.wikipedia.org/wiki/Silicone]
 
 
 
=== Wood ===
 
Can be used for breadboarding leaded components, enclosures, etc.  Low embodied energy/CO2.
 
 
 
==== Stencils ====
 
==== Panel Plating vs Pattern Plating ====
 
[http://www.thinktink.com/stack/volumes/volvi/copplate.htm]
 
==== Chemical Etching vs Mechanical Etching ====
 
=== Fumes ===
 
==== Soldering (flux) ====
 
==== Laser Cutting (stencils, engraving, via hole drilling)  ====
 
==== Chemical Etching ====
 
 
 
 
 
=== Enclosures ===
 
=== Recycling ===
 
=== Electronic Equipment ===
 
=== ReHDPE ===
 
Recycled polyethylene lumber (ReHDPE) (Not the kind with wood fillers), seems to machine well, is cheaper than delrin and other plastics.
 
Wood fillers in the sort found at Lowes Hardware stores may absorb water.    At least I think the sample (from teksupply) I saw was ReHDPE; they don't say but similar products seem to be ReHDPE.  There may be voids.  2x4 material (many sizes available) is about $3 per foot. 
 
[http://www.teksupply.com/farm/supplies/prod;10053;ts1_building_materials;pg104577]
 
[http://plasticlumberyard.com/plasticlumber.htm]
 
[http://www.epsplasticlumber.com/lumberpricing.shtml]
 
May be useful for electronics enclosures and other plastic parts.  HDPE has a lower embodied energy than most plastics.
 
 
 
=== Obsolescence ===
 
The enviromental impacts of electronic devices are greatly exacerbated by obsolescence (or worse planned obsolescence), limited lifetimes, and
 
poor repairability (including lack of technical documentation), and by often being cheaper to replace than repair.
 
 
 
=== Single Function vs. Multifunction devices ===
 
Devices which perform many functions, and thus replace many devices, may reduce environmental impact.  Do you need a computer, TV, stereo, CD player, DVD player, game console, DVR, VHS/DVD recorder or can you use one device (the computer) for all those functions?  Do you need separate PDA, GPS receiver, digital camera, camcorder, cell phone, DECT cordless phone, voice recorder, MP3 player, and ebook reader or can those be combined into a single portable device that functions better than the individual devices?
 
 
 
=== Components ===
 
==== semiconductors ===
 
The embodied energy in a Monocrystalline solar panel, 230Kg CO2/square meter might be a some indication, though that is for the module and not just the cell and it is based on a square meter rather than by weight as most things are, but it seems rather high (they do, however, repay that energy in about 18 months to 7 years).  60% of the embodied energy is in the silicon wafers.  Pound for pound, semiconductors are probably an environmental nightmare, though very little material is actually used in the final product.  Unfortunately, a 2g chip (32MB DRAM) requires 1.7kg of materials (72g of chemcials, 1600 grams of fossil fuels, and 700 grams of elemental gas) and uses 32000g (32 liters) of water.    A lot of this energy is too heat the materials to 1000 degrees Celsius (how about a large concentrating solar collector to help out here?).
 
 
 
==== Resistors ====
 
The process of making resistors generally involves baking (embodied energy/CO2); probably twice, once to make the ceramic subtrate and once for the resistive coating; however, this is probably not a major concern as ceramics have a fairly low embodied CO2.
 
 
 
==== Computers ====
 
Computers have a very large environmental impact and may be indicative of the environmental impact of electronic devices in general.
 
For a computer, the emboddied energy is about twice what it will consume over a three year life span. 
 
 
 
For a desktop computer (not counting monitor, etc): 6050g steel, 670g copper, 440g Aluminum, 650g plastics, 1040g Epoxy, 47g Tin, 27g Lead, 18g Nickel, 1.4g Silver, 0.35g gold, and 96 grams misc for a total of 9040g.    A 17" CRT monitor: 6817g Glass, 2830g Steel, 700g Copper, 480g Ferrite, 240g Aluminum, 3530g Plastics, 140g Epoxy, 20g Tin, 593g Lead, 1.24g Silver, 0.31g Gold, and 98g of other materials.  "Other" is probably largely the fiberglass in the PCBs and the silicon wafers.
 
[http://web.mit.edu/ebm/www/Publications/Gutowski%20Mech%20Eng%20Handbook%20Ch%20Dec%206%2020041.pdf]
 
 
 
==== Capacitors ====
 
  
 
[[Category:Techniques]]
 
[[Category:Techniques]]

Latest revision as of 17:38, 11 November 2014

There are a wide variety of techniques used in electronics.

Circuit Design[edit]

Prototyping[edit]

Prototyping circuitboards:

"Construction Ideas" has nice photographs of the above circuit construction techniques. ["Effects Building Techniques" by R.G. Keen 1999 reviews, compares, and contrasts these techniques for circuit construction -- also a few more.

Most of these techniques are designed to use through-hole devices with pins on 0.1" centers -- and vice versa: most through-hole devices are designed to fit into stripboard or other prototyping board with holes on 0.1" centers.

So how do people prototype something with a surface mount device (SMD)?

  • Some people continue to use prototyping boards with 0.1" holes, with a bit of creativity, for some SMT devices ([1])([2])([3])([4])
  • Some people solder many SMT devices to tiny "generic" "surface-mount prototyping boards", then those tiny boards wired together into a complete system (perhaps also including through-hole parts on a stripboard or solderless breadboard). ("Universal through-hole and SMD prototyping board"), (Schmartboard Schmartboard forum), ("Surfboards"). Alas, none of these are completely generic for most kinds of SMT parts the way that stripboard is completely generic for almost all kinds of through-hole parts.
  • Some people buy a demo board with the SMT part already soldered to it; then these small boards can be wired into a complete system (perhaps also including through-hole parts on a stripboard or solderless breadboard).
  • Sometimes people are forced to build a big custom PCB with precise footprints adapted to that SMD device. (This seems to be what manufacturers that make SMDs expect you to do).

PCB Design/Fabrication[edit]

Printed Circuit Boards

Soldering Techniques[edit]

(Have you seen this CNC solder paste/pick n place ?) Hackaday has lots of other similar articles: search hackaday for "solder paste"

(Optional: ) After all the parts are completely soldered down, some people like to spray the board with some kind of conformal coating, or completely seal in the board with some kind of potting compound. See "Electronics and Robotics: What's the best way to protect a board from corrosion in a hot/moist environment?".

Hardware Tools[edit]

A directory of hardware tools that you may find useful.

Software Tools[edit]

A directory of software tools that you may find useful.

PC-Microcontroller Communications[edit]

Discussion of the various methods to connect a microcontroller or embedded system to a PC...

Embedded System Programming and Testing[edit]

To add to the confusion programming in embedded system can mean a person writing a program or a device called a programmer "burning" a program into a chip. This section is for the "burning" meaning of programming.

  • Many systems use JTAG for programming and testing. (Such as Atmel AVR embedded systems]).
  • Other systems use some other kind of in-circuit programming.
  • Some people use bootloaders to make re-programming a little quicker.

-- not sure that this next one is not misplaced ? -- We're talking about "programming and testing" ? What else do you use to test op-amp circuits?

Humans writing a program almost always do it in a language. Here is a section that discusses some of these languages: Programming Languages

Driving Motors[edit]

See Stepper Motor Tester and motor driver.

Enclosure[edit]

  • The Earth Signal should short to whole metal Case
  • Digital/Analog GND should separate to this Earth Signal, and should connect a Y-cap. to filter the noise between them.
  • Attention: do not place near between Earth Signal and Digital/Analog GND, otherwise some spark come out, and affect your whole system.
  • See enclosures.

Misc Tips Tricks[edit]

Misc Tips Tricks

Further Reading[edit]

Environmental Issues[edit]

See better for the environment.