<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hades.mech.northwestern.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=StevenManuel</id>
	<title>Mech - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://hades.mech.northwestern.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=StevenManuel"/>
	<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php/Special:Contributions/StevenManuel"/>
	<updated>2026-05-02T12:59:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Analog_Input&amp;diff=9235</id>
		<title>Analog Input</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Analog_Input&amp;diff=9235"/>
		<updated>2008-12-11T12:30:39Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can assign from one to thirteen pins to be used as analog inputs.  These pins are named AN0 through AN12.  The set that you use as analog inputs must start with AN0 and must be contiguous, i.e. if you use AN0 and AN3 as analog inputs, you can&#039;t use AN1 and AN2 for a different purpose.  A statement such as setup_adc_ports(AN0_TO_AN3) selects the range of pins to be used as analog inputs.&lt;br /&gt;
&lt;br /&gt;
The input voltage range is 0 to 5V.  Voltages outside this range can damage the PIC.   The 0 to 5V range is converted by the PIC&#039;s ADC to an 8 or 10 bit positive integer, i.e. to a value 0-255 or 0-1023.  A statement such as #DEVICE ADC=10 selects 8-bit or 10-bit ADC resolution.&lt;br /&gt;
&lt;br /&gt;
There is really only one ADC in the PIC, and a bunch of analog switches to connect any one of the thirteen input pins to it.  After a change of selected pin, e.g. with set_adc_channel(3) to select input pin AN3, a 10uS delay is recommended  so that the ADC can lock in and digitize the new value, before you read it with read_ADC().  You can read_adc() with no delay if you haven&#039;t recently changed selected input pin.&lt;br /&gt;
&lt;br /&gt;
In the demo program AnalogInput.c a 10-bit ADC conversion is done, with the low order 8 bits displayed on port D and the high 2 bits displayed on pins C0 and C1.&lt;br /&gt;
&lt;br /&gt;
[[Image:analoginputpot.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Reading a trimpot&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A simple source for a 0-5V analog level is a potentiometer (a.k.a. trimpot).   One use is as an easily adjustable variable value to control operation ofyour program, or some gain factors; the kind of thing you might have otherwise done by querying the user in a text window.  Here, just turn the pot.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sample code&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:analoginpic.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Reading a phototransistor&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A typical circuit for reading light intensity with a phototransistor is shown at right.   Greater light level causes a lower voltage at pin AN0, and a lower value read by the PIC&#039;s ADC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Amplification and level shifting&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above circuit used a sensor without amplification, and the output voltage range was intrinsically limited to 0-5V by the supply rails of the circuit.   If you wish to use an opamp or instrumentation amp to produce the voltage to be digitized, you will need to limit it to the 0-5V range, and possibly also to level-shift it so that both polarities of sensing are readable.  There are many ways to accomplish these things.&lt;br /&gt;
&lt;br /&gt;
The best way is to use a level of 2.5V as your &amp;quot;null&amp;quot; level.   If you use a rail-to-rail opamp with supply rails of 0 and 5V, its output is naturally limited to the PIC&#039;s analog input range.   One convenient way to produce the 2.5V without consuming power in a voltage divider is to use a rail splitter which provides a reference voltage exactly half way between the supply rails.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:AmplifiedPT.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Amplified phototransistor &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Above is an amplified phototransistor circuit, which provides 100-fold gain (1M/10K) and a high-pass filter with a time constant of 1mS (10Kohm * 100pF).   Thus it responds sensitively to a rapid change in light level, probably caused by a strobed LED or IRED, while ignoring overall (DC) light level.   &lt;br /&gt;
&lt;br /&gt;
Strobing an LED or IRED briefly (e.g. 100uS) and infrequently (e.g. every 5 mS) allows you to use 10x the rated steady current, and get 10x more light, without overheating the LED.   It also allows you to use a phototransistor circuit that responds only to changes, and your PIC software can compare the light level just before and during the flash.  All of these allow greatly improved sensitivity.&lt;br /&gt;
&lt;br /&gt;
The chip is a high-speed rail-to-rail opamp such as LM6132, with supply rails of 0 and 5V.   Its non-inverting input is held at 2.5V by the voltage divider, and therefore this is the quiescent level of the inverting input as well -- and of the output.   The ADC in 10-bit mode reads about 512.   &lt;br /&gt;
&lt;br /&gt;
Perhaps the voltage divider produces not exactly 2.5V, or the ADC maps 2.5V not to exactly half scale?   The connection from the 2.5V reference point to analog input AN1 allows the PIC to determine the ADC result corresponding to quiescence.&lt;br /&gt;
&lt;br /&gt;
tip - high gain high speed opamp circuits are often unstable, as you can observe with an oscilloscope (and only with an oscilloscope).   Try to eliminate oscillations with a small capacitor (e.g. 10pF) across the feedback resistor (1M here).  Always use a supply decoupling capacitor (e.g. 0.1uF)  across the supply rails, right near the chip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:InstAmp2.gif|right]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;b&amp;gt;Instrumentation amp&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Instrumentation amps are often used with full- or half- strain gauge bridges (four or two strain gauge elements).   A half-bridge is shown above.   The gain of the instrumentation amp is set by a gain resistor according a to a formula in the datasheet, typically gain = 50K/Rgain.   &lt;br /&gt;
&lt;br /&gt;
For easy interfacing to a PIC&#039;s 0-5V analog input range, use a rail-to-rail instrumentation amp such as AD623.   The instrumentation amp subtracts its two inputs, multiplies the difference by the gain, and adds on the reference voltage.   Here we&#039;ve used a reference voltage of zero, but we could have made it 2.5V by using a voltage divider.   With a reference voltage of zero, which is preferable, how can we read deflections of the strain gauge bridge of both polarities?   The 10K nulling trimpot allows us to set the quiescent output of the instrumentation amp to 2.5V.  Alternately, you could use a rail splitter which is simply an IC that outputs the average of its two input rails, which in this case will be 0V and 5V.   This method wastes far less current but cannot be trimmed to the ideal 2.5V in the case that your supply doesn&#039;t produce exactly 5V.&lt;br /&gt;
&lt;br /&gt;
Often strain gauges need an amplification factor of 500 or even 1000.  At these high gains, noise from nearby digital devices (such as a PIC) can cause erratic operation of the amplifier.   Use supply decoupling capacitors (typically 0.1uF) near the chip, from both supply rails to Vref (ground here).  If it is acceptable to low-pass the signal, use an appropriate capacitor between the inverting and non-inverting inputs of the instrumentation amp (e.g. for a 1mS low pass, C=0.1uF here, because 0.1uF * 10Kohm  = 1mS).   You can also use an RC low pass between the output of the instrumentation amp and the PIC input.   In many cases you may need to use a standalone strain gauge amplifier board with its own power supply (see [xxx])&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Analog_Input&amp;diff=9234</id>
		<title>Analog Input</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Analog_Input&amp;diff=9234"/>
		<updated>2008-12-11T12:24:27Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: Added rail splitter to level shifting and instrumentation amp sections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can assign from one to thirteen pins to be used as analog inputs.  These pins are named AN0 through AN12.  The set that you use as analog inputs must start with AN0 and must be contiguous, i.e. if you use AN0 and AN3 as analog inputs, you can&#039;t use AN1 and AN2 for a different purpose.  A statement such as setup_adc_ports(AN0_TO_AN3) selects the range of pins to be used as analog inputs.&lt;br /&gt;
&lt;br /&gt;
The input voltage range is 0 to 5V.  Voltages outside this range can damage the PIC.   The 0 to 5V range is converted by the PIC&#039;s ADC to an 8 or 10 bit positive integer, i.e. to a value 0-255 or 0-1023.  A statement such as #DEVICE ADC=10 selects 8-bit or 10-bit ADC resolution.&lt;br /&gt;
&lt;br /&gt;
There is really only one ADC in the PIC, and a bunch of analog switches to connect any one of the thirteen input pins to it.  After a change of selected pin, e.g. with set_adc_channel(3) to select input pin AN3, a 10uS delay is recommended  so that the ADC can lock in and digitize the new value, before you read it with read_ADC().  You can read_adc() with no delay if you haven&#039;t recently changed selected input pin.&lt;br /&gt;
&lt;br /&gt;
In the demo program AnalogInput.c a 10-bit ADC conversion is done, with the low order 8 bits displayed on port D and the high 2 bits displayed on pins C0 and C1.&lt;br /&gt;
&lt;br /&gt;
[[Image:analoginputpot.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Reading a trimpot&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A simple source for a 0-5V analog level is a potentiometer (a.k.a. trimpot).   One use is as an easily adjustable variable value to control operation ofyour program, or some gain factors; the kind of thing you might have otherwise done by querying the user in a text window.  Here, just turn the pot.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sample code&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://peshkin.mech.northwestern.edu/pic/code Link to all sample code here.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:analoginpic.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Reading a phototransistor&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A typical circuit for reading light intensity with a phototransistor is shown at right.   Greater light level causes a lower voltage at pin AN0, and a lower value read by the PIC&#039;s ADC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Amplification and level shifting&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above circuit used a sensor without amplification, and the output voltage range was intrinsically limited to 0-5V by the supply rails of the circuit.   If you wish to use an opamp or instrumentation amp to produce the voltage to be digitized, you will need to limit it to the 0-5V range, and possibly also to level-shift it so that both polarities of sensing are readable.  There are many ways to accomplish these things.&lt;br /&gt;
&lt;br /&gt;
The best way is to use a level of 2.5V as your &amp;quot;null&amp;quot; level.   If you use a rail-to-rail opamp with supply rails of 0 and 5V, its output is naturally limited to the PIC&#039;s analog input range.   One convenient way to produce the 2.5V for your instrumentation amp without wasting power in a voltage divider is to use a rail splitter which provides a reference voltage exactly half way between the supply rails.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:AmplifiedPT.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Amplified phototransistor &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Above is an amplified phototransistor circuit, which provides 100-fold gain (1M/10K) and a high-pass filter with a time constant of 1mS (10Kohm * 100pF).   Thus it responds sensitively to a rapid change in light level, probably caused by a strobed LED or IRED, while ignoring overall (DC) light level.   &lt;br /&gt;
&lt;br /&gt;
Strobing an LED or IRED briefly (e.g. 100uS) and infrequently (e.g. every 5 mS) allows you to use 10x the rated steady current, and get 10x more light, without overheating the LED.   It also allows you to use a phototransistor circuit that responds only to changes, and your PIC software can compare the light level just before and during the flash.  All of these allow greatly improved sensitivity.&lt;br /&gt;
&lt;br /&gt;
The chip is a high-speed rail-to-rail opamp such as LM6132, with supply rails of 0 and 5V.   Its non-inverting input is held at 2.5V by the voltage divider, and therefore this is the quiescent level of the inverting input as well -- and of the output.   The ADC in 10-bit mode reads about 512.   &lt;br /&gt;
&lt;br /&gt;
Perhaps the voltage divider produces not exactly 2.5V, or the ADC maps 2.5V not to exactly half scale?   The connection from the 2.5V reference point to analog input AN1 allows the PIC to determine the ADC result corresponding to quiescence.&lt;br /&gt;
&lt;br /&gt;
tip - high gain high speed opamp circuits are often unstable, as you can observe with an oscilloscope (and only with an oscilloscope).   Try to eliminate oscillations with a small capacitor (e.g. 10pF) across the feedback resistor (1M here).  Always use a supply decoupling capacitor (e.g. 0.1uF)  across the supply rails, right near the chip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:InstAmp2.gif|right]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;b&amp;gt;Instrumentation amp&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Instrumentation amps are often used with full- or half- strain gauge bridges (four or two strain gauge elements).   A half-bridge is shown above.   The gain of the instrumentation amp is set by a gain resistor according a to a formula in the datasheet, typically gain = 50K/Rgain.   &lt;br /&gt;
&lt;br /&gt;
For easy interfacing to a PIC&#039;s 0-5V analog input range, use a rail-to-rail instrumentation amp such as AD623.   The instrumentation amp subtracts its two inputs, multiplies the difference by the gain, and adds on the reference voltage.   Here we&#039;ve used a reference voltage of zero, but we could have made it 2.5V by using a voltage divider.   With a reference voltage of zero, which is preferable, how can we read deflections of the strain gauge bridge of both polarities?   The 10K nulling trimpot allows us to set the quiescent output of the instrumentation amp to 2.5V.  Alternately, you could use a rail splitter which is simply an IC that outputs the average of its two input rails, which in this case will be 0V and 5V.   This method wastes far less current but cannot be trimmed to the ideal 2.5V in the case that your supply doesn&#039;t produce exactly 5V.&lt;br /&gt;
&lt;br /&gt;
Often strain gauges need an amplification factor of 500 or even 1000.  At these high gains, noise from nearby digital devices (such as a PIC) can cause erratic operation of the amplifier.   Use supply decoupling capacitors (typically 0.1uF) near the chip, from both supply rails to Vref (ground here).  If it is acceptable to low-pass the signal, use an appropriate capacitor between the inverting and non-inverting inputs of the instrumentation amp (e.g. for a 1mS low pass, C=0.1uF here, because 0.1uF * 10Kohm  = 1mS).   You can also use an RC low pass between the output of the instrumentation amp and the PIC input.   In many cases you may need to use a standalone strain gauge amplifier board with its own power supply (see [xxx])&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Accelerometers&amp;diff=9141</id>
		<title>Accelerometers</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Accelerometers&amp;diff=9141"/>
		<updated>2008-12-09T00:24:34Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:mems accelerometer.png|right]]&lt;br /&gt;
&lt;br /&gt;
Accelerometers measure linear acceleration and also gravity; the two are indistinguishable.  Thus they unavoidably function as tilt sensors as well.   Inexpensive 1, 2, and 3-axis accelerometers are available which are constructed with MEMS techniques.  &lt;br /&gt;
MEMS gyroscopes are also available, for measuring angular velocity, but are more expensive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:carrier.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The LIS2L02AS4-TR accelerometer gives you a choice of +/-2g or +/-6g full scale.  It needs only a single +5V supply.  Its bandwidth is from DC to 1.5KHz.  The output is usually low-pass filtered in applications which do not need the full 1.5KHz bandwidth, using an external capacitor.&lt;br /&gt;
&lt;br /&gt;
The chip is available only in a surface-mount SO-24 package.  Fortunately an adapter socket (Digikey A322-ND) can be used to give the chip convenient DIP-24 legs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:somesoldered.jpg|right]]&lt;br /&gt;
Soldering the chip into the adapter socket is a little challenging.   Here are some tricks that make it easier.  The more of these you can take advantage of, the easier it will be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use a very fine pointed soldering iron and fine solder.&lt;br /&gt;
* Apply a bead of liquid flux to the pads, which will make the solder flow in between the pin and the pad enthusiastically.&lt;br /&gt;
* Tape the chip down onto its socket adapter.&lt;br /&gt;
* Have a magnifying lens or loupe available.&lt;br /&gt;
* Know which pins are not used.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last point is especially useful.  Start with pin 1 which is NC (Not Connected), so that even if you get a solder blob connecting pins 1 &amp;amp; 2 that&#039;s ok.  If the other pins are all aligned with their pads, pin 1&#039;s solder will now hold them there.  If not, melt pin 1&#039;s solder and adjust.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:chip.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now solder only the other pins that are in use, as shown in red on the diagram.   Solder one or two on the opposite edge as well, for mechanical stability.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pins marked &amp;quot;reserved&amp;quot; should not be solder-blobbed to their neighbors because we don&#039;t know what they connect to inside the chip.  Reserved is not the same thing as NC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
[[Image:circuit.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use a supply shunt near the chip (1uF) from +5 to ground).  Use low-pass filter capacitors on the outputs (called Cload in the diagram).  The output impedance of the chip is 110Kohm, so a 0.1uF capacitor gives a low pass time constant of ~10mS.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tie ST, PD low, and FS low for +/-2g full scale operation.  The output voltage ranges 0-5V, well matched to PIC inputs.  2.5V is the output when acceleration is zero and and the chip is horizontal (not tilted.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The circuit shows some optional buffer amplifiers to produce a low impedance output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Accelerometers and Low Pass Filtering ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using accelerometers in applications with high ambient vibrations, filtering the output signal is essential for limiting noise.  While in many cases first order (RC) low pass filters may be sufficient to attenuate ambient vibration, if those vibrations are great in magnitude and/or relatively close in frequency to the desired output, second order filtering may be necessary.  In addition, in order to protect the accelerometer from sourcing excessive current and dropping its output voltage, it is advisable to use &#039;&#039;active&#039;&#039; rather than passive filtering.  Both of these criteria are met by [[Second Order Active Filters]], specifically a second order active low pass filter.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The one major disadvantage of a second order filter is an increased maximum lag from 90 to 180 degrees but as with any filter, if C and R values are chosen carefully, the desired signal should not lie within that range.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Accelerometers&amp;diff=9140</id>
		<title>Accelerometers</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Accelerometers&amp;diff=9140"/>
		<updated>2008-12-09T00:23:09Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: Added low pass filtering to the accelerometer page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[image:mems accelerometer.png|right]]&lt;br /&gt;
&lt;br /&gt;
Accelerometers measure linear acceleration and also gravity; the two are indistinguishable.  Thus they unavoidably function as tilt sensors as well.   Inexpensive 1, 2, and 3-axis accelerometers are available which are constructed with MEMS techniques.  &lt;br /&gt;
MEMS gyroscopes are also available, for measuring angular velocity, but are more expensive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:carrier.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The LIS2L02AS4-TR accelerometer gives you a choice of +/-2g or +/-6g full scale.  It needs only a single +5V supply.  Its bandwidth is from DC to 1.5KHz.  The output is usually low-pass filtered in applications which do not need the full 1.5KHz bandwidth, using an external capacitor.&lt;br /&gt;
&lt;br /&gt;
The chip is available only in a surface-mount SO-24 package.  Fortunately an adapter socket (Digikey A322-ND) can be used to give the chip convenient DIP-24 legs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:somesoldered.jpg|right]]&lt;br /&gt;
Soldering the chip into the adapter socket is a little challenging.   Here are some tricks that make it easier.  The more of these you can take advantage of, the easier it will be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use a very fine pointed soldering iron and fine solder.&lt;br /&gt;
* Apply a bead of liquid flux to the pads, which will make the solder flow in between the pin and the pad enthusiastically.&lt;br /&gt;
* Tape the chip down onto its socket adapter.&lt;br /&gt;
* Have a magnifying lens or loupe available.&lt;br /&gt;
* Know which pins are not used.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last point is especially useful.  Start with pin 1 which is NC (Not Connected), so that even if you get a solder blob connecting pins 1 &amp;amp; 2 that&#039;s ok.  If the other pins are all aligned with their pads, pin 1&#039;s solder will now hold them there.  If not, melt pin 1&#039;s solder and adjust.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:chip.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now solder only the other pins that are in use, as shown in red on the diagram.   Solder one or two on the opposite edge as well, for mechanical stability.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pins marked &amp;quot;reserved&amp;quot; should not be solder-blobbed to their neighbors because we don&#039;t know what they connect to inside the chip.  Reserved is not the same thing as NC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
[[Image:circuit.gif|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use a supply shunt near the chip (1uF) from +5 to ground).  Use low-pass filter capacitors on the outputs (called Cload in the diagram).  The output impedance of the chip is 110Kohm, so a 0.1uF capacitor gives a low pass time constant of ~10mS.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tie ST, PD low, and FS low for +/-2g full scale operation.  The output voltage ranges 0-5V, well matched to PIC inputs.  2.5V is the output when acceleration is zero and and the chip is horizontal (not tilted.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The circuit shows some optional buffer amplifiers to produce a low impedance output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Accelerometers and Low Pass Filtering&#039;&#039;&#039;&lt;br /&gt;
When using accelerometers in applications with high ambient vibrations, filtering the output signal is essential for limiting noise.  While in many cases first order (RC) low pass filters may be sufficient to attenuate ambient vibration, if those vibrations are great in magnitude and/or relatively close in frequency to the desired output, second order filtering may be necessary.  In addition, in order to protect the accelerometer from sourcing excessive current and dropping its output voltage, it is advisable to use &#039;&#039;active&#039;&#039; rather than passive filtering.  Both of these criteria are met by [[Second Order Active Filters]], specifically a second order active low pass filter.  &lt;br /&gt;
&lt;br /&gt;
The one major disadvantage of a second order filter is an increased maximum lag from 90 to 180 degrees but as with any filter, if C and R values are chosen carefully, the desired signal should not lie within that range.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9139</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9139"/>
		<updated>2008-12-09T00:07:55Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high input impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff after the cutoff frequency on a bode plot of a 2nd order low pass filter for example, is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;External Links&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9138</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9138"/>
		<updated>2008-12-09T00:05:50Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high input impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff after the cutoff frequency on a bode plot of a 2nd order low pass filter for example, is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9137</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9137"/>
		<updated>2008-12-09T00:05:20Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high input impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff after the cutoff frequency on a bode plot of a low pass filter for example, is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9136</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9136"/>
		<updated>2008-12-09T00:03:44Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high input impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9135</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9135"/>
		<updated>2008-12-09T00:03:10Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9134</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9134"/>
		<updated>2008-12-09T00:02:05Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://en.wikipedia.org/wiki/Sallen_Key_filter&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9133</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9133"/>
		<updated>2008-12-09T00:00:57Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9132</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9132"/>
		<updated>2008-12-09T00:00:14Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2 pi rt(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9131</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9131"/>
		<updated>2008-12-08T23:59:47Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2pi*root(R_1 R_2 C_1 C_2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9130</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9130"/>
		<updated>2008-12-08T23:59:07Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R_1*R2*C1*C2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9129</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9129"/>
		<updated>2008-12-08T23:58:36Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequency for both high and low pass filters in Hz is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R1*R2*C1*C2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9127</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9127"/>
		<updated>2008-12-08T23:54:01Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
Where the cutoff frequencies in Hz are:&lt;br /&gt;
&lt;br /&gt;
High Pass&lt;br /&gt;
&amp;lt;math&amp;gt;f=1/(2*pi*sqrt(R1*R2*C1*C2))&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9126</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9126"/>
		<updated>2008-12-08T23:42:59Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:2ndOrderFilterDiagrams.gif]]&lt;br /&gt;
&lt;br /&gt;
The transfer function&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=File:2ndOrderFilterDiagrams.gif&amp;diff=9125</id>
		<title>File:2ndOrderFilterDiagrams.gif</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=File:2ndOrderFilterDiagrams.gif&amp;diff=9125"/>
		<updated>2008-12-08T23:42:15Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: Active 2nd order high, low, and bandpass filter circuit diagrams&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Active 2nd order high, low, and bandpass filter circuit diagrams&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9124</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9124"/>
		<updated>2008-12-08T23:40:56Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
* High impedance input, low impedance output&lt;br /&gt;
* greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff.  This can be very useful if the noise frequency is close to the desired signal frequency.&lt;br /&gt;
&lt;br /&gt;
[[Image:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
The transfer function&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9123</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9123"/>
		<updated>2008-12-08T23:34:41Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
*1)  High impedance input, low impedance output&lt;br /&gt;
*2)  greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff which can be very useful if the noise frequency is close to the desired signal frequency.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9122</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9122"/>
		<updated>2008-12-08T23:34:12Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
1)  High impedance input, low impedance output&lt;br /&gt;
2)  greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff which can be very useful if the noise frequency is close to the desired signal frequency.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9121</id>
		<title>Category:Electronics</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9121"/>
		<updated>2008-12-08T23:32:50Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Analog&lt;br /&gt;
**[[Basic Linear Circuits Review]]&lt;br /&gt;
***[[Resistors (Ohm&#039;s Law), Capacitors, and Inductors]]&lt;br /&gt;
***[[Kirchhoff&#039;s Current and Voltage Laws]]&lt;br /&gt;
***[[Voltage and Current Dividers]]&lt;br /&gt;
***[[RC and RL Exponential Responses]]&lt;br /&gt;
***[[Passive Filters]]&lt;br /&gt;
***[[Second Order Active Filters]]&lt;br /&gt;
**[[Semiconductors]]&lt;br /&gt;
***[[Diodes and Transistors]]&lt;br /&gt;
***[[Operational Amplifiers (Op-Amps)]]&lt;br /&gt;
&lt;br /&gt;
*[[Digital]]&lt;br /&gt;
**[[Logic Gates]]&lt;br /&gt;
**[[Flip-Flops and Latches]]&lt;br /&gt;
**[[555 Timer]]&lt;br /&gt;
**[[Schmitt Trigger]]&lt;br /&gt;
&lt;br /&gt;
*[[Integrated Circuits]]&lt;br /&gt;
&lt;br /&gt;
*Practical Considerations in Electrical Design&lt;br /&gt;
**[[Shielding, Grounding, Noise Suppression, etc.]]&lt;br /&gt;
**[[Conductors:  stranded, solid, ribbon cable, coax, twisted pairs, wire gauge (thickness)]]&lt;br /&gt;
**[[Switch Debouncing]]&lt;br /&gt;
&lt;br /&gt;
*Electrical Equipment and Software&lt;br /&gt;
**Power Supplies, Voltage Regulation, and Batteries&lt;br /&gt;
**[[Using Circuitmaker]]&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Filters&amp;diff=9120</id>
		<title>Second Order Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Filters&amp;diff=9120"/>
		<updated>2008-12-08T23:32:28Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: Second Order Filters moved to Second Order Active Filters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Second Order Active Filters]]&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9119</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9119"/>
		<updated>2008-12-08T23:32:28Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: Second Order Filters moved to Second Order Active Filters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
-High impedance input, low impedance output&lt;br /&gt;
-greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff which can be very useful if the noise frequency is close to the desired signal frequency.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9118</id>
		<title>Second Order Active Filters</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Second_Order_Active_Filters&amp;diff=9118"/>
		<updated>2008-12-08T23:32:12Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2nd order active filtering has two main advantages:&lt;br /&gt;
-High impedance input, low impedance output&lt;br /&gt;
-greater attenuation at high range (-40dB/decade as opposed to -20dB/decade for RC filter)&lt;br /&gt;
&lt;br /&gt;
The high impedance provided by an op amp circuit protects the instrument providing the signal from passing excessive current which could cause a voltage drop in the measurement signal or damage to the instrument itself.&lt;br /&gt;
&lt;br /&gt;
Because the filter is second order, the rolloff before/after the cutoff frequency or frequencies on a bode plot is -40 dB/decade as opposed to -20 dB/decade for a first order (RC) filter which means significantly greater attenuation outside the pass band and a sharper cutoff which can be very useful if the noise frequency is close to the desired signal frequency.&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9117</id>
		<title>Category:Electronics</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9117"/>
		<updated>2008-12-08T23:29:29Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Analog&lt;br /&gt;
**[[Basic Linear Circuits Review]]&lt;br /&gt;
***[[Resistors (Ohm&#039;s Law), Capacitors, and Inductors]]&lt;br /&gt;
***[[Kirchhoff&#039;s Current and Voltage Laws]]&lt;br /&gt;
***[[Voltage and Current Dividers]]&lt;br /&gt;
***[[RC and RL Exponential Responses]]&lt;br /&gt;
***[[Passive Filters]]&lt;br /&gt;
***[[Second Order Filters]]&lt;br /&gt;
**[[Semiconductors]]&lt;br /&gt;
***[[Diodes and Transistors]]&lt;br /&gt;
***[[Operational Amplifiers (Op-Amps)]]&lt;br /&gt;
&lt;br /&gt;
*[[Digital]]&lt;br /&gt;
**[[Logic Gates]]&lt;br /&gt;
**[[Flip-Flops and Latches]]&lt;br /&gt;
**[[555 Timer]]&lt;br /&gt;
**[[Schmitt Trigger]]&lt;br /&gt;
&lt;br /&gt;
*[[Integrated Circuits]]&lt;br /&gt;
&lt;br /&gt;
*Practical Considerations in Electrical Design&lt;br /&gt;
**[[Shielding, Grounding, Noise Suppression, etc.]]&lt;br /&gt;
**[[Conductors:  stranded, solid, ribbon cable, coax, twisted pairs, wire gauge (thickness)]]&lt;br /&gt;
**[[Switch Debouncing]]&lt;br /&gt;
&lt;br /&gt;
*Electrical Equipment and Software&lt;br /&gt;
**Power Supplies, Voltage Regulation, and Batteries&lt;br /&gt;
**[[Using Circuitmaker]]&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
	<entry>
		<id>https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9116</id>
		<title>Category:Electronics</title>
		<link rel="alternate" type="text/html" href="https://hades.mech.northwestern.edu//index.php?title=Category:Electronics&amp;diff=9116"/>
		<updated>2008-12-08T23:27:34Z</updated>

		<summary type="html">&lt;p&gt;StevenManuel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Analog&lt;br /&gt;
**[[Basic Linear Circuits Review]]&lt;br /&gt;
***[[Resistors (Ohm&#039;s Law), Capacitors, and Inductors]]&lt;br /&gt;
***[[Kirchhoff&#039;s Current and Voltage Laws]]&lt;br /&gt;
***[[Voltage and Current Dividers]]&lt;br /&gt;
***[[RC and RL Exponential Responses]]&lt;br /&gt;
***[[Passive Filters]]&lt;br /&gt;
***[[Active Filters]]&lt;br /&gt;
**[[Semiconductors]]&lt;br /&gt;
***[[Diodes and Transistors]]&lt;br /&gt;
***[[Operational Amplifiers (Op-Amps)]]&lt;br /&gt;
&lt;br /&gt;
*[[Digital]]&lt;br /&gt;
**[[Logic Gates]]&lt;br /&gt;
**[[Flip-Flops and Latches]]&lt;br /&gt;
**[[555 Timer]]&lt;br /&gt;
**[[Schmitt Trigger]]&lt;br /&gt;
&lt;br /&gt;
*[[Integrated Circuits]]&lt;br /&gt;
&lt;br /&gt;
*Practical Considerations in Electrical Design&lt;br /&gt;
**[[Shielding, Grounding, Noise Suppression, etc.]]&lt;br /&gt;
**[[Conductors:  stranded, solid, ribbon cable, coax, twisted pairs, wire gauge (thickness)]]&lt;br /&gt;
**[[Switch Debouncing]]&lt;br /&gt;
&lt;br /&gt;
*Electrical Equipment and Software&lt;br /&gt;
**Power Supplies, Voltage Regulation, and Batteries&lt;br /&gt;
**[[Using Circuitmaker]]&lt;/div&gt;</summary>
		<author><name>StevenManuel</name></author>
	</entry>
</feed>