Measure/Projects: Difference between revisions
(Adding 2 projects (shifting from main Measure page)) |
(cat) |
||
(31 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
= Temperature monitoring system = |
|||
== Temperature monitoring system == |
|||
== How to build == |
|||
=== How to build === |
|||
You need- |
You need- |
||
# LM35 or any similar temperature sensor |
# LM35 or any similar temperature sensor |
||
Line 17: | Line 16: | ||
== How to operate == |
|||
Set the Measure Activity to be in the DC Mode and Turn Off the Bias Voltage. Both these can be controlled by using the first two buttons on the 'Measure Toolbar'. |
Set the Measure Activity to be in the DC Mode and Turn Off the Bias Voltage. Both these can be controlled by using the first two buttons on the 'Measure Toolbar'. |
||
Line 23: | Line 22: | ||
== Learn More == |
|||
The LM35 has an output voltage proportional to the temperature. The scale is 0.01V/C. |
The LM35 has an output voltage proportional to the temperature. The scale is 0.01V/C. |
||
Read the [[http://www.ece.osu.edu/~passino/LM35.pdf Data Sheet]] to learn more. |
Read the [[http://www.ece.osu.edu/~passino/LM35.pdf Data Sheet]] to learn more. |
||
Line 29: | Line 28: | ||
One could log temperature over a period of time - say at an interval of 1 hour for a complete day to know when is it the hottest / coldest. |
One could log temperature over a period of time - say at an interval of 1 hour for a complete day to know when is it the hottest / coldest. |
||
== Video == |
|||
(put video with flame demonstration here, put pictures here - including ckt diagram) |
(put video with flame demonstration here, put pictures here - including ckt diagram) |
||
= Intrusion Alarm system = |
|||
== How to build == |
|||
You need- |
You need- |
||
# A toy laser |
# A toy laser |
||
Line 46: | Line 45: | ||
Connect the LDR to the Audio Jack. |
Connect the LDR to the Audio Jack. |
||
== How to operate == |
|||
Set the Measure Activity into DC Mode and turn ON the bias voltage. Setup the LDR and the laser to be in line and facing each other. When the path of the laser light gets cut, you should observe a marked increase in voltage indicated by the position of the waveform shifting up. |
Set the Measure Activity into DC Mode and turn ON the bias voltage. Setup the LDR and the laser to be in line and facing each other. When the path of the laser light gets cut, you should observe a marked increase in voltage indicated by the position of the waveform shifting up. |
||
== Learn More == |
|||
The resistance of the LDR - Light Dependent Resistor is proportional to the amount of light falling on it. The potential drop across the LDR is dependent on the resistance of the LDR. When the path of the light gets cut, |
The resistance of the LDR - Light Dependent Resistor is proportional to the amount of light falling on it. The potential drop across the LDR is dependent on the resistance of the LDR. When the path of the light gets cut, |
||
the resistance increases hence we notice a marked increase in voltage indicated on the screen. |
the resistance increases hence we notice a marked increase in voltage indicated on the screen. |
||
Line 55: | Line 54: | ||
Click here to know more about Bias Voltage and how it works. |
Click here to know more about Bias Voltage and how it works. |
||
= Simple isolation and protection amplifier v2 (version 2) = |
|||
[[Image:Oscilloscope probe photo 1.jpg|right|600px|A fully-assembled 50:1 probe. The "V2" -- version 2 -- circuit board (with test-leads attached) is shown above the assembled probe. The probe described below has minor variations (the strain relief shown here is too expensive and does not do its job; the audio-plug's lead is longer; the search for a more attractive knob is in progress.)]] |
|||
The following circuit allows the student or teacher to "input" both DC voltages (such as from a 1.5 volt battery, etc) and an AC voltage. The following design may change as it evolves: |
|||
The following "probe-circuit" allows the student or teacher to "input" both DC voltages greater than +5.0 volts (such as from a 9 volt battery, etc), negative voltages, as well as AC voltage. The probe provides resistive isolation of the laptop from what is being measured (the amount of isolation dictated by the choice of two resistors R1 and R2). |
|||
A cost-reduced version v3 (difficult target: less than $10.00 in singles and $5.00 in 100's) will forthcoming; it uses a Bourns 3310 potentiometer at 1/2 cost and smaller size so the pc board can be reduced in cost. A fancier version of v2 with a "zero" button (locates the center trace) has been prototyped; it will add about $1.00 in parts (same size circuit board as v2). A yet-fancier version with at least two switchable gains is also under consideration. |
|||
::*''See revision history at bottom of this section.'' |
::*''See revision history at bottom of this section.'' |
||
[[Image:Oscilloscope circuit 2.png|left|1000px|thumbnail|To satisfy the TL431's requirements, R5 should be 1K when using the TL431 as a reference, but it can be 10K when using the LM385BZ as a reference. To protect the laptop from misapplied voltages (e.g. 120 VAC or 240 VAC) the resistors R1 and R2 should be 1 megohm and have a voltage rating at least to 250 VAC; clearances and creepage distances become important, as does the requirement for conformal coating. Terminal block TB1 should also have a 250VAC rating. See more below.]] |
|||
[[Image:Oscilloscope circuit 2.png|left|1000px]] |
|||
Line 94: | Line 97: | ||
== Specifications == |
|||
These specifications are valid given use of the preferred components as listed in the Bill of Materials for a 50:1 divider probe, R1 = R2 = 1 megohm, R3 = R4 = 20K ohms, unless otherwise noted: |
|||
* '''Signal-input plug''': mono audio plug (3.5 mm, 1/8") (stereo plug will work too -- connect both inputs together) |
|||
* '''Power-input plug''': "naked" USB connector -- A-type 4 pin -- with plastic "boot" |
|||
::* '''+5 volt power source''' -- derived from the laptop's USB port (red and black wires inside a sliced-open USB cable) |
|||
::* '''+5 volt current draw''' -- a few milliamperes (less than 5 milliamperes) |
|||
::* '''Minimum power-source voltage''' -- approximately +4.0 volts [as low as +3.0 volts is possible]. |
|||
* '''Voltage Gain''': R2/R1 (i.e. the circuit divides the input down by this ratio). 1 meg/20K = 50:1 |
|||
* '''Laptop settings''': Set MEASURE to DC and OFFSET to OFF |
|||
::* No harm will result if these setting are wrong, e.g. the activity starts in MEASURE = AC. The gain will be higher in AC, but this probe can be used in AC too. |
|||
* '''Common-mode input impedance''': 1 megohm each side to circuit common |
|||
* '''Differential-mode input impedance''': twice the common-mode impedance |
|||
* '''Maximum input voltage''' -- tested to 120 VAC. 240 VAC test TBD. |
|||
:*''The components as specified -- in particular R1 and R2 = 1 megohm 500 volt resistors -- are adequate for the task. However, this also assumes a correctly-fabricated and designed pc board with adequate clearance and creepage distance (i.e. tracking-distances across the pc board) between the '''+''' and '''-''' inputs, R1 and R2 circuit "pads" at their "input" ends, and conformal coating both sides.'' |
|||
* '''Measureable input voltage''': See also AC and DC common-mode rejection specifications. The "gain slider" is the adjustment on the right-hand side of the screen. The trace is adjusted to center-screen and then voltage applied to the (+) and (-) probe inputs; the voltage is adjusted until the trace moves to fully up (+ voltage), or down (- voltage): |
|||
'''Gain of 1/100, i.e. R1 = R2 = 1.00 megohms 0.1%, R2 = R3 = 10.0K ohms 0.1%''': |
|||
{|{{prettytable}} |
|||
|- style="font-size:9pt;font-weight:bold" align="center" valign="bottom" |
|||
| width="65.25" Height="12" | Gain slider |
|||
| width="114.75" | Maximum +V input, volts |
|||
| width="126" | Maximum -V input, volts |
|||
| width="113.25" | Volts per major division |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | Full up |
|||
| 0.367 |
|||
| -0.368 |
|||
| approx 0.050 |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | 75% up |
|||
| 2.126 |
|||
| -2.036 |
|||
| |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | 50% up |
|||
| 13.13 |
|||
| -12.62 |
|||
| |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
==== Specifications ==== |
|||
| Height="12" | 25% up |
|||
These specifications are valid given use of the preferred components as listed in the Bill of Materials: |
|||
| 78.5 |
|||
* '''Signal-input plug''': mono audio jack (3.5 mm, 1/8", see above) |
|||
| -73 |
|||
* '''Power-input plug''': USB connector |
|||
| |
|||
::* Use either a "naked" connector or a USB cable cut and stripped to reveal the red (+5 volt) and black (0 volt -- common) wires. Cut the other two wires flush and tape-over their ends individually. |
|||
* '''Voltage Gain''': 1/20 (i.e. the circuit divides the input down by 10) |
|||
::* Accuracy will depend on the ratios of R1:R3 and R2:R4. |
|||
* '''Input impedance''': 200,000 ohms (200K) each side to circuit common |
|||
* '''Laptop settings''': Set either (i) MEASURE to DC and OFFSET to OFF, or (ii) MEASURE to AC and OFFSET to OFF |
|||
::* No harm will result if these setting are wrong, e.g. the activity starts in MEASURE = AC. The gain will be higher in AC, but the amplfier can be used in AC too). |
|||
* '''+5 volt power source''' -- derived from the nearby USB port (red and black wires inside a sliced-open USB cable) |
|||
* '''+5 volt current draw''' -- a few milliamperes |
|||
* '''Minimum power-source voltage''' -- approximately +4.0 volts [as low as +3.0 volts is possible, better meassurements TBD] |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
* '''Maximum input voltage''': +/-15 volts useable, tested to +/-30 volts. See also AC and DC common-mode rejection specifications. |
|||
| Height="12" | 12.5% up |
|||
::* I.e. apply the voltage of 15 volts (30 volts absolute maximum for testing) in both polarities by "flipping the battery" |
|||
| 80 |
|||
* '''Frequency specification''': DC to 1000 hertz (1 KHz). Beyond this frequency significant aliasing occurs. |
|||
| -80 |
|||
| approx 10 |
|||
|} |
|||
'''Gain of 1/50, i.e. R1 = R2 = 1.00 megohms 0.1%, R2 = R3 = 20.0K ohms 0.1%''': |
|||
{|{{prettytable}} |
|||
|- style="font-size:9pt;font-weight:bold" align="center" valign="bottom" |
|||
| width="65.25" Height="12" | Gain slider |
|||
| width="114.75" | Maximum +V input, volts |
|||
| width="126" | Maximum -V input, volts |
|||
| width="113.25" | Volts per major division |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | Full up |
|||
| 0.185 |
|||
| -0.189 |
|||
| approx 0.025 |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | 12.5% up |
|||
| 40 |
|||
| -40 |
|||
| approx 5 |
|||
|} |
|||
* '''Input-frequency specification''': DC to 10,000 hertz (10 KHz). Beyond this frequency significant aliasing occurs. |
|||
::* "Aliasing" appears as wiggles on what should be a pure sine wave (an envelope that modulates the input). This is caused by the sampling of the waveform done by the input-converter (codec). |
::* "Aliasing" appears as wiggles on what should be a pure sine wave (an envelope that modulates the input). This is caused by the sampling of the waveform done by the input-converter (codec). |
||
* '''DC Common-mode rejection''': both inputs tied together and voltage injected relative to the power-common (circuit 0 volts), tested to +/-30 volts DC: less than 0.001 volt DC (unobservable on the laptop). |
|||
{|{{prettytable}} |
|||
::* DC Common-mode rejection depends critically upon the matching to resistors R1 to R2 (100K) and R3 to R4 (10K). Matching of 0.1% is required either by buying 0.1% resistors, or buying e.g. a 100 or a 1000 of inexpensive metal-film resistors and sorting them. |
|||
|- style="font-size:9pt;font-weight:bold" align="center" valign="bottom" |
|||
* '''AC Common-mode rejection''': measured relative to the power-common (circuit 0 volts), 0-1000 Hz, +6 volts AC rms injected: less than 0.001 volt AC rms (observable at the highest gain setting of the laptop: approx 2 scale divisions) |
|||
| width="95.25" Height="12" | Trace-speed slider |
|||
| width="114.75" | Minimum frequency |
|||
| width="126" | Maximum frequency |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | Right - fast |
|||
| TBD |
|||
| TBD |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | Center - medium |
|||
| TBD |
|||
| TBD |
|||
|- style="font-size:9pt" align="center" valign="bottom" |
|||
| Height="12" | Left - slow |
|||
| TBD |
|||
| TBD |
|||
|} |
|||
* '''DC Common-mode rejection''': Voltage injected between (i) the two inputs tied together, and (ii) circuit common (circuit 0 volts), tested to +/-90 volts DC. |
|||
::* DC Common-mode rejection depends critically upon the matching of resistors R1 to R2 and R3 to R4. Matching of ratios R1/R3 = R2/R4 to 0.1% is required. |
|||
* '''AC Common-mode rejection''': Measured relative to the power-common (circuit 0 volts), 0-1000 Hz, +6 volts AC rms injected: less than 0.001 volt AC rms (observable at the highest gain setting of the laptop: approx 2 scale divisions) |
|||
::* AC common mode rejection depends critically not only on the matching of the resistors R1 to R2 and R3 to R4 but also upon stray capacitance in the circuit, the ''apparent'' impedance of the reference-voltage source (i.e. the reference-op amp's output impedance), the quality of the op-amps themselves, etc. |
::* AC common mode rejection depends critically not only on the matching of the resistors R1 to R2 and R3 to R4 but also upon stray capacitance in the circuit, the ''apparent'' impedance of the reference-voltage source (i.e. the reference-op amp's output impedance), the quality of the op-amps themselves, etc. |
||
== Circuit description == |
|||
This simple circuit is called a "differential amplifer" and although not very fancy it |
This deceptively-simple "probe" circuit is called a "differential amplifer" (differencing amplifier) and although not very fancy it performs the fundamental task of isolating and protecting the laptop from adverse electrical events while allowing the student to measure voltages in excess of +5 volts, minus voltages, etc. |
||
The circuit requires some design tricks and represents some design-challenges, to be described below. |
|||
: This circuit has the advantage of not presenting an input voltage greater than +5 volts to the microphone input, plus the USB-port's circuit limits its +5 volt output-current to about 1 ampere in case something short-circuits the USB's output voltage. |
: This circuit has the advantage of not presenting an input voltage greater than +5 volts to the microphone input, plus the USB-port's circuit limits its +5 volt output-current to about 1 ampere in case something short-circuits the USB's output voltage. |
||
::* '''''If properly designed''''', this circuit should survive "accidents" and protect the laptop and the child against such accidents as: "plugging the probe into the 240VAC wall-outlet". |
|||
::* '''''Any supply voltage derived from another source must be less than +5 volts'''''. For example, three 1.5 volt batteries will also work at +4.5 volts -- as long as the batteries are not accidentally reversed !! -- but four 1.5 volt batteries at 6.0 volts present a risk of inputting more than +5 volts into the microphone input. |
::* '''''Any supply voltage derived from another source must be less than +5 volts'''''. For example, three 1.5 volt batteries will also work at +4.5 volts -- as long as the batteries are not accidentally reversed !! -- but four 1.5 volt batteries at 6.0 volts present a risk of inputting more than +5 volts into the microphone input. |
||
::* ''Any externally-derived power voltage (batteries solar cells, etc) directly applied also risks of reveral. If a battery is to be used, add a reverse-protection schottky diode e.g. Avago 1N5711 static-protected by a 0.1 uf capacitor in series with the battery (i.e. a 4.5 volt battery with a 0.4 volt diode drop). A better scheme uses a low-current, +5 volt low-dropout-voltage regulator. Details TBD.'' |
::* ''Any externally-derived power voltage (batteries solar cells, etc) directly applied also risks of reveral. If a battery is to be used, add a reverse-protection schottky diode e.g. Avago 1N5711 static-protected by a 0.1 uf capacitor in series with the battery (i.e. a 4.5 volt battery with a 0.4 volt diode drop). A better scheme uses a low-current, +5 volt low-dropout-voltage regulator. Details TBD.'' |
||
'''Trick #1 -- "Differential" rather than "single-ended" input''': A single-ended amplifer connects one of its two inputs directly to the circuit common -- the metallic part of the USB port, for instance. Any current or voltage on the common goes directly into the laptop. So if somehow such a probe's input-lead is inadvertenly connected to a high voltage, this voltage will appear on the metallic parts of the laptop. If the laptop is electrically isolated, this adverse voltage will present a touch-hazard. If the laptop is electrically grounded, it will be destroyed. |
|||
'''Trick #1 -- Artificial "ground":''' The analog-to-digital converter (codec, A1888) converts (works only on) plus-DC voltages between +0 volts (minimum, corresponding to bottom of screen with high gain (control near the top)) and +2.83 volts (maximum, corresponding to top of screen with high gain (control near the top)) . A special highly-stable reference voltage called a "band-gap reference" provides a steady +1.225 volt "offset" to "locate" the input at 1/2 of this range i.e. approximately +1.41 volts (one G1G1 unit +1.181 volts). This voltage places the trace in the center of the screen. Thus, input-voltages less than this "centering-voltage" will drive the trace lower than center, and voltages greater than this "centering-voltage" will drive the trace higher than center. |
|||
A differential amplifier's two inputs, a "plus" (+) and "minus" (-) are ''both somewhat isolated'' from the laptop's common by high-value resistors (true "galvanic" isolation is possible but expensive). |
|||
'''Trick #2 -- Matched resistors:''' The "common-mode rejection ratio" -- the ability of the circuit to reject noise that is on ''both'' signal-leads simultaneously -- is determined by the precision of matching of the two 200K resistors to 0.1%, and the two 10K resistors to 0.1%. The exact 200K-to-10K ratio (i.e. 20:1) is not particularly important, and will be good to +/-2% with typical 1% resistors. (All four can be matched for very precise 20:1 division, but the resistors themselves can drift with temperature and time). The resistors should also not "drift" too much with temperature; since they will, at about 50 parts per million per degree C, they all should be of the same metal-film type. The recommended type is a tempertaure-time-voltage-stable metal-film 1/4 watt resistor such as the Vishay CMF55-type (industrial type similar to the RN55D type). |
|||
As a properly-designed single-ended amplifier will require use of the same 4 resistors (R1*, R2*, R3**, and R4**) as the "differential" amplifer. Moreover, the differential amplifer subtracts away "common-mode" noise Vn and common-mode voltage Vcm i.e. noise and voltages that appear on both leads (relative to circuit common): i.e. |
|||
The recommended approach is to buy a bunch of decent resistors (e.g. from Mouser at www.mouser.com, a quantity of 100 of 10K cost about $7.00 US, a 1000 cost about $25.00 US) and then sort them into 0.1% categories. Unfortunately this requires a digital ohmmeter. Another approach is to just buy precision resistors (at about 10x the cost). Other approaches TBD. |
|||
: ( V(+) + Vn + Vcm) - ( V(-) + Vn + Vcm ) = V(+) - V(-) |
|||
So it makes sense to design the amplifer as a differential amplifer. |
|||
==== Bill of Materials (BOM) ==== |
|||
'''Trick #2 -- Artificial "ground":''' This trick kills two problems with one stone. (i) The laptop accepts only positive voltages: The laptop's analog-to-digital converter (codec: AD1888) converts (works only on) plus-DC voltages between approximately +0.3 volts (minimum, corresponding to bottom of screen with high gain (control near the top)) and approximately +2.0 volts (maximum, corresponding to top of screen with high gain (the slider control near the top)). this means that approximately +1.18 volts puts the trace into the center of the screen. |
|||
The following BOM specifies relatively good-quality components. Prices of the resistors assumes a 100-piece buy; all other prices (e.g. bandgap reference, LM358AN, potentiometer) are single-unit. 100-piece buys would cut the cost by at least 1/3 if not more. Substitution of lesser-quality components (e.g. carbon composition resistors, generic LM358N, two 1N4148 signal diodes in series in place of the bandgap reference, single-turn "trimmer" potentiometer) would cut the cost even further but significantly degrade performance. |
|||
Thus the probe-circuit must "offsets" the difference between the "+" and "-" inputs with this voltage of approximately +1.18 volts. It derives this from a highly-stable "band-gap reference" (any number of different types are possible -- +1.225 volts +/-1% volt, +1.235 volt +/-1%, 2.50 volts +/-1% etc.) Audio-jack inputs less than this "centering-voltage" will drive the trace lower than center, and inputs greater than this "centering-voltage" will drive the trace higher than center. At the laptop's highest gain the voltages require to do this are quite small -- on the microvolt range. |
|||
(ii) Increasing common-mode voltage rejection: Together with the choice of R1 and the gain of the circuit, this +1.18 volt offset dictates the maximum common-mode voltage that the probe can "accept" and still function correctly. For example, with R1* = 1 megohm and an attenuation of 1:50 (i.e. the probe reduces the input to 1/50*( V(+) - V(-) ), a negative "common mode" input will be divided down by a factor of 50. If this common-mode voltage V(+) is negative, it will suck out out of the input approximately Vin/(R1+R2) amps, and this will develop a voltage at the input to the amplifier of Vin*R2/(R1+R2)+1.18 volts. |
|||
: Example: Common mode voltage is -100 volts, R1* = 1 megohm, R2 = 10K: |
|||
:: -100*20,000/(1,000,000 + 20,000) + 1.18 = -0.96 + 1.18 or -0.22 volts. |
|||
Can the amplifier (LM358AN) tolerate this? Yes, it can tolerate up to -0.3 volts at its (+) and (-) pins. What really happens depends on the circuit design. The part can tolerate up to 50 milliamps being sucked from the (+) or (-) pins. And the resistors prevent any more than a few hundred ''micro''amps from being pulled from the pins. So the amplifier will survive. |
|||
What about the preferred but expensive LT1413N. In this circuit it can withstand voltages on its (+) and (-) pins equal to the supply voltage (e.g. +5 volts) and -5 volts. |
|||
'''Trick #3 -- Matched decent-quality (i.e. not carbon-film or carbon-composition) resistors:''' The R1/R3, R2/R4 is called a "bridge" circuit. Its "common-mode rejection ratio" -- the ability of the circuit to reject noise that is on ''both'' signal-leads simultaneously -- is determined by the precision of matching of the two resistor-''pairs'' R1/R3 and R2/R4 to 0.1%. The exact R1/R3 and R2/R4 ratio (i.e. 20:1, 50:1, 100:1) is not particularly important, but the two ''ratios'' should match to 0.1%. (All four resistors can be matched for very precise division, but the resistors themselves can drift with temperature and time, and the amplifier's input offset will drift, as will the voltage reference). Ideally the resistors should not "drift" too much with temperature; but since they will, at about 25-50 parts per million per degree C (the CMF type), they all should be of the same metal-film construction. The recommended type is a tempertaure-time-voltage-stable (50 parts-per-million) metal-film 1/4 watt resistor such as the Vishay CMF55. |
|||
One approach is to buy a bunch of decent resistors (e.g. the metal-film industrial Vishay/Dale CMF or IRC RC55LF-D type available from Mouser at www.mouser.com, a quantity of 100 of 10K cost about $7.00 US, a 1000 cost about $25.00 US) and then sort them into 0.1% categories. Unfortunately this requires a digital ohmmeter. But a trial sort of 100 showed extremely tight matching (+/-0.2% around the nominal). Another approach is to just buy precision resistors (at about 8-to-10x the cost): |
|||
* IRC RC55LF-D-10K, 0.1% 25 parts per million per deg C, 1/4 watt at 70C, $0.96 each or $0.64 each in 100's |
|||
* IRC RC55LF-D-20K, 0.1% 25 parts per million per deg C, 1/4 watt at 70C, $0.96 each or $0.64 each in 100's |
|||
* Vishay/Dale PTF5610K000BYBF, 10K 0.1% 10 parts per million per deg C, 1/8 watt at 85C, max 300 volts @ $0.82 ea, or $0.53 each in 100s |
|||
* Vishay/Dale PTF5620K000BYBF, 20K 0.1% 10 parts per million per deg C, 1/8 watt at 85C, max 300 volts @ $0.82 ea, or $0.53 each in 100s |
|||
With larger-value resistors R1 = R2 = e.g. 1.0 megohm (the recommendation), measurements with a low-cost ohmeter become problematic and suspect due to phenomena such as test-lead tribo-electric noise. An approach is to sort R3 and R4 to 0.1%, pick an R1 randomly, build a bridge circuit on a plug-in board, and test for R2 matching (the voltmeter goes between R1/R3 and R2/R4. Connect R1 and R2 to a higher voltage supply for more precision -- an acceptable error-reading will be on the order of 0.1 millivolt (100 microvolts). |
|||
The recommended procedure, if price is no object, is to buy the precision resistors: |
|||
* IRC RC55LF-D-1.0M, 0.1% 25 parts per million per deg C, 1/4 watt @ $1.08 each or $0.72 in 100's |
|||
* Vishay/Dale PTF651M0000BXBF, 0.1% 15 parts per million per deg C, 1/4 watt, 500 volt @ $1.68 each, or $1.28 in 100's |
|||
'''Trick #4 -- Use higher-voltage input resistors that can handle extreme overloads :''' Resistors actually have ''voltage'' specifications as well as power specifications. An ideal circuit should survive, and protect the laptop against, 10% high line 230VAC, i.e. 358 volts peak, the common household voltage in much of the world. The industrial voltage 400 +10% VAC 50 Hz i.e. 622 volts peak, or 480 +6% VAC 60Hz i.e. 720 volts peak in the Americas will be destructive). If equipped with 1 megohm, higher-voltage (400-500 volt resistors) input-resistors R1* and R2* in both "legs" of the probe should survive this "household" voltage. This corresponds to 0.07 watts of power, 400 microamps in each resistor ''common mode''. But in fact in differential mode the probe divides this power and leakage in half. |
|||
: Example: Common-mode worst case: the laptop power puts earth-ground potential but the probes are both plugged into 230 +10% VAC and this is referenced to the same earth common: (230 +10% VAC)^2/(1,000,000) = 0.105 watts, and 358 volts peak/1,000,000 = 385 microamps into and out of the probe's (+) and (-) inputs and the laptop's common (0 volts of the USB plug). |
|||
: Example: Differential-mode worst case: the laptop's power is derived from a "floating" source (e.g. the AC-to-DC adapter provided) but the (-) and (+) are plugged into the 230 + 10% VAC receptacle: (230 +10% VAC)^2/(2,000,000) = 0.05 watts, and 180 volts peak/1,000,000 = 180 microamps into and out of the probe's (+) and (-) inputs. |
|||
The tradeoff with larger-value resistors will be more circuit error due to leakage across surfaces, e.g. caused by dust and humidity and their combination. An enclosure together with conformal coating becomes more important. More about this TBD. |
|||
'''Trick #5 -- Pick a decent-quality "centering" adjustment''': |
|||
:''As the laptop warms up the internal reference of the AD1888 "drifts" for about 10 minutes until the voltage stabilizes. This causes the centering to move in one direction or the other.'' |
|||
This has proven to be the most difficult and potentially-expensive part of the design. "Trim-pots" can survive only about 200 adjustments (Bourns specification). A 500 full-cycle test of a Vishay/Sfernice trimpot destroyed it. An adjustment potentiometer that can withstand 25 adjustments a day x 200 days a year x 10 years = 50,000 cycles cost as much as the precision resistors and the amplifer. The favored potentiometers -- a Honeywell pc board-mounted pot and a pin equivalent Bourns pot -- P1 are shown on the Bill of Materials. At least one other manufacturer makes a "pot" that is pin-for-pin compatible. |
|||
'''Trick #6 -- Use only parts that can be hand-assembled''': Fewer and fewer parts are designed as "through-hole" with leads on 0.10 inch spacings (2.54 mm), and many very nice parts cannot be hand-assembled because of their tiny sizes. |
|||
'''Trick #7 -- Bend the precision resistors' leads correctly (clamp needlenose pliers between resistor body, then bend lead against needlenose0 and do not apply too much solder-heat -- heatsink with needlenose or alligator clips when soldering ''': The IRC and Vishay/Dale resistors will drift +/-0.03% (typical) due to soldering. They also don't like physical shock (+/-0.03% typical). Precision components require precision treatment. |
|||
'''Trick #8 -- Ruggedize the mechanical design''': The pc board itself is rather rugged. But leads into and out of an enclosure will be subject to stress and strain. Potentiometers will suffer blows. Best practices would either "sink" the plane of a control below the surface of the enclosure or as low as possible (a good example is the laptop's controls). |
|||
A suggested, alternative design "floats" the pc board inside its enclosure and pushes it (i.e. the potentiometer P1) against the enclosure's lid with a small circle of stiff polyethylene foam. If a child pounds the knob downward, or the enclosure falls on the floor with the knob hitting, there is enough compliance in the potentiometer's shaft to protect it -- the knob hits the lid before the pc board "bottoms out". A sideways blow could be damaging but will probably "flip" the enclosure. |
|||
== Bill of Materials (BOM) == |
|||
The following BOM specifies relatively good-quality components and reflect the schematic and the build instructions. Alternate parts are listed. |
|||
{|{{prettytable}} |
{|{{prettytable}} |
||
|- style="font-size:9pt;font-weight:bold" |
|- style="font-size:9pt;font-weight:bold" |
||
| width="48" Height=" |
| width="48" Height="48" align="center" | Part |
||
| width="223.5" | Description |
| width="223.5" | Description |
||
| width="90.75" align="center" | Preferred Manuf |
| width="90.75" align="center" | Preferred Manuf |
||
| width=" |
| width="102" align="center" | Preferred Part Number |
||
| width="162" align="center" | Comments |
| width="162" align="center" | Comments |
||
| width="20.25" align="center" | Qty |
| width="20.25" align="center" | Qty |
||
| width=" |
| width="36" align="center" | each, USD |
||
| width=" |
| width="39" align="center" | 100 piece price |
||
| width=" |
| width="35.25" align="center" | 1000 piece price |
||
| width=" |
| width="31.5" align="center" | 1-piece price total |
||
| width="39.75" align="center" | 100-piece price total |
|||
| width="41.25" align="center" | 1000 piece total |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="36" align="center" | C1 |
||
| | Capacitor: 0.1 microfarad (uf), 10%, 63 V, metallized polyester, 0.20 inch lead spacing, box style |
| | Capacitor: 0.1 microfarad (uf), 10%, 63 V, metallized polyester, 0.20 inch lead spacing, box style |
||
| align="center" | |
| align="center" | Epcos |
||
| align="center" | |
| align="center" | B32529C334K |
||
| align="center" | |
| align="center" | Visay/ Roederstein MKT1817410065 at $0.25/0.18/0.14; AVX BQ014D01044K at $0.11/0.06/0.036 |
||
| align="center" | |
| align="center" | 1 |
||
| align="center" | 0. |
| align="center" | 0.17 |
||
| align="center" | 0. |
| align="center" | 0.066 |
||
| align="center" | 0. |
| align="center" | 0.046 |
||
| align="center" | 0. |
| align="center" | 0.17 |
||
| align="center" | 0.07 |
|||
| align="center" | 0.046 |
|||
|- style="font-size:9pt" |
|||
| Height="47.25" align="center" | C2 |
|||
| | Capacitor: 0.33 microfarad (uf), 10%, 63 V, metallized polyester, 0.20 inch lead spacing, box style |
|||
| align="center" | Epcos |
|||
| align="center" | B32529C334K |
|||
| align="center" | Visay/ Roederstein MKT1817433065 at $0.26/0.138/0.077; AVX BQ024D03344K at $0.21/ 0.1125/ 0.0675 |
|||
| align="center" | 1 |
|||
| align="center" | 0.26 |
|||
| align="center" | 0.138 |
|||
| align="center" | 0.077 |
|||
| align="center" | 0.26 |
|||
| align="center" | 0.14 |
|||
| align="center" | 0.077 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
Line 169: | Line 324: | ||
| | IC: Dual op-amp, single-supply 3 volt min, 3 mv max input offset, 30 nA input offset current max, 8-pin DIP |
| | IC: Dual op-amp, single-supply 3 volt min, 3 mv max input offset, 30 nA input offset current max, 8-pin DIP |
||
| align="center" | Fairchild Semi, National Semi |
| align="center" | Fairchild Semi, National Semi |
||
| align="center" | LM358AN or |
| align="center" | LM358AN or LM258AN |
||
| align="center" | ST Micro, Texas Instruments, etc. |
| align="center" | ST Micro, Texas Instruments, etc. |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0. |
| align="center" | 0.34 |
||
| align="center" | 0. |
| align="center" | 0.24 |
||
| align="center" | 0. |
| align="center" | 0.138 |
||
| align="center" | 0. |
| align="center" | 0.34 |
||
| align="center" | 0.24 |
|||
| align="center" | 0.138 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | LED1 |
| Height="24" align="center" | LED1 |
||
| | LED: green |
| | LED: green clear, 20 millicandela, 2.2V forward voltage, T-1 3/4, 0.1 inch lead spacing |
||
| align="center" | Kingbright |
| align="center" | Kingbright |
||
| align="center" | |
| align="center" | WP7113SGC |
||
| align="center" | Any color, any manufacturer: Avago HLMP-3507 |
| align="center" | Any color, any manufacturer: Avago HLMP-3507 |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0.13 |
| align="center" | 0.13 |
||
| align="center" | 0.10 |
|||
| align="center" | 0.07 |
|||
| align="center" | 0.13 |
| align="center" | 0.13 |
||
| align="center" | 0.10 |
| align="center" | 0.10 |
||
| align="center" | 0. |
| align="center" | 0.07 |
||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | P1 |
| Height="24" align="center" | P1 |
||
| | Potentiometer |
| | Potentiometer, single turn, conductive plastic, PC mount, 10K ohm +/-20%, 50000 cycle life |
||
| align="center" | Honeywell |
|||
| align="center" | 574SX1M48F103SD |
|||
| align="center" | PC-mount hole pattern is same as Bourns and other manuf. |
|||
| align="center" | 1 |
|||
| align="center" | 3.10 |
|||
| align="center" | 1.68 |
|||
| align="center" | 1.445 |
|||
| align="center" | 3.10 |
|||
| align="center" | 1.68 |
|||
| align="center" | 1.445 |
|||
|- style="font-size:9pt" |
|||
| Height="48" align="center" | P2 |
|||
| | Potentiometer, trimmer, sealed, single turn, 1/4 inch cermet, 1K, 10%, 100 ppm/deg C, vertical mount |
|||
| align="center" | Bourns |
| align="center" | Bourns |
||
| align="center" | |
| align="center" | 3362X-1-102LF |
||
| align="center" | |
| align="center" | Or equivalent staggered pinout e.g. 3/8 inch 3386X-1-102LF or BI Technologies equivalents, Vishay/Sfernice equivalents |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | |
| align="center" | 0.83 |
||
| align="center" | 0.65 |
|||
| align="center" | 0.555 |
|||
| align="center" | 0.83 |
|||
| align="center" | 0.65 |
|||
| align="center" | 0.555 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | R1*,R2* |
|||
| | Resistor: 1.00 meg, 0.1%, 1/2 watt precision, metal film, 10-25 ppm/deg C |
|||
| align="center" | Vishay/Dale |
|||
| align="center" | CMF601M0000BEEK |
|||
| align="center" | first B designates 0.1% |
|||
| align="center" | 2 |
|||
| align="center" | 0.70 |
|||
| align="center" | 0.45 |
|||
| align="center" | 0.28 |
|||
| align="center" | 1.40 |
|||
| align="center" | 0.90 |
|||
| align="center" | 0.56 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | (R1*, R2*) |
|||
| | Resistor: 1.00 meg, 1%, 1/2 watt commercial, metal film, matched to 0.1% |
|||
| align="center" | Vishay/Dale |
|||
| align="center" | CMF601M0000FHEK |
|||
| align="center" | Generic metal film 1%, 100ppm/deg C: RN60D1002F |
|||
| align="center" | 2 |
|||
| align="center" | 0.18 |
|||
| align="center" | 0.15 |
|||
| align="center" | 0.13 |
|||
| align="center" | |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 1.28 |
|||
| align="center" | |
| align="center" | |
||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | (R1*,R2*) |
||
| | Resistor: 1.00 meg, 0.1%, 1/2 watt precision, metal film, 10-25 ppm/deg C |
|||
| | Potentiometer: 10K 1 Turn cermet 3/8 inch square with knob |
|||
| align="center" | Vishay/ |
| align="center" | Vishay/Dale |
||
| align="center" | |
| align="center" | PTF651M0000BYBF |
||
| align="center" | |
| align="center" | also: IRC RC55LF-D-1.0M, 25 ppm, 200 volt,L $0.96/$0.64 |
||
| align="center" | |
| align="center" | 2 |
||
| align="center" | 1. |
| align="center" | 1.87 |
||
| align="center" | 1. |
| align="center" | 1.21 |
||
| align="center" | 0. |
| align="center" | 0.94 |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | (R3**, R4**) |
||
| | Resistor: |
| | Resistor: 20.0K, 0.1%, 1/4 watt , metal film, 50 ppm/deg C |
||
| align="center" | Vishay |
| align="center" | Vishay |
||
| align="center" | |
| align="center" | CMF5520B000BHEB |
||
| align="center" | |
| align="center" | first B designates 0.1%, second B tape-and-reel |
||
| align="center" | 2 |
| align="center" | 2 |
||
| align="center" | 0. |
| align="center" | 0.36 |
||
| align="center" | 0. |
| align="center" | 0.29 |
||
| align="center" | 0. |
| align="center" | 0.24 |
||
| align="center" | 0. |
| align="center" | 0.72 |
||
| align="center" | 0.58 |
|||
| align="center" | 0.48 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | R3**, R4** |
| Height="24" align="center" | (R3**, R4**) |
||
| | Resistor: |
| | Resistor: 20.0K, 1%, 1/4 watt, metal film, matched to 0.1%, 50 ppm/deg C or better |
||
| align="center" | Vishay |
| align="center" | Vishay |
||
| align="center" | |
| align="center" | CMF5520K000FHEK |
||
| align="center" | Generic metal film 1%: |
| align="center" | Generic metal film 1%, 100ppm/deg C: RN55D2002F, matched to 0.1% |
||
| align="center" | 2 |
| align="center" | 2 |
||
| align="center" | 0.14 |
| align="center" | 0.14 |
||
| align="center" | 0.28 |
|||
| align="center" | 0.07 |
| align="center" | 0.07 |
||
| align="center" | 0. |
| align="center" | 0.055 |
||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | ( R3**, R4** ) |
||
| | Resistor: |
| | Resistor: 20.0K, 0.1%, 1/4 watt precision, metal film, 10-25 ppm/deg C |
||
| align="center" | Vishay |
| align="center" | Vishay |
||
| align="center" | |
| align="center" | PTF5620K000BYBF |
||
| align="center" | |
| align="center" | also: IRC RC55LF-D-20K, 0.1%, 25 ppm, 200 volt: $0.96/$0.64 |
||
| align="center" | |
| align="center" | 2 |
||
| align="center" | 0. |
| align="center" | 0.88 |
||
| align="center" | 0. |
| align="center" | 0.685 |
||
| align="center" | 0. |
| align="center" | 0.55 |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | R3**, R4** |
||
| | Resistor: |
| | Resistor: 20.0K, 0.1%, 1/4 watt , metal film, 50 ppm/deg C |
||
| align="center" | Vishay |
| align="center" | Vishay |
||
| align="center" | |
| align="center" | CMF5520B000BHEB |
||
| align="center" | |
| align="center" | first B designates 0.1%, second B tape-and-reel |
||
| align="center" | 2 |
|||
| align="center" | 0.36 |
|||
| align="center" | 0.29 |
|||
| align="center" | 0.24 |
|||
| align="center" | 0.72 |
|||
| align="center" | 0.58 |
|||
| align="center" | 0.48 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | R6, R11 |
|||
| | Resistor: 10.0K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C |
|||
| align="center" | Xicon |
|||
| align="center" | 271-10K-RC |
|||
| align="center" | |
|||
| align="center" | 2 |
|||
| align="center" | 0.09 |
|||
| align="center" | 0.02 |
|||
| align="center" | 0.012 |
|||
| align="center" | 0.18 |
|||
| align="center" | 0.04 |
|||
| align="center" | 0.024 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | R7 |
|||
| | Resistor: 8.45K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C |
|||
| align="center" | Xicon |
|||
| align="center" | 271-8.45K-RC |
|||
| align="center" | |
|||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0. |
| align="center" | 0.02 |
||
| align="center" | 0. |
| align="center" | 0.012 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0.02 |
|||
| align="center" | 0.012 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | R8 |
||
| | Resistor: |
| | Resistor: 20.0K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C |
||
| align="center" | |
| align="center" | Xicon |
||
| align="center" | |
| align="center" | 271-20K-RC |
||
| align="center" | |
| align="center" | |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0. |
| align="center" | 0.02 |
||
| align="center" | 0. |
| align="center" | 0.012 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0.02 |
|||
| align="center" | 0.012 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | R10 |
||
| | Resistor: |
| | Resistor: 499 ohm, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C |
||
| align="center" | |
| align="center" | Xicon |
||
| align="center" | |
| align="center" | 271-499-RC |
||
| align="center" | |
| align="center" | |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0. |
| align="center" | 0.02 |
||
| align="center" | 0. |
| align="center" | 0.012 |
||
| align="center" | 0. |
| align="center" | 0.09 |
||
| align="center" | 0.02 |
|||
| align="center" | 0.012 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | R5, R12 |
||
| | |
| | Resistor: 1K, 1%, 1/4 watt commercial, metal film, 50ppmdeg C |
||
| align="center" | |
| align="center" | Xicon |
||
| align="center" | |
| align="center" | 271-1K-RC |
||
| align="center" | |
| align="center" | |
||
| align="center" | 2 |
|||
| align="center" | 0.09 |
|||
| align="center" | 0.02 |
|||
| align="center" | 0.012 |
|||
| align="center" | 0.18 |
|||
| align="center" | 0.04 |
|||
| align="center" | 0.024 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | TB1 |
|||
| | Terminal block: screw-type, 5.08mm pitch, 2 terminal, vertical mount, 10mm height, with clamp |
|||
| align="center" | Radio Shack |
|||
| align="center" | 276-1388 |
|||
| align="center" | Set of 4 x 2-position blocks; 2 blocks lock together |
|||
| align="center" | 0.5 |
|||
| align="center" | 2.49 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | 1.25 |
|||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|||
| Height="28.5" align="center" | (TB1) |
|||
| | Terminal block: screw-type, 5.08mm pitch, 2 terminal, vertical mount, 10mm height, with clamp |
|||
| align="center" | Molex |
|||
| align="center" | 39880-0302 |
|||
| align="center" | |
|||
| align="center" | 2 |
|||
| align="center" | 0.55 |
|||
| align="center" | 0.29 |
|||
| align="center" | 0.26 |
|||
| align="center" | |
|||
| align="center" | 0.58 |
|||
| align="center" | 0.52 |
|||
|- style="font-size:9pt" |
|||
| Height="29.25" align="center" | (TB1) |
|||
| | Terminal block: screw-type, 5.08mm pitch, 4 terminal, vertical mount, 10mm height, with clamp |
|||
| align="center" | Phoenix Contact |
|||
| align="center" | 1729144 MKDSN 1.5/4-5.08 |
|||
| align="center" | |
|||
| align="center" | 1 |
|||
| align="center" | 1.44 |
|||
| align="center" | 1.09 |
|||
| align="center" | 0.92 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|||
| Height="12" align="center" | Z1 |
|||
| | 2.50 volt 1% shunt regulator/reference, TO-92 |
|||
| align="center" | Texas Instruments |
|||
| align="center" | TL431ACLP |
|||
| align="center" | Any equivalent |
|||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0.64 |
|||
| align="center" | 0.64 |
|||
| align="center" | 0.40 |
| align="center" | 0.40 |
||
| align="center" | 0.27 |
|||
| align="center" | 0.135 |
|||
| align="center" | 0.40 |
| align="center" | 0.40 |
||
| align="center" | 0.27 |
|||
| align="center" | 0.135 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="12" align="center" | |
| Height="12" align="center" | |
||
| | |
|||
| | 1.235 volt fixed, 1%, 80ppm/deg C, TO-92 |
|||
| align="center" | ON Semiconductor |
|||
| align="center" | LM385BZ-1.2RAG |
|||
| align="center" | Prices vary, as low as $0.24 1-piece |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 0.62 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 0.40 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
|||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | 9.95 |
|||
|style="font-weight:bold" align="center" | 5.92 |
|||
|style="font-weight:bold" align="center" | 4.59 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="48" align="center" | PCB |
||
| | PC Board: 0.062 inch glass-epoxy FR4, 1 oz copper two sides, plated-through holes, 2.913 x 1.330 inch, 67 holes standard sizes, no solder masks or component identifiers |
|||
| | 2.50 volt 1% shunt regulator/reference, TO-92 |
|||
| align="center" | |
| align="center" | AP Circuits |
||
| align="center" | |
| align="center" | --- |
||
| align="center" | |
| align="center" | For budgetary (estimation) purposes |
||
| align="center" | 1 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | 4.97 |
||
| align="center" | 3.34 |
|||
| align="center" | |
|||
| align="center" | 4.97 |
|||
| align="center" | 3.34 |
|||
|- style="font-size:9pt" |
|||
| Height="36" align="center" | (PCB) |
|||
| | 2-sided phenolic double-sided copper 0.062 |
|||
| align="center" | Radio Shack |
|||
| align="center" | 276-1499 |
|||
| align="center" | Yields qty 6 boards: $4.50 + cost of drill ($2.00) + cost of burr ($4.00) divided by 6 |
|||
| align="center" | 1 |
|||
| align="center" | 1.65 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | 1.65 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 0.27 |
|||
| align="center" | |
| align="center" | |
||
|- style="font-size:9pt" |
|||
| Height="25.5" align="center" | Case & lid |
|||
| | Plastic, translucent blue: 3.150 x 1.575 x 0.787 inch |
|||
| align="center" | Hammond Manufacturing |
|||
| align="center" | 1551KTBU |
|||
| align="center" | |
|||
| align="center" | 1 |
|||
| align="center" | 1.84 |
|||
| align="center" | 1.32 |
|||
| align="center" | 1.19 |
|||
| align="center" | 1.84 |
|||
| align="center" | 1.32 |
|||
| align="center" | 1.19 |
|||
|- style="font-size:9pt" |
|||
| Height="49.5" align="center" | knob |
|||
| | Knob diameter TBD -- for best fit knob requires "skirt recess" of 0.11 inch, 0.5 inch shaft depth, knob height approx 0.65-0.75 inch |
|||
| align="center" | Rogan |
|||
| align="center" | PT 5-S |
|||
| align="center" | Rogan knob requires shortening shaft, and clips in place. Use Radio Shack knob for lower-quantity pricing. |
|||
| align="center" | 1 |
|||
| align="center" | 0.75 |
|||
| align="center" | 0.75 |
|||
| align="center" | |
|||
| align="center" | 0.75 |
|||
| align="center" | 0.75 |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|||
| Height="49.5" align="center" | knob |
|||
| | 2-shot black and grey, no markings, 0.62 diameter, 0.45 high, for D-shaft 0.25 long. With spring clip for 2.50 x .218 shaft. |
|||
| align="center" | Rogan |
|||
| align="center" | PT-5-S |
|||
| align="center" | Rogan knob requires shortening shaft, and clips in place. 10K pricing drops to $0.36 |
|||
| align="center" | 1 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | 0.59 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | 0.59 |
|||
|- style="font-size:9pt" |
|||
| Height="55.5" align="center" | knob |
|||
| | 0.625 diameter skirt, 0.25 shaft diameter, |
|||
| align="center" | Handmade |
|||
| align="center" | www.grainger.com supplies the material |
|||
| align="center" | Approximately 100 knobs can be made from a 6 ft long ABS rod at $15.71, $5.02 for PVC Type 1 grey, UHMW-PE Black 5.8 in dia $6.01 |
|||
| align="center" | 1 |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | 0.10 |
|||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|||
| Height="25.5" align="center" | |
|||
| | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
|style="font-weight:bold" align="center" | Sub-total |
|||
|style="font-weight:bold" align="center" | Sub-total |
|||
|style="font-weight:bold" align="center" | Sub-total |
|||
|style="font-weight:bold" align="center" | 4.34 |
|||
|style="font-weight:bold" align="center" | 7.04 |
|||
|style="font-weight:bold" align="center" | 5.12 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | PL1 |
| Height="24" align="center" | PL1 |
||
| | Plug, mono audio 3.5 mm (1/8 inch), black plastic barrel and strain relief |
|||
| align="center" | CUI Inc |
|||
| align="center" | MP3-3501 |
|||
| align="center" | Has somewhat flexible strain relief |
|||
| align="center" | 1 |
|||
| align="center" | 0.76 |
|||
| align="center" | 0.51 |
|||
| align="center" | 0.38 |
|||
| align="center" | 0.76 |
|||
| align="center" | 0.51 |
|||
| align="center" | 0.38 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | (PL1) |
|||
| | PL1: Plug, mono audio 3.5mm (1/8 inch), black plastic barrel |
| | PL1: Plug, mono audio 3.5mm (1/8 inch), black plastic barrel |
||
| align="center" | Kobiconn |
| align="center" | Kobiconn |
||
Line 328: | Line 733: | ||
| align="center" | Generic |
| align="center" | Generic |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0.71 |
|||
| align="center" | 0.71 |
| align="center" | 0.71 |
||
| align="center" | 0.50 |
| align="center" | 0.50 |
||
| align="center" | 0. |
| align="center" | 0.42 |
||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
Line 338: | Line 745: | ||
| align="center" | Kobiconn |
| align="center" | Kobiconn |
||
| align="center" | Mouser 154-UAW16-E |
| align="center" | Mouser 154-UAW16-E |
||
| align="center" | |
| align="center" | Assmann A-USBPA-R: $0.40/0.24/? |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | 0.68 |
| align="center" | 0.68 |
||
| align="center" | 0.42 |
|||
| align="center" | 0.35 |
|||
| align="center" | 0.68 |
| align="center" | 0.68 |
||
| align="center" | 0.42 |
| align="center" | 0.42 |
||
| align="center" | 0. |
| align="center" | 0.35 |
||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | PL2 |
||
| | USB plug-hood: for Kobiconn 154-UAW-16-E |
|||
| | |
|||
| align="center" | Kobiconn |
|||
| align="center" | Mouser 154-UAC16-E |
|||
| align="center" | Acts as a strain relief. Assmann A-USBPA-HOOD-R $0.36/0.22/? |
|||
| align="center" | 1 |
|||
| align="center" | 0.54 |
|||
| align="center" | 0.33 |
|||
| align="center" | 0.27 |
|||
| align="center" | 0.54 |
|||
| align="center" | 0.33 |
|||
| align="center" | 0.27 |
|||
|- style="font-size:9pt" |
|||
| Height="29.25" align="center" | test-lead wire |
|||
| | RED PVC insulation, 28 AWG 19x40 stranding, 0.018 inch insulation, 0.047 inch total diameter. |
|||
| align="center" | www. e-z-hook.com |
|||
| align="center" | 9501-100-red; 9501-1000-red |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 4 |
|||
| align="center" | 0.228 |
|||
| align="center" | 0.228 |
|||
| align="center" | 0.16 |
|||
| align="center" | 0.912 |
|||
| align="center" | 0.91 |
|||
| align="center" | 0.64 |
|||
|- style="font-size:9pt" |
|||
| Height="29.25" align="center" | (test-lead wire) |
|||
| | RED PVC insulation, 300V, 28 AWG 7x36 stranding, 0.018 inch insulation, 0.047 inch total diameter. |
|||
| align="center" | Alpha |
|||
| align="center" | Alpha UL1007 |
|||
| align="center" | |
|||
| align="center" | 4 |
|||
| align="center" | 0.225 |
|||
| align="center" | 0.225 |
|||
| align="center" | 0.108 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | 5.91 |
|||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | 3.77 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="29.25" align="center" | test-lead wire |
||
| | BLACK PVC insulation, 28 AWG 19x40 stranding, 0.018 inch insulation, 0.047 inch total diameter. |
|||
| | PC Board: 0.062 inch thick phenolic or glass-epoxy, 1 oz copper-clad one side, 3.03 x 1.85 inch, prepunched 0.042 holes on 0.1 inch centers |
|||
| align="center" | |
| align="center" | www. e-z-hook.com |
||
| align="center" | |
| align="center" | 9501-100-black; 9501-1000-black |
||
| align="center" | PC board material must be able to resist solder temperatures.For budgetary (estimation) purposes |
|||
| align="center" | 1 |
|||
| align="center" | 3.28 |
|||
| align="center" | 3.28 |
|||
| align="center" | 2.26 |
|||
| align="center" | 2.26 |
|||
|- style="font-size:9pt" |
|||
| Height="25.5" align="center" | Case & lid |
|||
| | Plastic, translucent blue: 3.150 x 1.575 x 0.787 inch |
|||
| align="center" | Hammond Manufacturing |
|||
| align="center" | 1551KTBU |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | 4 |
||
| align="center" | |
| align="center" | 0.228 |
||
| align="center" | |
| align="center" | 0.228 |
||
| align="center" | |
| align="center" | 0.16 |
||
| align="center" | |
| align="center" | 0.912 |
||
| align="center" | 0.91 |
|||
| align="center" | 0.64 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="29.25" align="center" | (test-lead wire) |
||
| | BLACK PVC insulation,300V, 28 AWG 7x36 stranding, 0.018 inch insulation, 0.047 inch total diameter. |
|||
| | Plastic, translucent blue: 3.150 x 1.575 x 0.591 inch |
|||
| align="center" | |
| align="center" | Alpha |
||
| align="center" | |
| align="center" | Alpha UL1007 |
||
| align="center" | |
| align="center" | |
||
| align="center" | 4 |
|||
| align="center" | 0.225 |
|||
| align="center" | 0.225 |
|||
| align="center" | 0.108 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 1.80 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 1.29 |
|||
| align="center" | |
| align="center" | |
||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | heatshrink |
||
| | Very-flexible polyolefin 1/4 inch final diameter, black |
|||
| | RED PVC insulation, 22 AWG 65x40 stranding, 0.018 inch insulation, 0.070 inch total diameter, 300 VAC (UL rating), 100 foot roll @ $32.00 US. |
|||
| align="center" | |
| align="center" | 3M |
||
| align="center" | |
| align="center" | VFP-876 1/8" x length, black |
||
| align="center" | |
| align="center" | $2.49 per 5', $28.53 per 100', $103.01 per 500' |
||
| align="center" | |
| align="center" | 1.8 |
||
| align="center" | 0. |
| align="center" | 0.498 |
||
| align="center" | 0. |
| align="center" | 0.2853 |
||
| align="center" | 0. |
| align="center" | 0.103 |
||
| align="center" | 0. |
| align="center" | 0.90 |
||
| align="center" | 0.51 |
|||
| align="center" | 0.1854 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="24" align="center" | heatshrink |
||
| | Very-flexible polyolefin 3/32 inch final diameter, black |
|||
| | BLACK PVC insulation, 22 AWG 65x40 stranding, 0.018 inch insulation, 0.070 inch total diameter, 300 VAC (UL rating), 100 foot roll @ $32.00 US. |
|||
| align="center" | |
| align="center" | 3M |
||
| align="center" | |
| align="center" | VFP-876 3/32" x length, black |
||
| align="center" | |
| align="center" | $2.31 per 5', $26.45 per 100', $95.48 per 500' |
||
| align="center" | |
| align="center" | 0.5 |
||
| align="center" | 0. |
| align="center" | 0.46 |
||
| align="center" | 0. |
| align="center" | 0.265 |
||
| align="center" | 0. |
| align="center" | 0.191 |
||
| align="center" | 0. |
| align="center" | 0.23 |
||
| align="center" | 0.13 |
|||
| align="center" | 0.0955 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | heatshrink |
||
| | Very-flexible polyolefin 3/16 inch final diameter, black |
|||
| | Standard construction, square-hole tip, "minihook", red |
|||
| align="center" | |
| align="center" | 3M |
||
| align="center" | |
| align="center" | VFP-876 3/16" x length, black |
||
| align="center" | |
| align="center" | $3.03 per 5', $30.70 per 100' |
||
| align="center" | 1 |
| align="center" | 0.1 |
||
| align="center" | |
| align="center" | 0.606 |
||
| align="center" | |
| align="center" | 0.307 |
||
| align="center" | |
| align="center" | 0.307 |
||
| align="center" | |
| align="center" | 0.06 |
||
| align="center" | 0.03 |
|||
| align="center" | 0.0307 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | heatshrink |
||
| | Flexible polyolefin 3/32 inch final diameter, RED |
|||
| | Standard construction, square-hole tip, "minihook", black |
|||
| align="center" | |
| align="center" | 3M |
||
| align="center" | |
| align="center" | FP332R x length |
||
| align="center" | |
| align="center" | $1.92 per 5', $22.03 per 100' |
||
| align="center" | 0.15 |
|||
| align="center" | 0.384 |
|||
| align="center" | 0.220 |
|||
| align="center" | 0.220 |
|||
| align="center" | 0.06 |
|||
| align="center" | 0.03 |
|||
| align="center" | 0.033045 |
|||
|- style="font-size:9pt" |
|||
| Height="60" align="center" | strain relief C-ring |
|||
| | Crimp-ring: 0.125 inch inner-diameter, 14 AWG (0.062) copper or aluminum wire |
|||
| align="center" | Handmade |
|||
| align="center" | --- |
|||
| align="center" | Wind e.g. 16 turns on .125 inch steel mandrel, grind a slot through all turns simultaneously (use 2 abrasive Dremel grinding wheels on Dremel arbor) -- makes 16 C-rings |
|||
| align="center" | 2 |
|||
| align="center" | 0.01 |
|||
| align="center" | 0.01 |
|||
| align="center" | 0.01 |
|||
| align="center" | 0.02 |
|||
| align="center" | 0.02 |
|||
| align="center" | 0.02 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | Foam cushion |
|||
| | 0.125 thick, approx 0.5 inch diameter |
|||
| align="center" | Seattle Fabrics |
|||
| align="center" | TBD -- stiff polyethene foam |
|||
| align="center" | For knob compliance (impact protection) -- glue beneath pot P1 |
|||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | |
| align="center" | 0.01 |
||
| align="center" | |
| align="center" | 0.01 |
||
| align="center" | |
| align="center" | 0.01 |
||
| align="center" | |
| align="center" | 0.01 |
||
| align="center" | 0.01 |
|||
| align="center" | 0.01 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height=" |
| Height="12" align="center" | Foot |
||
| | Surface-gripping foot |
|||
| | Buna rubber, drill 0.312 inch, 0.187 inner diameter |
|||
| align="center" | |
|||
| Keystone Electronics |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
|||
| align="center" | |
| align="center" | |
||
| align="center" | 1 |
|||
| align="center" | 0.11 |
|||
| align="center" | 0.11 |
|||
| align="center" | 0.11 |
|||
| align="center" | 0.11 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | |
||
| | |
|||
| | Buna rubber, drill 0.375 inch, 0.25 inner diameter |
|||
| Keystone Electronics |
|||
| align="center" | 739 |
|||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
| align="center" | |
|style="font-weight:bold" align="center" | Sub-total |
||
| align="center" | |
|style="font-weight:bold" align="center" | Sub-total |
||
|style="font-weight:bold" align="center" | Sub-total |
|||
|style="font-weight:bold" align="center" | 5.08 |
|||
|style="font-weight:bold" align="center" | 3.82 |
|||
|style="font-weight:bold" align="center" | 2.65 |
|||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
Line 472: | Line 943: | ||
| align="center" | |
| align="center" | |
||
| align="center" | |
| align="center" | |
||
| align="center" | Total |
|||
|style="font-weight:bold" align="center" | 16.63 |
|||
|style="font-weight:bold" align="center" | Total |
|style="font-weight:bold" align="center" | Total |
||
|style="font-weight:bold" align="center" | |
|style="font-weight:bold" align="center" | Total |
||
|style="font-weight:bold" align="center" | Total |
|||
|style="font-weight:bold" align="center" | 19.36 |
|||
|style="font-weight:bold" align="center" | 16.78 |
|||
|style="font-weight:bold" align="center" | 12.36 |
|||
|- style="font-size:9pt" align="center" |
|- style="font-size:9pt" align="center" |
||
| Height="12" | |
| Height="12" | |
||
|style="font-weight:bold" | Optional |
|style="font-weight:bold" | Optional |
||
| |
|||
| |
|||
| |
| |
||
| |
| |
||
Line 490: | Line 965: | ||
|- style="font-size:9pt" |
|- style="font-size:9pt" |
||
| Height="24" align="center" | |
| Height="24" align="center" | minihook |
||
| | Standard construction, square-hole tip, "minihook" to minihook, 36 inches red 22 AWG 66x40 |
|||
| | Socket: 8 pin DIP gold-flash contacts |
|||
| align="center" | |
| align="center" | www. e-z-hook.com |
||
| align="center" | |
| align="center" | 204-36W-red |
||
| align="center" | |
| align="center" | $4.32/3.90/3.25 divided by 2 |
||
| align="center" | 1 |
| align="center" | 1 |
||
| align="center" | |
| align="center" | 2.16 |
||
| align="center" | |
| align="center" | 1.95 |
||
| align="center" | |
| align="center" | 1.62 |
||
| align="center" | |
| align="center" | 2.16 |
||
| align="center" | 1.95 |
|||
| align="center" | 1.62 |
|||
|- style="font-size:9pt" |
|||
| Height="24" align="center" | minihook |
|||
| | Standard construction, square-hole tip, "minihook" to minihook, 36 inches black 22 AWG 66x40 |
|||
| align="center" | www. e-z-hook.com |
|||
| align="center" | 204-36W-BLK |
|||
| align="center" | $4.32/3.90/3.25 divided by 2 |
|||
| align="center" | 1 |
|||
| align="center" | 2.16 |
|||
| align="center" | 1.95 |
|||
| align="center" | 1.62 |
|||
| align="center" | 2.16 |
|||
| align="center" | 1.95 |
|||
| align="center" | 1.62 |
|||
|} |
|} |
||
== Oscilloscope probe construction details == |
|||
'''More detail to follow''' |
|||
=== PC board manual-construction details === |
|||
[[Image:Oscilloscope circuit dimensions 2k .JPG|right|400px|thumbnail|Material: Double-sided copper on 0.062 inch phenolic or glass-epoxy FR4 substrate (preferred), 1 oz copper both sides.]] |
|||
==== Construction Details ==== |
|||
[[Image:Oscilloscope circuit component locations 2k.JPG|right|400px|thumbnail|These components reflect those of the 50:1 probe.]] |
|||
> This circuit was actually prototyped -- without use of an oscilloscope -- on a "plug board" purchased from Radio Shack. Components were purchased from Radio Shack (the audio jack, 15 turn potentiometer, Micronta digital voltmeter) and from www.mouser.com (resistors, bandgap reference, LM258N) and some old Roederstein capacitors were taken from a sample kit. A USB cable was cannabalized: with an Exacto knife cut off the "B" end flush, carefully slice the exterior insulation around the circumference about 4 inches from the end, and then carefully cut the insulation lengthwise to expose the 4 wires inside (practice first!). Pull back the braided shield and snip off, likewise peel away the interior aluminum shield and cut off. |
|||
[[Image:Oscilloscope circuit layout front 2k .JPG|right|400px|thumbnail|This shows the recommended handcrafted layout. A commercial layout based on the same through-hole components would be somewhat similar. An actual board is shown below (there are very some minor variations between the print and the actual).]] |
|||
[[Image:Oscilloscope circuit 2d.png|right|750px|thumbnail|Click on the image to enlarge it. This shows a "point-to-point" layout on a 0.1 inch "perf" board just 1.25 x 2.00 inch. The blue is "circuit common" that circles the board; red is +5 volt power; purple is the +1.2 volt reference voltage. A better form of assembly is on a single-sided piece of copper-clad pc board drilled or punched on 0.1 inch centers with approx .032 inch holes (or on an unpunched board but drilled in the proper places). Carefully remove etch with a Dremel tool "burr" -- the trick is to remove as little etch as possible (to keep the work down). Be careful not to overheat the components. Some folks clip a couple needle-nose pliers or "alligator clips" near the body of a part to "sink" the heat.]] |
|||
[[Image:OLPC oscilloscope probe front 2k .jpg|right|400px|thumbnail|The left corner should look like the upper right, but the brittle phenolic cracked during drilling. The solder is where a mistake has been repaired with a tiny wire jumper. (The apparently non-parallel edges are due to the camera lens's parallax.)]] |
|||
[[Image:Oscilloscope circuit 2e.png|right|750px|thumbnail|Similar to the above but with a single-turn potentiometer, various optional components, and the calculation method. Without R10 and Rx, the highest 'gain' (amplification) the potentiometer adjustment is quite sensitive.]] |
|||
[[Image:Oscilloscope circuit layout back 2k .JPG|right|400px|thumbnail|This is intentionally shown upside down and is as you would see it if you were to flip the pc board over.]] |
|||
'''Point-to-point wiring''': The most likely construction method will be on a piece of "perf" board (unplated PC board material perforated on 0.1 inch spacings) configured as shown in the assembly drawing -- a USB connector and an audio jack both connected to a PC board some distance (e.g. 1/2 meter) away, plus some E-Z-Hook "ball clips" about 1/2 meter long for input (see www.e-z-hook.com; E-Z-hook also sells very flexible 22 AWG lead wire -- highly recommended for this application). |
|||
[[Image:OLPC oscilloscope probe back 2k .jpg|right|400px|thumbnail|This board had a short between the +5 volt trace and the ground plane (I've never built one of these without a short). When I "cleared" this area with the Dremel burr the short was gone.]] |
|||
The circuit common, +5 volts, etc. should be bare, solid, tinned copper wire such as 26 or 28 AWG. Carefully "stitch" the circuit common (i.e. run the common along the bottom except at the corners where you stich the wire to the top surface and then stich it back down again to the bottom), then solder various "tie-downs" to make a sufficiently-durable structure. Bend the components' leads (the resitors are shown on standard 0.40 inch lead-spacings) and use the leads to "wire" from point to point. Put the ICs in last. |
|||
The following is the recommended construction method: |
|||
'''Solder overheating, cold-solder joints, etc''': Use rosin-core solder (expensive). Practice your technique. The components can take a few seconds of soldering heat. But prolonged application of heat, or the use of huge soldering tips (e.g. don't use a soldering "gun"), and monster blobs of solder will overheat the matched resistors R1* and R2*, R3** and R4**, the bandgap reference Z1 and the IC, melt away the PVC insulation of the lead-wires, etc. Best practice is to bend/circle leads around one another and then apply small amounts of solder. Be on the lookout for "cold-solder" joints -- places where the solder doesn't flow nicely and leaves the connection "unmade". |
|||
:Crude point-to-point wiring on a piece of "perf" board (unplated PC board material perforated on 0.1 inch spacings) exhibits "AC pickup" (capacitively-coupled interference between the student's hand and the components and traces of the pc board). For this reason, this method was abandoned in favor of a two-sided pc board either hand-fabricated with top- and bottom-soldering, or a commercially-fabricated as a double-sided plated through-hole pc board. |
|||
'''Construction method''': Start with 0.062 inch thick, double-sided 1 oz copper (1/2 oz will work in a pinch, so will 0.032 inch thick double-sided) pc board laminate. Radio Shack's pc laminate is a cheap melamine/phenolic material but it contains no glass fibers to wear out your drills and Dremel burrs. The more classical and rugged substrate is "FR4" ("Fire Resistant") glass-epoxy (available from www.digikey.com or www.mouser.com). |
|||
'''Home-made PC board''': A better form of assembly is on a single-sided piece of copper-clad pc board drilled or punched on 0.1 inch centers drilled with approx 0.032 inch holes. (The copper will be on the bottom, the components on the top). Carefully remove etch with a Dremel tool -- the trick is to remove, with a tiny burr, as little etch as possible. Use a cork-backed, stainless steel ruler as a guide. If the copper is tinned, so much the better -- bare copper will tarnish; although this does not affect the circuit, soldering is more difficult. Another more difficult possibility is to buy single-sided unetched board. Carefully locate the holes (e.g. measuring and scribing with a dial caliper or pasting an accurate 1:1 drawing to the surface), mark each hole with a prick-punch (a sharpened steel nail will do), drill and then carve away etch with the Dremel tool. |
|||
To hand-fabricate such a board, tools required include a digital voltmeter, a steel dial calipers (to act as a ruling scribe as well as a measuring device), a Dremel tool (high-speed hand-held rotary tool) mounted in a "drill press" (Dremel and Sears sells them) and quipped with a 0.032 inch drill etc. (beaders/jeweler's drills work nicely), safety glasses (required for careful observation while drilling and soldering), soldering iron with pointy tip, thin flux-core solder with rosin or other activating agents in the solder, solderwick, needlenose pliers, miniature flush cutters, a wire stripper, etc. Tape and a small vise or other holding device (e.g. for fishermans' fly-tying) are very useful. |
|||
Kits exist to etch pc boards. See www.mouser.com or www.digikey.com. |
|||
If the builder has access to a decent inkjet printer then with some "dimensional adjustments" (i.e. trial and error, but it must be accurate!) the images could be printed onto good-quality paper and stuck -- with double-sided tape (glue won't work) -- to the raw pc board. Drill the two B-holes from the front side (top, component side). Drill the same two B-holes into the backside (bottom) image. With the use of two locator "pins" (e.g. headless nails driven into a piece of soft wood and located with the help of the pc board's locating holes) put the backside image face down (oriented correctly!); you will eventually drop the pc board down on the locator pins. But first apply the double-sided tape to the back of the pc board, and drop the board down onto its back (bottom) image. (If this is done well, three or four boards can be stacked and drilled all at once.) |
|||
'''Conformal coating''': Manufacturers use sprays (expensive) to "conformally coat" their boards for water-, dust- and fungus-resistance. Use multiple coats. See www.mouser.com or www.digikey.com. |
|||
::''Drilling should be done with the Dremel tool set at about half to 3/4 of full speed, i.e. much faster than a drill press. If the drills are sharp and the speed is high, the holes will be very clean. Do not apply a lot of drilling pressure, expecially when drilling stacked boards (the drills may "wander" in the stack). '' |
|||
'''Potting''': The assembly should be put into a little plastic box, or "potted" or at least glued to a sheet of plastic (don't use wood -- it can absorb moisture and become conductive). |
|||
Another approach is to use a dial caliper's sharp points to rule a 0.10 inch grid over the surface of the black pc board. Carefully locate and mark each hole with a prick-punch (a sharpened steel nail will do). Then drill the holes. |
|||
One approach would be to make or buy a box-mold and cast the assembly in a high-grade potting compound designed specifically for electronics. Once potted, unless it is in silicone rubber, the board cannot be repaired. |
|||
::* Notes: If you plan to pot the assembly ''do not use an IC socket; solder the IC directly into the circuit. Test before potting.'' Do not expect nice adhesion of the potting compound to the wires. No potting materials stick well to vinyl insulation, the most common wire-insulation. If casting methods are used be sure to keep any light emitting diodes and the potentiometer adjustment out of the potting compound. |
|||
Now remove the etch to form the traces -- don't go too deep, go back and forth a few times to remove just the littlest amount of copper. This is straightforward but tedious work when the image is stuck to the board. Otherwise, use a very fine indelible marker to draw where the copper is to be removed. and then remove etch with a Dremel tool -- the trick is to remove, with a tiny Dremel burr (#106 0.032 burr is best, a #107 0.062 burr will work in a pinch), as little etch as possible. Use a cork-backed, stainless steel ruler as a guide for both the marking pen and when cutting the etch away with the Dremel tool. If the copper is tinned, so much the better -- bare copper will tarnish; although this does not affect the circuit, soldering is more difficult. |
|||
::* Best molding/casting practice:'' Use only flexible RTV rubbers designed for the purposes of electronics molding (expensive). Hard molding compounds may shrink on curing and crack the components. Some RTVs may not cure properly when in contact with certain materials -- the result is a gooey, conductive mess hidden inside what appears to be a good "pot". Experiment -- plan to section a prototype.'' |
|||
After removing the scraps of paper+tape, if used, clean up the board with very very fine sandpaper or steel wool. Inspect it against a very bright bulb for tiny (hairline or smaller) bits of shorting copper. (This is mandatory: It's almost impossible to aviod tiny shorts. Use the Dremel tool with the tiny burr to double-check all the grooves you've cut in the board.) |
|||
::* Do not cast with commercial silicone rubber -- silicone rubber outgasses acetic acid (i.e. vinegar), a corrosive. |
|||
Kits exist to etch pc boards. See www.mouser.com or www.digikey.com. A commercially-fabricated pc board is preferred. (Details TBD). The following book is excellent -- Al Williams, 2004, ''Build Your Own Printed Circuit Board'', McGraw-Hill, New York, ISBN0-07-142783-X. The book includes a free-ware CD (Eagle software) for Windows or Linux that permits schematic capture and double-sided pc board layout. |
|||
::* Do not use hard "potting" compound such as epoxy (expensive) or polyester resin (cheap). While clear polyester casting resin may work because it has low shrinkage, in general do not use hard potting compounds. |
|||
'''Lead-bending''': Always use a needlenose pliers between the body of the part (e.g. resistor) and the lead to be bent. |
|||
* Tools required: wire-stripping tool, Exacto knife, prototyping plug-board, little insulated jumper-wires (solid wire okay), ball clips, '''digital voltmeter''', mold and molding materials if used. |
|||
::* Soldering tools: rosin-core solder (NOTE: country-specific regulations may not allow use of lead-tin solder), soldering iron with small tip, solder-wick. |
|||
'''Solder overheating, cold-solder joints, etc''': This double-sided fabrication requires both top and bottom soldering -- mandatory for all but those few components with leads that cannot be reached (pot P2, LED, capacitors C1 and C2, and Z1). ''Be sure to use a fluxed solder specifically for electronics work (do not use plumber's acid-core solder). Practice your soldering technique. The components can take a few seconds of soldering heat. But prolonged application of heat, or the use of huge soldering tips (e.g. don't use a soldering "gun"), and monster blobs of solder will overheat the matched resistors R1 and R2, R3 and R4, the voltage reference Z1 and the operational amplifer IC, cause shorts, melt away the PVC insulation of the lead-wires, etc. Be on the lookout for "cold-solder" joints -- places where the solder doesn't flow nicely and leaves the connection "unmade". |
|||
'''Cleanup''': If you use rosin-fluxed solder the rosin is left on the board. The best practice is to remove it; start by scraping it out of the bare places between the copper and then apply isopropyl alcohol (rubbing alcohol e.g. 70% isopropyl/30% water) with a cheap bristle paintbrush. (Or use a professionally-compounded mix). ''Don't dip into the solvent or water-wash this board! The big potentiometer is not sealed! And gunk may get into the terminal block.'' Some water-soluable fluxes exist, but again, use a brush to apply any solvent. Or use a no-clean flux. |
|||
:After brushing on the alcohol mount the board vertically and at an angle so that the gunky liquid drains off the lower left corner. |
|||
'''Conformal coating''': Manufacturers use sprays (expensive) to "conformally coat" their boards for water-, dust- and fungus-resistance. Use multiple coats. See www.mouser.com or www.digikey.com. Be careful to tape over the output terminal block TB1 and any "entry points" of potentiometer P1. |
|||
'''Assembling into a box, potting''': The assembly should be put into a little plastic box. "Potting" (casting the board in a compatible 2-part RTV rubber) would be ideal excepting that the potentiometer P1 will "leak" and be ruined, and once potted the circuit may not be repairable, and the compounds are expensive. The better alternative is to conformally-coat the board (apply masking tape over the place where P1's leads exit, and over the top and side of terminal block P1) and then enclose in the suggested box (more measuring and drilling is required). See mechanical details below. |
|||
'''Best practices:''' The most difficult part of the design is how to assemble it into a robust object suitable for use by children. The current recommendation is to have the board loose (somewhat -- 0.015 inch on each side) in the box but pushed up against the cover by a 0.5 to 0.75 inch diameter x 0.20 inch thick circle of stiff polyethylene foam. The knob should have just enough clearance so if a child pushes hard on the knob the whole board is pushed into the box, but then springs back and pushes the board up into position. (2) Wires into the USB and audio plugs must be strain-relieved by bending-over of the "prongs" onto heatshrink tubing over the wires (the heatshrink tubing protects the wires). (3) A strain relief for the wires into the box must also be provided. See details below. |
|||
=== Cable: For +5 volt power from laptop and audio-plug input to laptop === |
|||
[[Image:Oscilloscope cabling 1.PNG|thumbnail|600px|Drawing TBD]] |
|||
[[Image:Oscilloscope cabling 2.PNG|thumbnail|800px]] |
|||
[[Image:Oscilloscope cabling 3.PNG|thumbnail|600px]] |
|||
[[Image:Oscilloscope cabling 4.PNG|thumbnail|600px]] |
|||
[[Image:Oscilloscope cabling 5.PNG|thumbnail|600px]] |
|||
'''Best practices:''' The most difficult part of the design is how to assemble it into a robust object suitable for use by children. An assembly method might be as a part of the USB plug. But if the assembly is too long a child risks are bumping and injuring the connector. Given surface-mount components and a PC board the entire device can be shrunk into the connector with a cable for the audio jack and a pair of probes on a shielded cable. However, provision must be made for an external potentiometer-adjustment knob (the DC offset adjustment). |
|||
[[Image:Oscilloscope cabling 6.PNG|thumbnail|600px]] |
|||
Commercial differential probes use batteries and an amplifier in a box connected by flexible leads to the test instrument, much as shown in the schematic. |
|||
'''A detailed description of the cable between the circuit and the laptop''': |
|||
'''More details to follow.''' |
|||
* Step 1 Assemble the components. |
|||
* Step 2 Form the USB twisted pair and audio twisted pair: |
|||
==== Revision History, simple differential amplifier ==== |
|||
:* 2.1 Cut 2 lengths of red wire at 24 inches, cut two lengths of black wire at 24 inches. Twist together at approximately 0.5 turn per inch. These form the +5 volt/USB pair and the audio-plug pair. The twisting will shrink the wires about 1 inch in length. Tag (tape, or solder, etc) the pairs to keep them straight. |
|||
:* 2.2 Form a single cable from the two pairs: Start with all four wires flush at the left end. Then cable the two twisted pairs together into a smooth bundle of four wires. Cut the USB pair so it is 5 inches shorter than the audio pair. |
|||
:* 2.3 Fish the cabled pairs down the 16 inch length of 0.187 inch (beginning-diameter) heatshrink tubing. For example, run a piece of 24 inch solid (stiff) wire to the left end of the cable and pull the cable through the heatshrink. Start with the tubing 1.5 inches from the left ends. |
|||
:* 2.4 Place the 4.0 lenth of 0.125 (beginning diameter) heatshrink tubing over the audio plug twisted pair. Important: Space this tube about 0.25 inch away from the end of the first heatshrink tubing. This will leave the 0.25 inch of audio-plug wire exposed for purposes of bending in the following step. |
|||
:* 2.5 Shrink the tubing: Start at the left end and use a heat gun to shrink the tube over the cabled wires (air from a hair-drying gun may work, but is usually not quite hot enough). Or ''carefully'' rub the barrel of a hot soldering iron (not the tip) over the length of tubing (takes practice, dwelling too long will melt the wires and/or destroy the heatshrink tubing). |
|||
:* 2.6 Trim the USB cable so it extends at 0.5 inches beyond the end of the cable+heatshrink. ''Carefully'': Strip the red and black wires back 1/8 inch and "tin" with solder. (If mistakes are made, you will have to clip back the heathsrink over the cable and try again.) |
|||
* Step 3: Solder the USB plug to the cable: |
|||
:* 3.1 Form the "pigtail" or "knot": Bend the audio-plug pair backward along the two-pair bundle. Cut a 0.75 inch piece of 0.25 heatshrink tubing (0.25 inch diameter before heathrinking) and place over the bend, covering it. Heatshrink this tubing in place. This "knob" or "knot" will receive the crimp of the USB connector -- i.e. the crimping of the jaws will occur over this "knot", thereby strain-relieving both connectors. |
|||
:* 3.2 Slip the USB plastic "boot" over the right end (over the 4-wire bundle and the 2-wire bundle), wide-end to the right. |
|||
:* 3.2 Solder the USB connector to the USB pair of wires (in the following, the mechanical equivalent of an extra pair of hands such as fly-tying holder -- will be very helpful). |
|||
::* 3.2.1 The "knot" must be about 1/8 inch inside the crimping zone so that the crimps will fall solidly over the "knot". From this criming zone measure out 0.5 inch and cut the USB wires flush. Strip back 3/16 inch (0.187 inch, 4.8 mm). Tin the wires. |
|||
::* 3.2.2 Tin the two outer-most contacts on the USB connector's white insert. |
|||
::* 3.2.3 Solder the red wire to the uppermost and the black wire to the bottommost contact of the white insert. |
|||
::* 3.2.4 Inspect your workmanship carefully. If the solder is blobby and ugly, or any loose solder is on the insert, or little wires are loose, trim them away with a sharp knife (e.g. an Xacto tool). |
|||
::* 3.2.5 With careful attention to orientation, snap the little black clip in place. If it doesn't fit, you may have put too much solder on the terminals. Fix any problems. |
|||
* Step 4: Assemble USB plug |
|||
:* 4.1 Insert the white insert "upside down" in the larger, outer metal shell. The insert should slide easily into the shell; if not you're inserting it upside down. |
|||
:* 4.2 Snap the smaller metal shell/cover over the larger metal shell to cover up the wires . |
|||
:* 4.3 ''Carefully'' (workmanship counts here) crimp the "teeth" of the jaws over the "knot". Be sure not to crimp too hard, but make the crimping neat and tidy and firm, round as possible, and make sure the jaws are closed and the teeth mesh. Test with tug. |
|||
:* 4.4 Rotate the boot so that its little USB symbol is on the unjointed side of the metal connector, then slide it forward over the knot (may be a bit of a tight fit) and continue sliding it forward until it clicks in place. |
|||
* Step 5 Mount the audio plug to the audio-plug pair of wires (again, the fly-tying holder will be a help here): |
|||
:* 5.1 Disassemble the audio plug's boot from the plug and slip it, narrow end first, over the audio wires. |
|||
:* 5.2 Cut a piece of red 3/32 inch heatshrink 1.25 inches long and slip this over the wires. |
|||
:* 5.3 With the red heatshrink flush to the black heatshrink, heatshrink this red tube in place. This red tube will be acting as both a marker -- red plug into red jack of laptop -- and as a wire protector. |
|||
:* 5.4 Cut the red wire 3/8 inch from the end of the two heatshrink tubes, and strip it back 1/8 inch or a bit longer if using a stereo plug. |
|||
:* 5.5 Cut the black wire 1/8 or less from the end of the two heatshrink tubes, and strip it back 1.8 inch. |
|||
:* 5.6 Tin both wire-ends. Thin the connector's terminals being sure to keep the holes open -- the black-wire solder joint will be underneath the "tang". |
|||
:* 5.7 Solder the red wire through the terminal(s) (Through both terminals if the plug is a stereo plug). |
|||
:* 5.8 Pass the tinned black wire through the hole in the long "tang" and solder it to the underside tinned area. |
|||
:* 5.9 Inspect your workmanship for cold solder joints, blobs, messiness, loose strands of wire, etc. |
|||
:* 5.10 ''Carefully'' (again, workmanship counts here) crimp the "teeth" of the jaws over the heatshrink. If the jaws are over the wires, redo the job. Be sure not to crimp too hard, but make the crimping neat and tidy and firm, relatively round, and make sure the jaws are closed and the teeth mesh. Test with a tug. |
|||
:* 5.11 Screw the "boot" over the plug and tighten firmly but not so tight that you strip the threads. |
|||
* Step 6 Strain-relieve the circuit-board end (left end) of the cable: |
|||
:* 6.1 Place a C-crimp 1/4 inch from the end of the heatshrink tubing. As before, carefully crimp the C closed. Be sure it is firmly grabbing onto the wire -- test by tugging. |
|||
:* 6.2 Place a second C-crimp 1/8 inch from the first one. (Measure this, it's important). Crimp this C closed. test by tugging. |
|||
:* 6.3 Cut a piece of 1/4 heatshrink to 1.0 inch and slip over the two C-crimps so that that it is flush with the heatshrink that is already there. |
|||
:* 6.4 Heatshrink the tube in place. |
|||
:* 6.5 Test the cable and prepare it for attachment to the pc board: strip back the four ends 3/16 inch and tin, but keep track of which pair is which (with tape etc). Test continuity with an ohmmeter (i.e. a digital voltmeter in the "Ohms" setting). |
|||
=== Mechanical construction details === |
|||
[[Image:Oscilloscope enclosure cover 1.JPG|left|thumbnail|600px]] |
|||
[[Image:Oscilloscope enclosure left and right 1.JPG|right|thumbnail|600px]] |
|||
[[Image:Oscilloscope enclosure top 1.JPG|right|thumbnail|600px]] |
|||
=== Revision History, simple differential amplifier === |
|||
The design is subject to revisions as it evolves. |
The design is subject to revisions as it evolves. |
||
* REV 0: Prototype-test phase, redraw "layout" drawings, add info re E-Z-Hook to schematic & remove top-view symbols (2 Jan 08) |
* REV 0: Prototype-test phase, redraw "layout" drawings, add info re E-Z-Hook to schematic & remove top-view symbols (2 Jan 08) |
||
* REV 1: Correct "layout" drawing -- change potentiometer symbol from bottom to top view (3 Jan 08) |
* REV 1: Correct "layout" drawing -- change potentiometer symbol from bottom to top view (3 Jan 08) |
||
* REV 2: Change gain from 1:10 to 1:20, show optional components on schematic with . Add 2nd layout drawing for single-turn potentiometer implementation, plus an LED power-on indicator. Update Bill Of Material. (5 Jan 08) |
* REV 2: Change gain from 1:10 to 1:20, show optional components on schematic with . Add 2nd layout drawing for single-turn potentiometer implementation, plus an LED power-on indicator. Update Bill Of Material. (5 Jan 08) |
||
* REV 3: Extensive revision of Bill of Materials with added 1000-piece price estimates, modified circuit schematic with terminal block and second "rough trim" potentiometer, modified assembly and layout drawing, new cable-assembly method, etc based on experience of two hand-built prototypes (12 Feb 08). |
|||
* REV 4: Correct mistakes in schematic. Add preliminary cable-assembly drawings (19 Feb 08). Add photograph of prototype #2 and pc board #3 (20 Feb 08). |
|||
* REV 5: Add mechanical construction drawings. Emend cable-assembly drawings. Emend hand-fabrication instructions (24 Feb 08). |
|||
* REV 6: Add new layout prints and photographs. Emend hand-fabrication instructions (27 Feb 08). Update B.O.M. (6 March 08). "v2" design is considered completed. |
|||
=Other ideas= |
|||
# A low cost (possibly $2) probe that would increase the range of voltage that can be applied to the input. |
|||
# An ultrasonic distance measurement system that connects to the XO and allows the XO to log data. This has immense applications in water level monitoring in villages and also in robotics applications. |
|||
# A general purpose hardware kit that interacts with the measure activity. Something on similar lines to http://www.create.ucsb.edu/~dano/CUI/ |
|||
# Sensors could be distributed along with the XO as peripherals. The advantage of this would be that the measure activity can be calibrated against the known specs of the sensors. |
|||
# Being able to measure resistance |
|||
# A low cost version of LEGO mindstorms system built around the XO. The XO has good hardware and software capabilities to achieve this. |
|||
# RS232 or serial interface would allow a host of electronic devices to interact and communicate with the XO. |
|||
# Build a sensor network using a sensor connected to each XO and utilize the mesh networking capability of the XO. This would give us a highly powerful, robust and reconfigurable sensor network. |
|||
# Build medical applications using sensors and the XO. See [[TeleHealth_Module]] |
|||
# Do some Fablab projects using the XO. See http://fab.cba.mit.edu/labs/vigyan/ |
|||
# Collaborative music creation over the mesh using the music software on the XOs and giving input from an array of different sensors. |
|||
# Integrate sensor input into LOGO / Turtle activity |
|||
# Milk purity in rural areas. I remember reading about it in some FabLab's website - I think it requires an ADC, which we have. |
|||
# Making a battery out of some vegetable (potato, onion?) to study electricity and current. |
|||
[[Category:Measure]] |
Latest revision as of 03:13, 12 May 2008
Temperature monitoring system
How to build
You need-
- LM35 or any similar temperature sensor
- USB connector
- Audio connector
- Some wire or a cable. You could use cut a USB cable and an audio cable from the middle
- Measure Activity
The USB port has two pins which are of use to us. One is the ground and the other one is the one which provides a constant 5V. When you cut a USB cable in the middle, you could find out by trial-and-error by using a simple Voltmeter which are the two wires corresponding to these two pins. If you don't have a Voltmeter, try using a simple LED and a resistor to do the job.
We provide the +5V that this temperature sensor requires from the USB port. For this we connect the +5V wire to the Vcc of the sensor. We connect the ground to the Ground terminal on the LM35. We connect the Vout of the sensor to the Audio Input jack.
How to operate
Set the Measure Activity to be in the DC Mode and Turn Off the Bias Voltage. Both these can be controlled by using the first two buttons on the 'Measure Toolbar'.
The DC voltage is proportional to the temperature . The voltage that the XO can read varies between 0.9 V - 3V. The output of the sensor would be from 0-5V, so, for for different ranges of temperature one can either use a potential divider for higher ranges or using resistances add a bias to the Vout of the sensor from the +5V of the USB again.
Learn More
The LM35 has an output voltage proportional to the temperature. The scale is 0.01V/C. Read the [Data Sheet] to learn more.
One could log temperature over a period of time - say at an interval of 1 hour for a complete day to know when is it the hottest / coldest.
Video
(put video with flame demonstration here, put pictures here - including ckt diagram)
Intrusion Alarm system
How to build
You need-
- A toy laser
- An LDR or a Photo-Voltaic cell
- Some wire
- Measure Activity
Open up the toy laser and remove the batteries. Connect a wire to the spring inside and connect the other wire to the metallic body inside. Connect both of these wires to the USB power supply wires. Click here to learn about how to determine the USB power supply lines.
Connect the LDR to the Audio Jack.
How to operate
Set the Measure Activity into DC Mode and turn ON the bias voltage. Setup the LDR and the laser to be in line and facing each other. When the path of the laser light gets cut, you should observe a marked increase in voltage indicated by the position of the waveform shifting up.
Learn More
The resistance of the LDR - Light Dependent Resistor is proportional to the amount of light falling on it. The potential drop across the LDR is dependent on the resistance of the LDR. When the path of the light gets cut, the resistance increases hence we notice a marked increase in voltage indicated on the screen.
Click here to know more about Bias Voltage and how it works.
Simple isolation and protection amplifier v2 (version 2)
The following "probe-circuit" allows the student or teacher to "input" both DC voltages greater than +5.0 volts (such as from a 9 volt battery, etc), negative voltages, as well as AC voltage. The probe provides resistive isolation of the laptop from what is being measured (the amount of isolation dictated by the choice of two resistors R1 and R2).
A cost-reduced version v3 (difficult target: less than $10.00 in singles and $5.00 in 100's) will forthcoming; it uses a Bourns 3310 potentiometer at 1/2 cost and smaller size so the pc board can be reduced in cost. A fancier version of v2 with a "zero" button (locates the center trace) has been prototyped; it will add about $1.00 in parts (same size circuit board as v2). A yet-fancier version with at least two switchable gains is also under consideration.
- See revision history at bottom of this section.
Specifications
These specifications are valid given use of the preferred components as listed in the Bill of Materials for a 50:1 divider probe, R1 = R2 = 1 megohm, R3 = R4 = 20K ohms, unless otherwise noted:
- Signal-input plug: mono audio plug (3.5 mm, 1/8") (stereo plug will work too -- connect both inputs together)
- Power-input plug: "naked" USB connector -- A-type 4 pin -- with plastic "boot"
- +5 volt power source -- derived from the laptop's USB port (red and black wires inside a sliced-open USB cable)
- +5 volt current draw -- a few milliamperes (less than 5 milliamperes)
- Minimum power-source voltage -- approximately +4.0 volts [as low as +3.0 volts is possible].
- Voltage Gain: R2/R1 (i.e. the circuit divides the input down by this ratio). 1 meg/20K = 50:1
- Laptop settings: Set MEASURE to DC and OFFSET to OFF
- No harm will result if these setting are wrong, e.g. the activity starts in MEASURE = AC. The gain will be higher in AC, but this probe can be used in AC too.
- Common-mode input impedance: 1 megohm each side to circuit common
- Differential-mode input impedance: twice the common-mode impedance
- Maximum input voltage -- tested to 120 VAC. 240 VAC test TBD.
- The components as specified -- in particular R1 and R2 = 1 megohm 500 volt resistors -- are adequate for the task. However, this also assumes a correctly-fabricated and designed pc board with adequate clearance and creepage distance (i.e. tracking-distances across the pc board) between the + and - inputs, R1 and R2 circuit "pads" at their "input" ends, and conformal coating both sides.
- Measureable input voltage: See also AC and DC common-mode rejection specifications. The "gain slider" is the adjustment on the right-hand side of the screen. The trace is adjusted to center-screen and then voltage applied to the (+) and (-) probe inputs; the voltage is adjusted until the trace moves to fully up (+ voltage), or down (- voltage):
Gain of 1/100, i.e. R1 = R2 = 1.00 megohms 0.1%, R2 = R3 = 10.0K ohms 0.1%:
Gain slider | Maximum +V input, volts | Maximum -V input, volts | Volts per major division |
Full up | 0.367 | -0.368 | approx 0.050 |
75% up | 2.126 | -2.036 | |
50% up | 13.13 | -12.62 | |
25% up | 78.5 | -73 | |
12.5% up | 80 | -80 | approx 10 |
Gain of 1/50, i.e. R1 = R2 = 1.00 megohms 0.1%, R2 = R3 = 20.0K ohms 0.1%:
Gain slider | Maximum +V input, volts | Maximum -V input, volts | Volts per major division |
Full up | 0.185 | -0.189 | approx 0.025 |
12.5% up | 40 | -40 | approx 5 |
- Input-frequency specification: DC to 10,000 hertz (10 KHz). Beyond this frequency significant aliasing occurs.
- "Aliasing" appears as wiggles on what should be a pure sine wave (an envelope that modulates the input). This is caused by the sampling of the waveform done by the input-converter (codec).
Trace-speed slider | Minimum frequency | Maximum frequency |
Right - fast | TBD | TBD |
Center - medium | TBD | TBD |
Left - slow | TBD | TBD |
- DC Common-mode rejection: Voltage injected between (i) the two inputs tied together, and (ii) circuit common (circuit 0 volts), tested to +/-90 volts DC.
- DC Common-mode rejection depends critically upon the matching of resistors R1 to R2 and R3 to R4. Matching of ratios R1/R3 = R2/R4 to 0.1% is required.
- AC Common-mode rejection: Measured relative to the power-common (circuit 0 volts), 0-1000 Hz, +6 volts AC rms injected: less than 0.001 volt AC rms (observable at the highest gain setting of the laptop: approx 2 scale divisions)
- AC common mode rejection depends critically not only on the matching of the resistors R1 to R2 and R3 to R4 but also upon stray capacitance in the circuit, the apparent impedance of the reference-voltage source (i.e. the reference-op amp's output impedance), the quality of the op-amps themselves, etc.
Circuit description
This deceptively-simple "probe" circuit is called a "differential amplifer" (differencing amplifier) and although not very fancy it performs the fundamental task of isolating and protecting the laptop from adverse electrical events while allowing the student to measure voltages in excess of +5 volts, minus voltages, etc.
The circuit requires some design tricks and represents some design-challenges, to be described below.
- This circuit has the advantage of not presenting an input voltage greater than +5 volts to the microphone input, plus the USB-port's circuit limits its +5 volt output-current to about 1 ampere in case something short-circuits the USB's output voltage.
- If properly designed, this circuit should survive "accidents" and protect the laptop and the child against such accidents as: "plugging the probe into the 240VAC wall-outlet".
- Any supply voltage derived from another source must be less than +5 volts. For example, three 1.5 volt batteries will also work at +4.5 volts -- as long as the batteries are not accidentally reversed !! -- but four 1.5 volt batteries at 6.0 volts present a risk of inputting more than +5 volts into the microphone input.
- Any externally-derived power voltage (batteries solar cells, etc) directly applied also risks of reveral. If a battery is to be used, add a reverse-protection schottky diode e.g. Avago 1N5711 static-protected by a 0.1 uf capacitor in series with the battery (i.e. a 4.5 volt battery with a 0.4 volt diode drop). A better scheme uses a low-current, +5 volt low-dropout-voltage regulator. Details TBD.
Trick #1 -- "Differential" rather than "single-ended" input: A single-ended amplifer connects one of its two inputs directly to the circuit common -- the metallic part of the USB port, for instance. Any current or voltage on the common goes directly into the laptop. So if somehow such a probe's input-lead is inadvertenly connected to a high voltage, this voltage will appear on the metallic parts of the laptop. If the laptop is electrically isolated, this adverse voltage will present a touch-hazard. If the laptop is electrically grounded, it will be destroyed.
A differential amplifier's two inputs, a "plus" (+) and "minus" (-) are both somewhat isolated from the laptop's common by high-value resistors (true "galvanic" isolation is possible but expensive).
As a properly-designed single-ended amplifier will require use of the same 4 resistors (R1*, R2*, R3**, and R4**) as the "differential" amplifer. Moreover, the differential amplifer subtracts away "common-mode" noise Vn and common-mode voltage Vcm i.e. noise and voltages that appear on both leads (relative to circuit common): i.e.
- ( V(+) + Vn + Vcm) - ( V(-) + Vn + Vcm ) = V(+) - V(-)
So it makes sense to design the amplifer as a differential amplifer.
Trick #2 -- Artificial "ground": This trick kills two problems with one stone. (i) The laptop accepts only positive voltages: The laptop's analog-to-digital converter (codec: AD1888) converts (works only on) plus-DC voltages between approximately +0.3 volts (minimum, corresponding to bottom of screen with high gain (control near the top)) and approximately +2.0 volts (maximum, corresponding to top of screen with high gain (the slider control near the top)). this means that approximately +1.18 volts puts the trace into the center of the screen.
Thus the probe-circuit must "offsets" the difference between the "+" and "-" inputs with this voltage of approximately +1.18 volts. It derives this from a highly-stable "band-gap reference" (any number of different types are possible -- +1.225 volts +/-1% volt, +1.235 volt +/-1%, 2.50 volts +/-1% etc.) Audio-jack inputs less than this "centering-voltage" will drive the trace lower than center, and inputs greater than this "centering-voltage" will drive the trace higher than center. At the laptop's highest gain the voltages require to do this are quite small -- on the microvolt range.
(ii) Increasing common-mode voltage rejection: Together with the choice of R1 and the gain of the circuit, this +1.18 volt offset dictates the maximum common-mode voltage that the probe can "accept" and still function correctly. For example, with R1* = 1 megohm and an attenuation of 1:50 (i.e. the probe reduces the input to 1/50*( V(+) - V(-) ), a negative "common mode" input will be divided down by a factor of 50. If this common-mode voltage V(+) is negative, it will suck out out of the input approximately Vin/(R1+R2) amps, and this will develop a voltage at the input to the amplifier of Vin*R2/(R1+R2)+1.18 volts.
- Example: Common mode voltage is -100 volts, R1* = 1 megohm, R2 = 10K:
- -100*20,000/(1,000,000 + 20,000) + 1.18 = -0.96 + 1.18 or -0.22 volts.
Can the amplifier (LM358AN) tolerate this? Yes, it can tolerate up to -0.3 volts at its (+) and (-) pins. What really happens depends on the circuit design. The part can tolerate up to 50 milliamps being sucked from the (+) or (-) pins. And the resistors prevent any more than a few hundred microamps from being pulled from the pins. So the amplifier will survive.
What about the preferred but expensive LT1413N. In this circuit it can withstand voltages on its (+) and (-) pins equal to the supply voltage (e.g. +5 volts) and -5 volts.
Trick #3 -- Matched decent-quality (i.e. not carbon-film or carbon-composition) resistors: The R1/R3, R2/R4 is called a "bridge" circuit. Its "common-mode rejection ratio" -- the ability of the circuit to reject noise that is on both signal-leads simultaneously -- is determined by the precision of matching of the two resistor-pairs R1/R3 and R2/R4 to 0.1%. The exact R1/R3 and R2/R4 ratio (i.e. 20:1, 50:1, 100:1) is not particularly important, but the two ratios should match to 0.1%. (All four resistors can be matched for very precise division, but the resistors themselves can drift with temperature and time, and the amplifier's input offset will drift, as will the voltage reference). Ideally the resistors should not "drift" too much with temperature; but since they will, at about 25-50 parts per million per degree C (the CMF type), they all should be of the same metal-film construction. The recommended type is a tempertaure-time-voltage-stable (50 parts-per-million) metal-film 1/4 watt resistor such as the Vishay CMF55.
One approach is to buy a bunch of decent resistors (e.g. the metal-film industrial Vishay/Dale CMF or IRC RC55LF-D type available from Mouser at www.mouser.com, a quantity of 100 of 10K cost about $7.00 US, a 1000 cost about $25.00 US) and then sort them into 0.1% categories. Unfortunately this requires a digital ohmmeter. But a trial sort of 100 showed extremely tight matching (+/-0.2% around the nominal). Another approach is to just buy precision resistors (at about 8-to-10x the cost):
- IRC RC55LF-D-10K, 0.1% 25 parts per million per deg C, 1/4 watt at 70C, $0.96 each or $0.64 each in 100's
- IRC RC55LF-D-20K, 0.1% 25 parts per million per deg C, 1/4 watt at 70C, $0.96 each or $0.64 each in 100's
- Vishay/Dale PTF5610K000BYBF, 10K 0.1% 10 parts per million per deg C, 1/8 watt at 85C, max 300 volts @ $0.82 ea, or $0.53 each in 100s
- Vishay/Dale PTF5620K000BYBF, 20K 0.1% 10 parts per million per deg C, 1/8 watt at 85C, max 300 volts @ $0.82 ea, or $0.53 each in 100s
With larger-value resistors R1 = R2 = e.g. 1.0 megohm (the recommendation), measurements with a low-cost ohmeter become problematic and suspect due to phenomena such as test-lead tribo-electric noise. An approach is to sort R3 and R4 to 0.1%, pick an R1 randomly, build a bridge circuit on a plug-in board, and test for R2 matching (the voltmeter goes between R1/R3 and R2/R4. Connect R1 and R2 to a higher voltage supply for more precision -- an acceptable error-reading will be on the order of 0.1 millivolt (100 microvolts).
The recommended procedure, if price is no object, is to buy the precision resistors:
- IRC RC55LF-D-1.0M, 0.1% 25 parts per million per deg C, 1/4 watt @ $1.08 each or $0.72 in 100's
- Vishay/Dale PTF651M0000BXBF, 0.1% 15 parts per million per deg C, 1/4 watt, 500 volt @ $1.68 each, or $1.28 in 100's
Trick #4 -- Use higher-voltage input resistors that can handle extreme overloads : Resistors actually have voltage specifications as well as power specifications. An ideal circuit should survive, and protect the laptop against, 10% high line 230VAC, i.e. 358 volts peak, the common household voltage in much of the world. The industrial voltage 400 +10% VAC 50 Hz i.e. 622 volts peak, or 480 +6% VAC 60Hz i.e. 720 volts peak in the Americas will be destructive). If equipped with 1 megohm, higher-voltage (400-500 volt resistors) input-resistors R1* and R2* in both "legs" of the probe should survive this "household" voltage. This corresponds to 0.07 watts of power, 400 microamps in each resistor common mode. But in fact in differential mode the probe divides this power and leakage in half.
- Example: Common-mode worst case: the laptop power puts earth-ground potential but the probes are both plugged into 230 +10% VAC and this is referenced to the same earth common: (230 +10% VAC)^2/(1,000,000) = 0.105 watts, and 358 volts peak/1,000,000 = 385 microamps into and out of the probe's (+) and (-) inputs and the laptop's common (0 volts of the USB plug).
- Example: Differential-mode worst case: the laptop's power is derived from a "floating" source (e.g. the AC-to-DC adapter provided) but the (-) and (+) are plugged into the 230 + 10% VAC receptacle: (230 +10% VAC)^2/(2,000,000) = 0.05 watts, and 180 volts peak/1,000,000 = 180 microamps into and out of the probe's (+) and (-) inputs.
The tradeoff with larger-value resistors will be more circuit error due to leakage across surfaces, e.g. caused by dust and humidity and their combination. An enclosure together with conformal coating becomes more important. More about this TBD.
Trick #5 -- Pick a decent-quality "centering" adjustment:
- As the laptop warms up the internal reference of the AD1888 "drifts" for about 10 minutes until the voltage stabilizes. This causes the centering to move in one direction or the other.
This has proven to be the most difficult and potentially-expensive part of the design. "Trim-pots" can survive only about 200 adjustments (Bourns specification). A 500 full-cycle test of a Vishay/Sfernice trimpot destroyed it. An adjustment potentiometer that can withstand 25 adjustments a day x 200 days a year x 10 years = 50,000 cycles cost as much as the precision resistors and the amplifer. The favored potentiometers -- a Honeywell pc board-mounted pot and a pin equivalent Bourns pot -- P1 are shown on the Bill of Materials. At least one other manufacturer makes a "pot" that is pin-for-pin compatible.
Trick #6 -- Use only parts that can be hand-assembled: Fewer and fewer parts are designed as "through-hole" with leads on 0.10 inch spacings (2.54 mm), and many very nice parts cannot be hand-assembled because of their tiny sizes.
Trick #7 -- Bend the precision resistors' leads correctly (clamp needlenose pliers between resistor body, then bend lead against needlenose0 and do not apply too much solder-heat -- heatsink with needlenose or alligator clips when soldering : The IRC and Vishay/Dale resistors will drift +/-0.03% (typical) due to soldering. They also don't like physical shock (+/-0.03% typical). Precision components require precision treatment.
Trick #8 -- Ruggedize the mechanical design: The pc board itself is rather rugged. But leads into and out of an enclosure will be subject to stress and strain. Potentiometers will suffer blows. Best practices would either "sink" the plane of a control below the surface of the enclosure or as low as possible (a good example is the laptop's controls).
A suggested, alternative design "floats" the pc board inside its enclosure and pushes it (i.e. the potentiometer P1) against the enclosure's lid with a small circle of stiff polyethylene foam. If a child pounds the knob downward, or the enclosure falls on the floor with the knob hitting, there is enough compliance in the potentiometer's shaft to protect it -- the knob hits the lid before the pc board "bottoms out". A sideways blow could be damaging but will probably "flip" the enclosure.
Bill of Materials (BOM)
The following BOM specifies relatively good-quality components and reflect the schematic and the build instructions. Alternate parts are listed.
Part | Description | Preferred Manuf | Preferred Part Number | Comments | Qty | each, USD | 100 piece price | 1000 piece price | 1-piece price total | 100-piece price total | 1000 piece total |
C1 | Capacitor: 0.1 microfarad (uf), 10%, 63 V, metallized polyester, 0.20 inch lead spacing, box style | Epcos | B32529C334K | Visay/ Roederstein MKT1817410065 at $0.25/0.18/0.14; AVX BQ014D01044K at $0.11/0.06/0.036 | 1 | 0.17 | 0.066 | 0.046 | 0.17 | 0.07 | 0.046 |
C2 | Capacitor: 0.33 microfarad (uf), 10%, 63 V, metallized polyester, 0.20 inch lead spacing, box style | Epcos | B32529C334K | Visay/ Roederstein MKT1817433065 at $0.26/0.138/0.077; AVX BQ024D03344K at $0.21/ 0.1125/ 0.0675 | 1 | 0.26 | 0.138 | 0.077 | 0.26 | 0.14 | 0.077 |
IC1 | IC: Dual op-amp, single-supply 3 volt min, 3 mv max input offset, 30 nA input offset current max, 8-pin DIP | Fairchild Semi, National Semi | LM358AN or LM258AN | ST Micro, Texas Instruments, etc. | 1 | 0.34 | 0.24 | 0.138 | 0.34 | 0.24 | 0.138 |
LED1 | LED: green clear, 20 millicandela, 2.2V forward voltage, T-1 3/4, 0.1 inch lead spacing | Kingbright | WP7113SGC | Any color, any manufacturer: Avago HLMP-3507 | 1 | 0.13 | 0.10 | 0.07 | 0.13 | 0.10 | 0.07 |
P1 | Potentiometer, single turn, conductive plastic, PC mount, 10K ohm +/-20%, 50000 cycle life | Honeywell | 574SX1M48F103SD | PC-mount hole pattern is same as Bourns and other manuf. | 1 | 3.10 | 1.68 | 1.445 | 3.10 | 1.68 | 1.445 |
P2 | Potentiometer, trimmer, sealed, single turn, 1/4 inch cermet, 1K, 10%, 100 ppm/deg C, vertical mount | Bourns | 3362X-1-102LF | Or equivalent staggered pinout e.g. 3/8 inch 3386X-1-102LF or BI Technologies equivalents, Vishay/Sfernice equivalents | 1 | 0.83 | 0.65 | 0.555 | 0.83 | 0.65 | 0.555 |
R1*,R2* | Resistor: 1.00 meg, 0.1%, 1/2 watt precision, metal film, 10-25 ppm/deg C | Vishay/Dale | CMF601M0000BEEK | first B designates 0.1% | 2 | 0.70 | 0.45 | 0.28 | 1.40 | 0.90 | 0.56 |
(R1*, R2*) | Resistor: 1.00 meg, 1%, 1/2 watt commercial, metal film, matched to 0.1% | Vishay/Dale | CMF601M0000FHEK | Generic metal film 1%, 100ppm/deg C: RN60D1002F | 2 | 0.18 | 0.15 | 0.13 | |||
(R1*,R2*) | Resistor: 1.00 meg, 0.1%, 1/2 watt precision, metal film, 10-25 ppm/deg C | Vishay/Dale | PTF651M0000BYBF | also: IRC RC55LF-D-1.0M, 25 ppm, 200 volt,L $0.96/$0.64 | 2 | 1.87 | 1.21 | 0.94 | |||
(R3**, R4**) | Resistor: 20.0K, 0.1%, 1/4 watt , metal film, 50 ppm/deg C | Vishay | CMF5520B000BHEB | first B designates 0.1%, second B tape-and-reel | 2 | 0.36 | 0.29 | 0.24 | 0.72 | 0.58 | 0.48 |
(R3**, R4**) | Resistor: 20.0K, 1%, 1/4 watt, metal film, matched to 0.1%, 50 ppm/deg C or better | Vishay | CMF5520K000FHEK | Generic metal film 1%, 100ppm/deg C: RN55D2002F, matched to 0.1% | 2 | 0.14 | 0.07 | 0.055 | |||
( R3**, R4** ) | Resistor: 20.0K, 0.1%, 1/4 watt precision, metal film, 10-25 ppm/deg C | Vishay | PTF5620K000BYBF | also: IRC RC55LF-D-20K, 0.1%, 25 ppm, 200 volt: $0.96/$0.64 | 2 | 0.88 | 0.685 | 0.55 | |||
R3**, R4** | Resistor: 20.0K, 0.1%, 1/4 watt , metal film, 50 ppm/deg C | Vishay | CMF5520B000BHEB | first B designates 0.1%, second B tape-and-reel | 2 | 0.36 | 0.29 | 0.24 | 0.72 | 0.58 | 0.48 |
R6, R11 | Resistor: 10.0K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C | Xicon | 271-10K-RC | 2 | 0.09 | 0.02 | 0.012 | 0.18 | 0.04 | 0.024 | |
R7 | Resistor: 8.45K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C | Xicon | 271-8.45K-RC | 1 | 0.09 | 0.02 | 0.012 | 0.09 | 0.02 | 0.012 | |
R8 | Resistor: 20.0K, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C | Xicon | 271-20K-RC | 1 | 0.09 | 0.02 | 0.012 | 0.09 | 0.02 | 0.012 | |
R10 | Resistor: 499 ohm, 1%, 1/4 watt commercial, metal film, 50 ppm/deg C | Xicon | 271-499-RC | 1 | 0.09 | 0.02 | 0.012 | 0.09 | 0.02 | 0.012 | |
R5, R12 | Resistor: 1K, 1%, 1/4 watt commercial, metal film, 50ppmdeg C | Xicon | 271-1K-RC | 2 | 0.09 | 0.02 | 0.012 | 0.18 | 0.04 | 0.024 | |
TB1 | Terminal block: screw-type, 5.08mm pitch, 2 terminal, vertical mount, 10mm height, with clamp | Radio Shack | 276-1388 | Set of 4 x 2-position blocks; 2 blocks lock together | 0.5 | 2.49 | 1.25 | ||||
(TB1) | Terminal block: screw-type, 5.08mm pitch, 2 terminal, vertical mount, 10mm height, with clamp | Molex | 39880-0302 | 2 | 0.55 | 0.29 | 0.26 | 0.58 | 0.52 | ||
(TB1) | Terminal block: screw-type, 5.08mm pitch, 4 terminal, vertical mount, 10mm height, with clamp | Phoenix Contact | 1729144 MKDSN 1.5/4-5.08 | 1 | 1.44 | 1.09 | 0.92 | ||||
Z1 | 2.50 volt 1% shunt regulator/reference, TO-92 | Texas Instruments | TL431ACLP | Any equivalent | 1 | 0.40 | 0.27 | 0.135 | 0.40 | 0.27 | 0.135 |
Total | Total | Total | 9.95 | 5.92 | 4.59 | ||||||
PCB | PC Board: 0.062 inch glass-epoxy FR4, 1 oz copper two sides, plated-through holes, 2.913 x 1.330 inch, 67 holes standard sizes, no solder masks or component identifiers | AP Circuits | --- | For budgetary (estimation) purposes | 1 | 4.97 | 3.34 | 4.97 | 3.34 | ||
(PCB) | 2-sided phenolic double-sided copper 0.062 | Radio Shack | 276-1499 | Yields qty 6 boards: $4.50 + cost of drill ($2.00) + cost of burr ($4.00) divided by 6 | 1 | 1.65 | 1.65 | ||||
Case & lid | Plastic, translucent blue: 3.150 x 1.575 x 0.787 inch | Hammond Manufacturing | 1551KTBU | 1 | 1.84 | 1.32 | 1.19 | 1.84 | 1.32 | 1.19 | |
knob | Knob diameter TBD -- for best fit knob requires "skirt recess" of 0.11 inch, 0.5 inch shaft depth, knob height approx 0.65-0.75 inch | Rogan | PT 5-S | Rogan knob requires shortening shaft, and clips in place. Use Radio Shack knob for lower-quantity pricing. | 1 | 0.75 | 0.75 | 0.75 | 0.75 | ||
knob | 2-shot black and grey, no markings, 0.62 diameter, 0.45 high, for D-shaft 0.25 long. With spring clip for 2.50 x .218 shaft. | Rogan | PT-5-S | Rogan knob requires shortening shaft, and clips in place. 10K pricing drops to $0.36 | 1 | 0.59 | 0.59 | ||||
knob | 0.625 diameter skirt, 0.25 shaft diameter, | Handmade | www.grainger.com supplies the material | Approximately 100 knobs can be made from a 6 ft long ABS rod at $15.71, $5.02 for PVC Type 1 grey, UHMW-PE Black 5.8 in dia $6.01 | 1 | 0.10 | |||||
Sub-total | Sub-total | Sub-total | 4.34 | 7.04 | 5.12 | ||||||
PL1 | Plug, mono audio 3.5 mm (1/8 inch), black plastic barrel and strain relief | CUI Inc | MP3-3501 | Has somewhat flexible strain relief | 1 | 0.76 | 0.51 | 0.38 | 0.76 | 0.51 | 0.38 |
(PL1) | PL1: Plug, mono audio 3.5mm (1/8 inch), black plastic barrel | Kobiconn | Mouser 171-PA-3191-1-E | Generic | 1 | 0.71 | 0.50 | 0.42 | |||
PL2 | USB plug: "silver/white", A-type 4 pin, "naked" (no attached wires) | Kobiconn | Mouser 154-UAW16-E | Assmann A-USBPA-R: $0.40/0.24/? | 1 | 0.68 | 0.42 | 0.35 | 0.68 | 0.42 | 0.35 |
PL2 | USB plug-hood: for Kobiconn 154-UAW-16-E | Kobiconn | Mouser 154-UAC16-E | Acts as a strain relief. Assmann A-USBPA-HOOD-R $0.36/0.22/? | 1 | 0.54 | 0.33 | 0.27 | 0.54 | 0.33 | 0.27 |
test-lead wire | RED PVC insulation, 28 AWG 19x40 stranding, 0.018 inch insulation, 0.047 inch total diameter. | www. e-z-hook.com | 9501-100-red; 9501-1000-red | 4 | 0.228 | 0.228 | 0.16 | 0.912 | 0.91 | 0.64 | |
(test-lead wire) | RED PVC insulation, 300V, 28 AWG 7x36 stranding, 0.018 inch insulation, 0.047 inch total diameter. | Alpha | Alpha UL1007 | 4 | 0.225 | 0.225 | 0.108 | ||||
test-lead wire | BLACK PVC insulation, 28 AWG 19x40 stranding, 0.018 inch insulation, 0.047 inch total diameter. | www. e-z-hook.com | 9501-100-black; 9501-1000-black | 4 | 0.228 | 0.228 | 0.16 | 0.912 | 0.91 | 0.64 | |
(test-lead wire) | BLACK PVC insulation,300V, 28 AWG 7x36 stranding, 0.018 inch insulation, 0.047 inch total diameter. | Alpha | Alpha UL1007 | 4 | 0.225 | 0.225 | 0.108 | ||||
heatshrink | Very-flexible polyolefin 1/4 inch final diameter, black | 3M | VFP-876 1/8" x length, black | $2.49 per 5', $28.53 per 100', $103.01 per 500' | 1.8 | 0.498 | 0.2853 | 0.103 | 0.90 | 0.51 | 0.1854 |
heatshrink | Very-flexible polyolefin 3/32 inch final diameter, black | 3M | VFP-876 3/32" x length, black | $2.31 per 5', $26.45 per 100', $95.48 per 500' | 0.5 | 0.46 | 0.265 | 0.191 | 0.23 | 0.13 | 0.0955 |
heatshrink | Very-flexible polyolefin 3/16 inch final diameter, black | 3M | VFP-876 3/16" x length, black | $3.03 per 5', $30.70 per 100' | 0.1 | 0.606 | 0.307 | 0.307 | 0.06 | 0.03 | 0.0307 |
heatshrink | Flexible polyolefin 3/32 inch final diameter, RED | 3M | FP332R x length | $1.92 per 5', $22.03 per 100' | 0.15 | 0.384 | 0.220 | 0.220 | 0.06 | 0.03 | 0.033045 |
strain relief C-ring | Crimp-ring: 0.125 inch inner-diameter, 14 AWG (0.062) copper or aluminum wire | Handmade | --- | Wind e.g. 16 turns on .125 inch steel mandrel, grind a slot through all turns simultaneously (use 2 abrasive Dremel grinding wheels on Dremel arbor) -- makes 16 C-rings | 2 | 0.01 | 0.01 | 0.01 | 0.02 | 0.02 | 0.02 |
Foam cushion | 0.125 thick, approx 0.5 inch diameter | Seattle Fabrics | TBD -- stiff polyethene foam | For knob compliance (impact protection) -- glue beneath pot P1 | 1 | 0.01 | 0.01 | 0.01 | 0.01 | 0.01 | 0.01 |
Foot | Surface-gripping foot | ||||||||||
Sub-total | Sub-total | Sub-total | 5.08 | 3.82 | 2.65 | ||||||
Total | Total | Total | 19.36 | 16.78 | 12.36 | ||||||
Optional | |||||||||||
minihook | Standard construction, square-hole tip, "minihook" to minihook, 36 inches red 22 AWG 66x40 | www. e-z-hook.com | 204-36W-red | $4.32/3.90/3.25 divided by 2 | 1 | 2.16 | 1.95 | 1.62 | 2.16 | 1.95 | 1.62 |
minihook | Standard construction, square-hole tip, "minihook" to minihook, 36 inches black 22 AWG 66x40 | www. e-z-hook.com | 204-36W-BLK | $4.32/3.90/3.25 divided by 2 | 1 | 2.16 | 1.95 | 1.62 | 2.16 | 1.95 | 1.62 |
Oscilloscope probe construction details
PC board manual-construction details
The following is the recommended construction method:
- Crude point-to-point wiring on a piece of "perf" board (unplated PC board material perforated on 0.1 inch spacings) exhibits "AC pickup" (capacitively-coupled interference between the student's hand and the components and traces of the pc board). For this reason, this method was abandoned in favor of a two-sided pc board either hand-fabricated with top- and bottom-soldering, or a commercially-fabricated as a double-sided plated through-hole pc board.
Construction method: Start with 0.062 inch thick, double-sided 1 oz copper (1/2 oz will work in a pinch, so will 0.032 inch thick double-sided) pc board laminate. Radio Shack's pc laminate is a cheap melamine/phenolic material but it contains no glass fibers to wear out your drills and Dremel burrs. The more classical and rugged substrate is "FR4" ("Fire Resistant") glass-epoxy (available from www.digikey.com or www.mouser.com).
To hand-fabricate such a board, tools required include a digital voltmeter, a steel dial calipers (to act as a ruling scribe as well as a measuring device), a Dremel tool (high-speed hand-held rotary tool) mounted in a "drill press" (Dremel and Sears sells them) and quipped with a 0.032 inch drill etc. (beaders/jeweler's drills work nicely), safety glasses (required for careful observation while drilling and soldering), soldering iron with pointy tip, thin flux-core solder with rosin or other activating agents in the solder, solderwick, needlenose pliers, miniature flush cutters, a wire stripper, etc. Tape and a small vise or other holding device (e.g. for fishermans' fly-tying) are very useful.
If the builder has access to a decent inkjet printer then with some "dimensional adjustments" (i.e. trial and error, but it must be accurate!) the images could be printed onto good-quality paper and stuck -- with double-sided tape (glue won't work) -- to the raw pc board. Drill the two B-holes from the front side (top, component side). Drill the same two B-holes into the backside (bottom) image. With the use of two locator "pins" (e.g. headless nails driven into a piece of soft wood and located with the help of the pc board's locating holes) put the backside image face down (oriented correctly!); you will eventually drop the pc board down on the locator pins. But first apply the double-sided tape to the back of the pc board, and drop the board down onto its back (bottom) image. (If this is done well, three or four boards can be stacked and drilled all at once.)
- Drilling should be done with the Dremel tool set at about half to 3/4 of full speed, i.e. much faster than a drill press. If the drills are sharp and the speed is high, the holes will be very clean. Do not apply a lot of drilling pressure, expecially when drilling stacked boards (the drills may "wander" in the stack).
Another approach is to use a dial caliper's sharp points to rule a 0.10 inch grid over the surface of the black pc board. Carefully locate and mark each hole with a prick-punch (a sharpened steel nail will do). Then drill the holes.
Now remove the etch to form the traces -- don't go too deep, go back and forth a few times to remove just the littlest amount of copper. This is straightforward but tedious work when the image is stuck to the board. Otherwise, use a very fine indelible marker to draw where the copper is to be removed. and then remove etch with a Dremel tool -- the trick is to remove, with a tiny Dremel burr (#106 0.032 burr is best, a #107 0.062 burr will work in a pinch), as little etch as possible. Use a cork-backed, stainless steel ruler as a guide for both the marking pen and when cutting the etch away with the Dremel tool. If the copper is tinned, so much the better -- bare copper will tarnish; although this does not affect the circuit, soldering is more difficult.
After removing the scraps of paper+tape, if used, clean up the board with very very fine sandpaper or steel wool. Inspect it against a very bright bulb for tiny (hairline or smaller) bits of shorting copper. (This is mandatory: It's almost impossible to aviod tiny shorts. Use the Dremel tool with the tiny burr to double-check all the grooves you've cut in the board.)
Kits exist to etch pc boards. See www.mouser.com or www.digikey.com. A commercially-fabricated pc board is preferred. (Details TBD). The following book is excellent -- Al Williams, 2004, Build Your Own Printed Circuit Board, McGraw-Hill, New York, ISBN0-07-142783-X. The book includes a free-ware CD (Eagle software) for Windows or Linux that permits schematic capture and double-sided pc board layout.
Lead-bending: Always use a needlenose pliers between the body of the part (e.g. resistor) and the lead to be bent.
Solder overheating, cold-solder joints, etc: This double-sided fabrication requires both top and bottom soldering -- mandatory for all but those few components with leads that cannot be reached (pot P2, LED, capacitors C1 and C2, and Z1). Be sure to use a fluxed solder specifically for electronics work (do not use plumber's acid-core solder). Practice your soldering technique. The components can take a few seconds of soldering heat. But prolonged application of heat, or the use of huge soldering tips (e.g. don't use a soldering "gun"), and monster blobs of solder will overheat the matched resistors R1 and R2, R3 and R4, the voltage reference Z1 and the operational amplifer IC, cause shorts, melt away the PVC insulation of the lead-wires, etc. Be on the lookout for "cold-solder" joints -- places where the solder doesn't flow nicely and leaves the connection "unmade".
Cleanup: If you use rosin-fluxed solder the rosin is left on the board. The best practice is to remove it; start by scraping it out of the bare places between the copper and then apply isopropyl alcohol (rubbing alcohol e.g. 70% isopropyl/30% water) with a cheap bristle paintbrush. (Or use a professionally-compounded mix). Don't dip into the solvent or water-wash this board! The big potentiometer is not sealed! And gunk may get into the terminal block. Some water-soluable fluxes exist, but again, use a brush to apply any solvent. Or use a no-clean flux.
- After brushing on the alcohol mount the board vertically and at an angle so that the gunky liquid drains off the lower left corner.
Conformal coating: Manufacturers use sprays (expensive) to "conformally coat" their boards for water-, dust- and fungus-resistance. Use multiple coats. See www.mouser.com or www.digikey.com. Be careful to tape over the output terminal block TB1 and any "entry points" of potentiometer P1.
Assembling into a box, potting: The assembly should be put into a little plastic box. "Potting" (casting the board in a compatible 2-part RTV rubber) would be ideal excepting that the potentiometer P1 will "leak" and be ruined, and once potted the circuit may not be repairable, and the compounds are expensive. The better alternative is to conformally-coat the board (apply masking tape over the place where P1's leads exit, and over the top and side of terminal block P1) and then enclose in the suggested box (more measuring and drilling is required). See mechanical details below.
Best practices: The most difficult part of the design is how to assemble it into a robust object suitable for use by children. The current recommendation is to have the board loose (somewhat -- 0.015 inch on each side) in the box but pushed up against the cover by a 0.5 to 0.75 inch diameter x 0.20 inch thick circle of stiff polyethylene foam. The knob should have just enough clearance so if a child pushes hard on the knob the whole board is pushed into the box, but then springs back and pushes the board up into position. (2) Wires into the USB and audio plugs must be strain-relieved by bending-over of the "prongs" onto heatshrink tubing over the wires (the heatshrink tubing protects the wires). (3) A strain relief for the wires into the box must also be provided. See details below.
Cable: For +5 volt power from laptop and audio-plug input to laptop
A detailed description of the cable between the circuit and the laptop:
- Step 1 Assemble the components.
- Step 2 Form the USB twisted pair and audio twisted pair:
- 2.1 Cut 2 lengths of red wire at 24 inches, cut two lengths of black wire at 24 inches. Twist together at approximately 0.5 turn per inch. These form the +5 volt/USB pair and the audio-plug pair. The twisting will shrink the wires about 1 inch in length. Tag (tape, or solder, etc) the pairs to keep them straight.
- 2.2 Form a single cable from the two pairs: Start with all four wires flush at the left end. Then cable the two twisted pairs together into a smooth bundle of four wires. Cut the USB pair so it is 5 inches shorter than the audio pair.
- 2.3 Fish the cabled pairs down the 16 inch length of 0.187 inch (beginning-diameter) heatshrink tubing. For example, run a piece of 24 inch solid (stiff) wire to the left end of the cable and pull the cable through the heatshrink. Start with the tubing 1.5 inches from the left ends.
- 2.4 Place the 4.0 lenth of 0.125 (beginning diameter) heatshrink tubing over the audio plug twisted pair. Important: Space this tube about 0.25 inch away from the end of the first heatshrink tubing. This will leave the 0.25 inch of audio-plug wire exposed for purposes of bending in the following step.
- 2.5 Shrink the tubing: Start at the left end and use a heat gun to shrink the tube over the cabled wires (air from a hair-drying gun may work, but is usually not quite hot enough). Or carefully rub the barrel of a hot soldering iron (not the tip) over the length of tubing (takes practice, dwelling too long will melt the wires and/or destroy the heatshrink tubing).
- 2.6 Trim the USB cable so it extends at 0.5 inches beyond the end of the cable+heatshrink. Carefully: Strip the red and black wires back 1/8 inch and "tin" with solder. (If mistakes are made, you will have to clip back the heathsrink over the cable and try again.)
- Step 3: Solder the USB plug to the cable:
- 3.1 Form the "pigtail" or "knot": Bend the audio-plug pair backward along the two-pair bundle. Cut a 0.75 inch piece of 0.25 heatshrink tubing (0.25 inch diameter before heathrinking) and place over the bend, covering it. Heatshrink this tubing in place. This "knob" or "knot" will receive the crimp of the USB connector -- i.e. the crimping of the jaws will occur over this "knot", thereby strain-relieving both connectors.
- 3.2 Slip the USB plastic "boot" over the right end (over the 4-wire bundle and the 2-wire bundle), wide-end to the right.
- 3.2 Solder the USB connector to the USB pair of wires (in the following, the mechanical equivalent of an extra pair of hands such as fly-tying holder -- will be very helpful).
- 3.2.1 The "knot" must be about 1/8 inch inside the crimping zone so that the crimps will fall solidly over the "knot". From this criming zone measure out 0.5 inch and cut the USB wires flush. Strip back 3/16 inch (0.187 inch, 4.8 mm). Tin the wires.
- 3.2.2 Tin the two outer-most contacts on the USB connector's white insert.
- 3.2.3 Solder the red wire to the uppermost and the black wire to the bottommost contact of the white insert.
- 3.2.4 Inspect your workmanship carefully. If the solder is blobby and ugly, or any loose solder is on the insert, or little wires are loose, trim them away with a sharp knife (e.g. an Xacto tool).
- 3.2.5 With careful attention to orientation, snap the little black clip in place. If it doesn't fit, you may have put too much solder on the terminals. Fix any problems.
- Step 4: Assemble USB plug
- 4.1 Insert the white insert "upside down" in the larger, outer metal shell. The insert should slide easily into the shell; if not you're inserting it upside down.
- 4.2 Snap the smaller metal shell/cover over the larger metal shell to cover up the wires .
- 4.3 Carefully (workmanship counts here) crimp the "teeth" of the jaws over the "knot". Be sure not to crimp too hard, but make the crimping neat and tidy and firm, round as possible, and make sure the jaws are closed and the teeth mesh. Test with tug.
- 4.4 Rotate the boot so that its little USB symbol is on the unjointed side of the metal connector, then slide it forward over the knot (may be a bit of a tight fit) and continue sliding it forward until it clicks in place.
- Step 5 Mount the audio plug to the audio-plug pair of wires (again, the fly-tying holder will be a help here):
- 5.1 Disassemble the audio plug's boot from the plug and slip it, narrow end first, over the audio wires.
- 5.2 Cut a piece of red 3/32 inch heatshrink 1.25 inches long and slip this over the wires.
- 5.3 With the red heatshrink flush to the black heatshrink, heatshrink this red tube in place. This red tube will be acting as both a marker -- red plug into red jack of laptop -- and as a wire protector.
- 5.4 Cut the red wire 3/8 inch from the end of the two heatshrink tubes, and strip it back 1/8 inch or a bit longer if using a stereo plug.
- 5.5 Cut the black wire 1/8 or less from the end of the two heatshrink tubes, and strip it back 1.8 inch.
- 5.6 Tin both wire-ends. Thin the connector's terminals being sure to keep the holes open -- the black-wire solder joint will be underneath the "tang".
- 5.7 Solder the red wire through the terminal(s) (Through both terminals if the plug is a stereo plug).
- 5.8 Pass the tinned black wire through the hole in the long "tang" and solder it to the underside tinned area.
- 5.9 Inspect your workmanship for cold solder joints, blobs, messiness, loose strands of wire, etc.
- 5.10 Carefully (again, workmanship counts here) crimp the "teeth" of the jaws over the heatshrink. If the jaws are over the wires, redo the job. Be sure not to crimp too hard, but make the crimping neat and tidy and firm, relatively round, and make sure the jaws are closed and the teeth mesh. Test with a tug.
- 5.11 Screw the "boot" over the plug and tighten firmly but not so tight that you strip the threads.
- Step 6 Strain-relieve the circuit-board end (left end) of the cable:
- 6.1 Place a C-crimp 1/4 inch from the end of the heatshrink tubing. As before, carefully crimp the C closed. Be sure it is firmly grabbing onto the wire -- test by tugging.
- 6.2 Place a second C-crimp 1/8 inch from the first one. (Measure this, it's important). Crimp this C closed. test by tugging.
- 6.3 Cut a piece of 1/4 heatshrink to 1.0 inch and slip over the two C-crimps so that that it is flush with the heatshrink that is already there.
- 6.4 Heatshrink the tube in place.
- 6.5 Test the cable and prepare it for attachment to the pc board: strip back the four ends 3/16 inch and tin, but keep track of which pair is which (with tape etc). Test continuity with an ohmmeter (i.e. a digital voltmeter in the "Ohms" setting).
Mechanical construction details
Revision History, simple differential amplifier
The design is subject to revisions as it evolves.
- REV 0: Prototype-test phase, redraw "layout" drawings, add info re E-Z-Hook to schematic & remove top-view symbols (2 Jan 08)
- REV 1: Correct "layout" drawing -- change potentiometer symbol from bottom to top view (3 Jan 08)
- REV 2: Change gain from 1:10 to 1:20, show optional components on schematic with . Add 2nd layout drawing for single-turn potentiometer implementation, plus an LED power-on indicator. Update Bill Of Material. (5 Jan 08)
- REV 3: Extensive revision of Bill of Materials with added 1000-piece price estimates, modified circuit schematic with terminal block and second "rough trim" potentiometer, modified assembly and layout drawing, new cable-assembly method, etc based on experience of two hand-built prototypes (12 Feb 08).
- REV 4: Correct mistakes in schematic. Add preliminary cable-assembly drawings (19 Feb 08). Add photograph of prototype #2 and pc board #3 (20 Feb 08).
- REV 5: Add mechanical construction drawings. Emend cable-assembly drawings. Emend hand-fabrication instructions (24 Feb 08).
- REV 6: Add new layout prints and photographs. Emend hand-fabrication instructions (27 Feb 08). Update B.O.M. (6 March 08). "v2" design is considered completed.
Other ideas
- A low cost (possibly $2) probe that would increase the range of voltage that can be applied to the input.
- An ultrasonic distance measurement system that connects to the XO and allows the XO to log data. This has immense applications in water level monitoring in villages and also in robotics applications.
- A general purpose hardware kit that interacts with the measure activity. Something on similar lines to http://www.create.ucsb.edu/~dano/CUI/
- Sensors could be distributed along with the XO as peripherals. The advantage of this would be that the measure activity can be calibrated against the known specs of the sensors.
- Being able to measure resistance
- A low cost version of LEGO mindstorms system built around the XO. The XO has good hardware and software capabilities to achieve this.
- RS232 or serial interface would allow a host of electronic devices to interact and communicate with the XO.
- Build a sensor network using a sensor connected to each XO and utilize the mesh networking capability of the XO. This would give us a highly powerful, robust and reconfigurable sensor network.
- Build medical applications using sensors and the XO. See TeleHealth_Module
- Do some Fablab projects using the XO. See http://fab.cba.mit.edu/labs/vigyan/
- Collaborative music creation over the mesh using the music software on the XOs and giving input from an array of different sensors.
- Integrate sensor input into LOGO / Turtle activity
- Milk purity in rural areas. I remember reading about it in some FabLab's website - I think it requires an ADC, which we have.
- Making a battery out of some vegetable (potato, onion?) to study electricity and current.