<html> <p>Resistors are one of the fundamental components used in electronic circuits. They do one thing: resist the flow of electrical current. There is more than one way to skin a cat, and there is more than one way for a resistor to work. In previous articles I talked about <a href=„http://hackaday.com/2016/09/06/what-is-there-to-know-about-resistors/“>fixed value resistors</a> as well as <a href=„http://hackaday.com/2016/09/16/resistance-in-motion-everything-you-should-know-about-variable-resistors/“>variable resistors</a>.</p> <p>There is one other major group of variable resistors which I didn’t get into: resistors which change value without human intervention. These change by environmental means: temperature, voltage, light, magnetic fields and physical strain. They’re commonly used for automation and without them our lives would be very different.</p> <p/> <h2>Thermistors</h2> <p><figure id=„attachment_223218“ style=„width: 410px“ class=„wp-caption alignright“><img data-attachment-id=„223218“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/thermistor_ntc_bead/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg“ data-orig-size=„581,524“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Thermistor“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg?w=400&h=361“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg?w=581“ class=„wp-image-223218 size-medium“ src=„https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg?w=400&h=361“ alt=„Thermistor“ width=„400“ height=„361“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg?w=400&h=361 400w, https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg?w=250&h=225 250w, https://hackadaycom.files.wordpress.com/2016/09/thermistor_ntc_bead.jpg 581w“ sizes=„(max-width: 400px) 100vw, 400px“/><figcaption class=„wp-caption-text“>Thermistor, By Ansgar Hellwig [CC BY-SA 2.0 DE], via <a href=„https://en.wikipedia.org/wiki/File:NTC_bead.jpg“ target=„_blank“>Wikimedia Commons</a></figcaption></figure>As you can probably tell from part of the name, thermal, meaning “of or relating to heat”, these are resistors whose resistance changes with temperature. While that’s true of all resistors, with thermistors the change is larger and desired.</p> <p>They come in two types:</p> <ul><li>NTC, or Negative Temperature Coefficient thermistors, where as the temperature increases their resistance decreases, and</li> <li>PTC, or Positive Temperature Coefficient thermistors, where as the temperature increases their resistance increases.</li> </ul><p>Many Hackaday readers might be familiar with NTC thermistors in 3D printers where they’re used to measure the temperature of the hot end of the extruder. If your printer has a heated bed it is likely also monitored by an NTC.</p> <p>And there are many more applications where they’re used for measuring temperature such as in digital thermometers, toasters, coffee makers, freezers, and so on.</p> <p>But in addition to measuring temperature, NTC thermistors are also used for limiting current. As <a href=„https://en.wikipedia.org/wiki/Inrush_current_limiter“ target=„_blank“>inrush current limiters</a> they limit any rush of high current when a device is first turned on. Basically when the device is turned on, the thermistor is still relatively cool and so acts as a high resistance, limiting the current. Over time, as more current flows through the thermistor, its temperature increases and so its resistance decreases. That allows more current to flow through it, which is fine since the initial rush of high current is finished by that time.</p> <p>My only experience with NTC thermistors was to play around with one that was part of an automotive sensor. The sensor was to be screwed into the engine compartment possibly for measuring the coolant or oil temperature. Of course this doesn’t measure the temperature directly. Instead a voltage is applied across it. As the temperature changes, the resistance changes and so does the voltage. The vehicle’s computer then uses a table or formula to map that voltage to a temperature.</p> <div class=„tiled-gallery type-rectangular tiled-gallery-unresized“ data-original-width=„800“ data-carousel-extra=„{"blog_id":4779443,"permalink":"http:\/\/hackaday.com\/2016\/09\/27\/variable-resistors-controlled-by-the-environment\/","likes_blog_id":4779443}“> <div class=„gallery-row“ style=„width: 800px; height: 292px;“ data-original-width=„800“ data-original-height=„292“> <div class=„gallery-group images-1“ style=„width: 180px; height: 292px;“ data-original-width=„180“ data-original-height=„292“> <div class=„tiled-gallery-item tiled-gallery-item-small“ itemprop=„associatedMedia“ itemscope=„“ itemtype=„http://schema.org/ImageObject“> <a href=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/automotive_temp_sensor_thermistor_cr/“ border=„0“ itemprop=„url“> <meta itemprop=„width“ content=„176“/><meta itemprop=„height“ content=„288“/><img data-attachment-id=„223219“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_cr.jpg“ data-orig-size=„348,569“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Automotive temperature sensor_thermistor“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_cr.jpg?w=245“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_cr.jpg?w=348“ src=„http://i2.wp.com/hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_cr.jpg?w=176&h=288&crop&ssl=1“ width=„176“ height=„288“ data-original-width=„176“ data-original-height=„288“ itemprop=„http://schema.org/image“ title=„Automotive temperature sensor_thermistor“ alt=„Automotive temperature sensor_thermistor“ style=„width: 176px; height: 288px;“/></a> <div class=„tiled-gallery-caption“ itemprop=„caption description“> Automotive temperature sensor_thermistor </div> </div> </div> <!– close group –> <div class=„gallery-group images-1“ style=„width: 620px; height: 292px;“ data-original-width=„620“ data-original-height=„292“> <div class=„tiled-gallery-item tiled-gallery-item-large“ itemprop=„associatedMedia“ itemscope=„“ itemtype=„http://schema.org/ImageObject“> <a href=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/automotive_temp_sensor_thermistor_chart/“ border=„0“ itemprop=„url“> <meta itemprop=„width“ content=„616“/><meta itemprop=„height“ content=„288“/><img data-attachment-id=„223223“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_chart.jpg“ data-orig-size=„568,266“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1473959927","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„automotive_temp_sensor_thermistor_chart“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_chart.jpg?w=400“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_chart.jpg?w=568“ src=„http://i0.wp.com/hackadaycom.files.wordpress.com/2016/09/automotive_temp_sensor_thermistor_chart.jpg?w=616&h=288&crop&ssl=1“ width=„616“ height=„288“ data-original-width=„616“ data-original-height=„288“ itemprop=„http://schema.org/image“ title=„automotive_temp_sensor_thermistor_chart“ alt=„Thermistor graph“ style=„width: 616px; height: 288px;“/></a> <div class=„tiled-gallery-caption“ itemprop=„caption description“> Thermistor graph </div> </div> </div> <!– close group –> </div> <!– close row –> </div> <p>I couldn’t find the datasheet for the automotive part and didn’t know the relationship between the thermistor’s temperature and resistance so I put it in a pot of water on the stove. As I slowly brought the water to a boil I measured the water temperature and the thermistor’s resistance, obtaining the chart shown here.</p> <p>Positive Temperature Coefficient (PTC) thermistors, whose resistance increases as temperature increases, also have their uses.</p> <p>One example is as a replacement for a fuse. As the current in a circuit increases, the temperature of the thermistor increases due to normal resistive heating. This heat is lost to the surroundings. But if the current is higher than it should be then at some point it will heat up faster than it can lose that heat. At that point the resistance will increase, limiting the current.</p> <p>With the advent of flat panel displays there are fewer and fewer CRT displays around but some readers will remember that PTC thermistors were used in the display’s <a href=„http://hackaday.com/2016/05/25/wtf-is-degaussing/“>degaussing coil circuits</a>. The degaussing coil would need to be energized briefly and turned off gradually. The current through the coil would create the needed magnetic field for degaussing, and the current would also heat up the thermistor. As it did, the thermistor’s resistance would increase in the desired gradual manner, reducing the current through the coil until the circuit shut off.</p> <h2>Varistor</h2> <p><figure id=„attachment_223239“ style=„width: 410px“ class=„wp-caption alignright“><img data-attachment-id=„223239“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/varistor_and_voltage_current_graph/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg“ data-orig-size=„620,367“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1474048642","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Varistor“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg?w=400&h=237“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg?w=620“ class=„wp-image-223239 size-medium“ src=„https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg?w=400&h=237“ alt=„Varistor“ width=„400“ height=„237“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg?w=400&h=237 400w, https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg?w=250&h=148 250w, https://hackadaycom.files.wordpress.com/2016/09/varistor_and_voltage_current_graph.jpg 620w“ sizes=„(max-width: 400px) 100vw, 400px“/><figcaption class=„wp-caption-text“>Varistor, By Michael Schmid [CC BY-SA 3.0], via <a href=„https://en.wikipedia.org/wiki/File:Varistor_S14K385_photo.jpg“ target=„_blank“>Wikimedia Commons</a>, and voltage-current graph</figcaption></figure>The name varistor doesn’t help much as the name’s origin comes from “varying resistor”, which is a description of all the parts covered in this article and the others in the series. A varistor’s resistance varies according to the voltage, so maybe remembering that it starts with a ‘V’ helps. In a varistor the higher the voltage, the lower the resistance, and the direction of the current doesn’t matter. It’s also much like a diode in that up to a certain minimum voltage it’s off and then turns on (see the voltage-current graph).</p> <p>Most applications for varistors are in surge protection, protecting circuits from mains transients, inductive loads and from lightning. They’re usually placed across the circuit to be protected so that should the voltage rise high enough across it, the varistor will conduct and act as a short for the current, instead of the current going through the circuit.</p> <div class=„tiled-gallery type-rectangular tiled-gallery-unresized“ data-original-width=„800“ data-carousel-extra=„{"blog_id":4779443,"permalink":"http:\/\/hackaday.com\/2016\/09\/27\/variable-resistors-controlled-by-the-environment\/","likes_blog_id":4779443}“> <div class=„gallery-row“ style=„width: 800px; height: 198px;“ data-original-width=„800“ data-original-height=„198“> <div class=„gallery-group images-1“ style=„width: 536px; height: 198px;“ data-original-width=„536“ data-original-height=„198“> <div class=„tiled-gallery-item tiled-gallery-item-large“ itemprop=„associatedMedia“ itemscope=„“ itemtype=„http://schema.org/ImageObject“> <a href=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/varistor_protected_circuit/“ border=„0“ itemprop=„url“> <meta itemprop=„width“ content=„532“/><meta itemprop=„height“ content=„194“/><img data-attachment-id=„223234“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_protected_circuit.jpg“ data-orig-size=„353,129“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1473958746","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Varistor protected circuit“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_protected_circuit.jpg?w=353“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_protected_circuit.jpg?w=353“ src=„http://i1.wp.com/hackadaycom.files.wordpress.com/2016/09/varistor_protected_circuit.jpg?w=532&h=194&crop&ssl=1“ width=„532“ height=„194“ data-original-width=„532“ data-original-height=„194“ itemprop=„http://schema.org/image“ title=„Varistor protected circuit“ alt=„Varistor protected circuit“ style=„width: 532px; height: 194px;“/></a> <div class=„tiled-gallery-caption“ itemprop=„caption description“> Varistor protected circuit </div> </div> </div> <!– close group –> <div class=„gallery-group images-1“ style=„width: 264px; height: 198px;“ data-original-width=„264“ data-original-height=„198“> <div class=„tiled-gallery-item tiled-gallery-item-large“ itemprop=„associatedMedia“ itemscope=„“ itemtype=„http://schema.org/ImageObject“> <a href=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/varistor_lightning_arresters_05_070820_aftwal_pv_an/“ border=„0“ itemprop=„url“> <meta itemprop=„width“ content=„260“/><meta itemprop=„height“ content=„194“/><img data-attachment-id=„223235“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_lightning_arresters_05_070820_aftwal_pv_an.jpg“ data-orig-size=„718,537“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1473958998","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Lightning arresters“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_lightning_arresters_05_070820_aftwal_pv_an.jpg?w=400“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/varistor_lightning_arresters_05_070820_aftwal_pv_an.jpg?w=718“ src=„http://i1.wp.com/hackadaycom.files.wordpress.com/2016/09/varistor_lightning_arresters_05_070820_aftwal_pv_an.jpg?w=260&h=194&crop&ssl=1“ width=„260“ height=„194“ data-original-width=„260“ data-original-height=„194“ itemprop=„http://schema.org/image“ title=„Lightning arresters“ alt=„Lightning arresters“ style=„width: 260px; height: 194px;“/></a> <div class=„tiled-gallery-caption“ itemprop=„caption description“> Lightning arresters </div> </div> </div> <!– close group –> </div> <!– close row –> </div> <p>My own experience with varistors comes from my time as a solar contractor. We’d attach lightning arresters to various components of the solar system: two arresters for the inverter, where one set of wires ran outdoors to a generator and another set went out to the loads in the cottage, and one arrester for the charge controller where wires ran out to the solar panels. These are all wire runs where voltage can be induced to damaging levels by nearby lightning.</p> <p>Each of these lightning arresters contains a Metal Oxide Varistor (MOV). The varistor is connected between the wires and ground. As long as the voltage is low enough then current doesn’t conduct. But when lightning strikes somewhere nearby, the voltage on the wires rises and reaches a point where the varistor conducts to ground (e.g. 385 volts). This prevents the voltage from rising further. As long as the solar component is able to handle that voltage then it’s protected. With some standards, the solar component is designed to handle up to 2300 volts where these wires are connected.</p> <h2>Photoresistor/LDR</h2> <figure id=„attachment_223236“ style=„width: 335px“ class=„wp-caption alignright“><img data-attachment-id=„223236“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/photoresistor_in_hand/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg“ data-orig-size=„353,435“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Photoresistor“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg?w=325&h=400“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg?w=353“ class=„wp-image-223236 size-medium“ src=„https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg?w=325&h=400“ alt=„Photoresistor“ width=„325“ height=„400“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg?w=325&h=400 325w, https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg?w=203&h=250 203w, https://hackadaycom.files.wordpress.com/2016/09/photoresistor_in_hand.jpg 353w“ sizes=„(max-width: 325px) 100vw, 325px“/><figcaption class=„wp-caption-text“>Photoresistor</figcaption></figure><p>A photoresistor’s resistance decreases as light intensity increases. You may also see it referred to as an LDR (Light Dependent Resistor). Its resistance in the dark can be in the megaohms but with the correct wavelengths and sufficient intensity of light, it can be just a few ohms.</p> <p>Photoresistors aren’t good for detecting rapid changes in light intensity. In going from complete darkness to light, there can be as much as a 10 millisecond delay before the resistance decreases fully. And when going from light to complete darkness the resistance can take as much as 1 second to increase to the megaohm range. However, there are applications where this delay is desireable such as with audio compression. Here an LED or electroluminescent panel is used to control the resistance of the photoresistor and affect the audio signal gain. Doing so is said to sound smoother by softening the attack and release than doing so without a photoresistor.</p> <p>Another typical application is for a light sensor to detect if a night light should be turned on.</p> <figure id=„attachment_223220“ style=„width: 410px“ class=„wp-caption alignleft“><img data-attachment-id=„223220“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/laser_communicator_to_photoresistor_circuit/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg“ data-orig-size=„616,260“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1474025867","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Laser communicator to photoresistor circuit“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg?w=400&h=169“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg?w=616“ class=„size-medium wp-image-223220“ src=„https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg?w=400&h=169“ alt=„Laser communicator to photoresistor circuit“ width=„400“ height=„169“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg?w=400&h=169 400w, https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg?w=250&h=106 250w, https://hackadaycom.files.wordpress.com/2016/09/laser_communicator_to_photoresistor_circuit.jpg 616w“ sizes=„(max-width: 400px) 100vw, 400px“/><figcaption class=„wp-caption-text“>Laser communicator to photoresistor circuit</figcaption></figure><p>In my case I made a laser communicator that used an audio signal to modulate the output of a dollar store toy laser. I then shined that now fluctuating laser beam onto a distant photoresistor. The photoresistor was part of a circuit that fed an <a href=„http://hackaday.com/2013/08/11/a-crystal-radio-amplifier-in-a-jar“>amplifier</a> and the result was the audio signal transmitted by light and reproduced on the amplifier’s speaker. This violated what I mentioned above about not using them for rapid changes in light intensity, but it worked well enough as a fun experiment.</p> <h2>Magneto Resistive Sensor</h2> <figure id=„attachment_223240“ style=„width: 200px“ class=„wp-caption alignright“><img data-attachment-id=„223240“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/magneto_resistive_sensor_kmt32b_lg/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/magneto_resistive_sensor_kmt32b_lg.jpg?w=800“ data-orig-size=„200,200“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Magneto resistive sensor (KMT32b) from Digikey“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/magneto_resistive_sensor_kmt32b_lg.jpg?w=800?w=200“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/magneto_resistive_sensor_kmt32b_lg.jpg?w=800?w=200“ class=„wp-image-223240 size-full“ src=„https://hackadaycom.files.wordpress.com/2016/09/magneto_resistive_sensor_kmt32b_lg.jpg?w=800“ alt=„Magneto resistive sensor (KMT32B) from Digikey“/><figcaption class=„wp-caption-text“>Magneto resistive sensor (KMT32B) from Digikey</figcaption></figure><p>The resistance of a magneto resistor can be used to detect the position, orientation and strength of a magnetic field. It uses the magnetoresistance effect. The anisotropic magnetoresistance (AMR) effect, discovered in the 1800s is sensitive to the magnetic field strength and the angle between an electric current and the magnetic field. There are other, more recently discovered effects but most conventional resistors use the AMR effect. Magneto resistive sensors that are built around these resistors are available from <a href=„http://www.digikey.com/en/ptm/m/measurement-specialties-inc/kmt32b-magneto-resistive-sensor“ target=„_blank“>Digikey</a> and <a href=„http://www.mouser.be/search/refine.aspx?Ntk=P_MarCom&Ntt=112106310“ target=„_blank“>Mouser</a> among others.</p> <p>I haven’t used magneto resistive sensors myself but one common application is as wheel speed sensors in automobiles. Others are <a href=„https://en.wikipedia.org/wiki/Magnetometer“ target=„_blank“>magnetometry</a>, various sensors for angle, rotation and linear positions, and for detecting vehicles on the road.</p> <p>There is a lot of interesting potential applications for these sensors. At the 2013 Open Hardware Summit <a href=„http://hackaday.com/2013/09/07/open-hardware-summit-2013-part-1-demos“>a 1-DOF haptick feedback kit called Hapkit</a> was demonstrated by a group from Stanford. They used a magneto resistive sensor to detect a pendulum’s position. That position is then used by a microcontroller to power a motor to make moving the pendulum by hand feel like you’re moving a spring or click wheel.</p> <h2>Strain Gauges</h2> <p><figure id=„attachment_223241“ style=„width: 164px“ class=„wp-caption alignright“><img data-attachment-id=„223241“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/strain_gauge-svg/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png“ data-orig-size=„472,768“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Strain gauge interior“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=246“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=384“ class=„size-thumbnail wp-image-223241“ src=„https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=154&h=250“ alt=„ Strain gauge interior“ width=„154“ height=„250“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=154&h=250 154w, https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=308&h=500 308w, https://hackadaycom.files.wordpress.com/2016/09/strain_gauge-svg.png?w=246&h=400 246w“ sizes=„(max-width: 154px) 100vw, 154px“/><figcaption class=„wp-caption-text“>Strain gauge interior, [CC BY-SA 2.5], via <a href=„https://en.wikipedia.org/wiki/File:Strain_gauge.svg“ target=„_blank“>Wikimedia Commons</a></figcaption></figure>A strain gauge is an electrical conductor that changes resistance as it’s stretched or compressed, but without breaking, buckling or otherwise permanently deforming it. To get a large enough effect to make a useful change in resistance, the conductor is usually laid out in a zigzag or serpentine pattern with the long ends oriented in the direction of the expected strain.</p> <p>The change in resistance is very small and so to aid measurement the strain gauge is incorporated in a Wheatstone bridge. A full article could be written about strain gauges and their use in Wheatstone bridges so here’s just a brief overview.</p> <p>The Wheatstone bridge consists of two voltage dividers, R1 and R2 being one of them, and R3 and R4 being the other one. The input voltage, called the excitation voltage (VEx), is across the outside of the bridge, and the resulting output voltage (Vo) is taken from the centers of the two voltage dividers.</p> <figure id=„attachment_223243“ style=„width: 250px“ class=„wp-caption alignleft“><img data-attachment-id=„223243“ data-permalink=„http://hackaday.com/2016/09/27/variable-resistors-controlled-by-the-environment/wheatstone_bridge_and_formula/“ data-orig-file=„https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg“ data-orig-size=„334,348“ data-comments-opened=„1“ data-image-meta=„{"aperture":"0","credit":"Steve","camera":"","caption":"","created_timestamp":"1474043190","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}“ data-image-title=„Wheatstone bridge and voltage output formula“ data-image-description=„“ data-medium-file=„https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg?w=334“ data-large-file=„https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg?w=334“ class=„wp-image-223243 size-thumbnail“ src=„https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg?w=240&h=250“ alt=„Wheatstone bridge and voltage output formula“ width=„240“ height=„250“ srcset=„https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg?w=240&h=250 240w, https://hackadaycom.files.wordpress.com/2016/09/wheatstone_bridge_and_formula.jpg 334w“ sizes=„(max-width: 240px) 100vw, 240px“/><figcaption class=„wp-caption-text“>Wheatstone bridge and voltage output formula</figcaption></figure><p>The voltage output, Vo, can be calculated using the formula shown. If the ratio R1/R2 is equal to the ratio R4/R3 then calculating Vo you’ll find you get 0 volts. But if one of the resistors is replaced with a strain gauge then when it’s strained, Vo will become non-zero. Further formulas can be used to convert this to a value in a unit actually called ‘strain’.</p> <p>Multiple strain gauges can also be used to further amplify the values and to compensate for temperature.</p> <p>Strain gauges are found in load cells and pressure sensors, both often incorporated in Wheatstone bridges. The ones in pressure sensors are usually made with silicon, polysilicon, metal film, thick film or bonded foil.</p> <h2>Conclusion</h2> <p>And that concludes this series on resistors. The other two articles are on <a href=„http://hackaday.com/2016/09/06/what-is-there-to-know-about-resistors/“>fixed value resistors</a> and on <a href=„http://hackaday.com/2016/09/16/resistance-in-motion-everything-you-should-know-about-variable-resistors/“>variable resistors that are manipulated by human intervention</a>. Check them out if you missed them. And let us know in the comments of any resistors that we missed along the way or of anything you’d like to add.</p> </html>