{"id":15945,"date":"2022-09-09T17:18:21","date_gmt":"2022-09-09T17:18:21","guid":{"rendered":"https:\/\/wolles-elektronikkiste.de\/?p=15945"},"modified":"2026-01-24T11:29:11","modified_gmt":"2026-01-24T11:29:11","slug":"ads1220-part-2-applications","status":"publish","type":"post","link":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications","title":{"rendered":"ADS1220 &#8211; Part 2: Applications"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">About this Post<\/h2>\n\n<p><a href=\"https:\/\/wolles-elektronikkiste.de\/en\/4-channel-24-bit-adc-ads1220\" target=\"_blank\" rel=\"noopener\">In the last post<\/a>, I introduced the ADS1220 24-bit, 4-channel A\/D converter and my associated library. In this sequel, I will show you how to use the ADS1220 to take advantage of its benefits with practical examples.<\/p>\n<p>I use the examples in the<a href=\"https:\/\/www.ti.com\/lit\/ds\/symlink\/ads1220.pdf?ts=1662734403646&amp;ref_url=https%253A%252F%252Fwww.google.com.tr%252F\" target=\"_blank\" rel=\"noopener\"> data sheet<\/a> as a guide. To focus on the essentials, I have simplified the circuits. Most importantly, I left out all the RC filters, which can be a bit confusing for beginners. Even without them, I have achieved excellent results. However, if you want to reduce noise and interference even further, it&#8217;s worth taking a look at the data sheet.&nbsp;&nbsp;<\/p>\n<p>Let&#8217;s take a look at the following applications:<\/p>\n<ul>\n<li><a href=\"#thermocouple_K\">Thermocouples (type K)<\/a><\/li>\n<li><a href=\"#resistance_thermometer\">resistance thermometer<\/a>\n<ul>\n<li><a href=\"#NTCs\">NTCs (thermistors)<\/a><\/li>\n<li><a href=\"#RTDs\">RTDs (PTC thermistors)<\/a><br><ul>\n<li><a href=\"#PT1000\">PT1000, 2-wire circuit<\/a>\n<ul>\n<li><a href=\"#PT1000_direct\">Direct measurement<\/a><\/li>\n<li><a href=\"#PT1000_ref\">Measurement using reference resistors<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#PT100\">PT100<\/a>\n<ul>\n<li><a href=\"#3_wire\">3-wire circuit<\/a><\/li>\n<li><a href=\"#4_wire\">4-wire circuit<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#Wheatstone\">Wheatstone bridges<\/a><\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\" id=\"thermocouple_K\">Controlling thermocouples (type K) with the ADS1220<\/h2>\n\n<h3 class=\"wp-block-heading\">How does a thermocouple work?<\/h3>\n\n<p>In a nutshell: Thermocouples consist of two wires made from different metals connected at one of their ends. If there is a temperature difference along the wires, you can measure a voltage between the free ends. This is the <a href=\"https:\/\/de.wikipedia.org\/wiki\/Thermoelektrizit%C3%A4t\" target=\"_blank\" rel=\"noopener\">Seebeck effect<\/a>. Different metal pairings have different temperature-voltage characteristics. However, they have in common that they are almost linear over a wide range. Basically, the effect, i.e. the voltage change per degree, is small.<\/p>\n<p>You can find temperature-voltage tables for the different thermocouples in many places on the net. The reference temperature is always 0\u00b0 C. A disadvantage of thermocouples is that you can only measure temperature <em>differences<\/em>. The temperature at the point where you measure the voltage must be known.<\/p>\n<p>Very widespread is the type K, which consists of the pairing nickel\/nickel-chromium. With it, the voltage change is about 40 microvolts per degree, or about 4 millivolts per 100 \u00b0C. That&#8217;s not really much. And that&#8217;s why we need a high-resolution, low-noise, high-gain ADC here. This is an ideal challenge for the ADS1220.<\/p>\n\n<h3 class=\"wp-block-heading\">The circuit on the ADS1220<\/h3>\n\n<p>We remember (and if not, check the last post): For the reliable operation of the PGA, i.e. the amplifier of the ADS1220, the output voltage of the PGA must be at least 200 millivolts above AVSS and at most 200 millivolts below AVDD. So, you must not perform &#8220;single-ended&#8221; measurements against AVSS. At least not if you want to apply a gain greater than 4.<\/p>\n<p>Ideally, you work with input voltages that are close to (AVSS+AVDD)\/2. You can achieve this with the following circuit:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-1024x567.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-1024x567.png\" alt=\"Thermocouple connected to an ADS1220\" class=\"wp-image-15421\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-1024x567.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-300x166.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-768x425.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme-1320x731.png 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermocouple__scheme.png 1407w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Thermocouple connected to an ADS1220<\/figcaption><\/figure>\n<\/div>\n<p>The two 10 megohm resistors force the voltage to be in the middle range. Their size prevents larger currents from flowing across the thermocouple and distorting the result. The ADS1220 data sheet recommends resistor values between 1 and 50 megohms.<\/p>\n<p>The voltage of 5 volts is chosen arbitrarily. You can also, for example, apply 3.3 volts. And instead of the AIN0 and AIN1 inputs, the other inputs would be equally suitable.<\/p>\n<p>Here is the complete circuit as a Fritzing scheme:<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring-1024x596.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring-1024x596.png\" alt=\"Connection of a thermocouple to the ADS1220\" class=\"wp-image-15117\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring-1024x596.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring-300x175.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring-768x447.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermocouple_K_wiring.png 1285w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Connection of a thermocouple to the ADS1220<\/figcaption><\/figure>\n\n<p>Do you notice that there are 1 megohm resistors shown here? The simple reason is that I have not found any 10 megohm resistors at Fritzing! However, 10 megohm resistors were actually used.<\/p>\n\n<h3 class=\"wp-block-heading\">Regression lines and polynomials for the characteristic curves<\/h3>\n\n<p>In the following, we will measure thermoelectric voltages and calculate the temperature from them. For this purpose, I copied the thermoelectric voltage \/ temperature values for the thermocouple K into Excel and calculated regression functions (trendlines) from them. I limited myself to the range between -20 and +110 \u00b0C. The regression curves are only valid for this area.<\/p>\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear-1024x661.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"661\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear-1024x661.png\" alt=\"Linear regression line for the thermocouple K\" class=\"wp-image-15123\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear-1024x661.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear-300x194.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear-768x496.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/thermcouple_volt_linear.png 1220w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Linear regression line for the thermocouple K<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic-1024x665.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"665\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic-1024x665.png\" alt=\"Polynomial regression for the thermocouple K\" class=\"wp-image-15289\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic-1024x665.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic-300x195.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic-768x499.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/thermcouple_voltage_polynomic.png 1201w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Polynomial regression for the thermocouple K<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n<p>As you can see, the linear approach is not bad for this relatively small temperature range. However, the square function on the right fits even better. If you want to cover larger temperature ranges, you should at least work with a quadratic function. I&#8217;m trying both here.<\/p>\n\n<h3 class=\"wp-block-heading\">Linear approach<\/h3>\n\n<p>The linear approach is simple. You measure the ambient temperature with the internal thermometer of the ADS1220 or another temperature sensor. From the measured voltage, the sketch calculates the temperature difference and adds it to the ambient temperature.<\/p>\n<p>Since the expected voltages are only a few millivolts, we can safely apply a gain of 128 and use the internal voltage reference (+\/- 2.048 volts).<\/p>\n<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_thermocouple_K_linear.ino\" data-enlighter-title=\"ads1220_thermocouple_K_linear.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n  ads.setCompareChannels(ADS1220_MUX_0_1);\n  ads.setGain(ADS1220_GAIN_128);\n}\n\nvoid loop(){\n  float ambTemp = 0.0;\n  float deltaTemp = 0.0; \/\/ thermocouple temperature minus ambient temperature\n  float tCTemp = 0.0; \/\/ thermocouple temperature\n  float tCV = 0.0; \/\/ thermocouple voltage\n  \n  ads.enableTemperatureSensor(true);\n  ambTemp = ads.getTemperature();\n  ads.enableTemperatureSensor(false); \n  Serial.print(\"Ambient Temperature [\u00b0C]:          \");\n  Serial.println(ambTemp);\n\n  tCV = ads.getVoltage_muV(); \/\/ get result in millivolts\n  deltaTemp = 0.0244821*tCV + 0.106873;\n  Serial.print(\"Thermocouple T vs. ambient T [\u00b0C]: \");\n  Serial.println(deltaTemp);\n  \n  tCTemp = ambTemp + deltaTemp;\n  Serial.print(\"Thermocouple Temperature [\u00b0C]:     \");\n  Serial.println(tCTemp);\n  Serial.println();\n\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<p>\n\n<p>For the following output, I put the thermocouple in a cup of warm water. You can see nicely how the water cools down. A reference thermometer with a guaranteed maximum deviation of 0.2 \u00b0C was used for verification. The values determined with the thermocouple deviated from this by only a few tenths of a degree.<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_linear.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"383\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_linear.png\" alt=\"ADS1220 applications: Output of ads1220_thermocouple_K_linear.ino\" class=\"wp-image-15112\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_linear.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_linear-300x135.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_linear-768x345.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_thermocouple_K_linear.ino<\/figcaption><\/figure>\n\n<h3 class=\"wp-block-heading\">Polynomial approach<\/h3>\n\n<p>With the polynomial method, things are a little more complicated because we have to consider that the characteristic curve is referred to 0 \u00b0C. We measure the ambient temperature again with the ADS1220, but first calculate the thermoelectric voltage referred to 0 \u00b0C from it. To do this, we need another polynomial regression curve with the axes reversed (x = temperature, y = thermoelectric voltage). I&#8217;m not showing these curves here. We add this calculated voltage (voltage correction &#8220;vC&#8221;) to the measured thermoelectric voltage and insert the result into the polynomial regression curve.<\/p>\n<p>This is the sketch:<\/p>\n<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_thermocouple_K_polynom.ino\" data-enlighter-title=\"ads1220_thermocouple_K_polynom.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n  ads.setCompareChannels(ADS1220_MUX_0_1);\n  ads.setGain(ADS1220_GAIN_128);\n}\n\nvoid loop(){\n  float ambTemp = 0.0;\n  float tCTemp = 0.0; \/\/ thermocouple temperature\n  float tCV = 0.0; \/\/ thermocouple voltage\n  float vC = 0.0; \/\/ voltage correction (deviation from 0\u00b0C)\n\n  ads.enableTemperatureSensor(true);\n  ambTemp = ads.getTemperature();\n  ads.enableTemperatureSensor(false); \n  Serial.print(\"Ambient Temperature [\u00b0C]:        \");\n  Serial.println(ambTemp);\n  \n  vC = 1.16946*pow(ambTemp,2)*pow(10,-2) + 39.8013*ambTemp + 2.5078; \n  Serial.print(\"Voltage Compensation [\u00b5V]:       \");\n  Serial.println(vC);\n\n  tCV = ads.getVoltage_muV(); \/\/ get result in millivolts\n  Serial.print(\"Thermocouple Voltage [\u00b5V]:       \");\n  Serial.println(tCV);\n  tCV += vC;\n  Serial.print(\"Corr. Thermocouple Voltage [\u00b5V]: \");\n  Serial.println(tCV);\n\n  tCTemp = -1.71627*pow(tCV,2)*pow(10,-7) + 2.51112*pow(10,-2)*tCV - 0.0664632;\n  Serial.print(\"Thermocouple Temperature [\u00b0C]:   \");\n  Serial.println(tCTemp);\n  Serial.println();\n\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<p>\n\n<p>And this is what the output looked like on my end:<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_polynom.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"422\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_polynom.png\" alt=\"ADS1220 applications: Output of ads1220_thermocouple_K_polynomial.ino\" class=\"wp-image-15114\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_polynom.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_polynom-300x148.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_thermocouple_K_polynom-768x380.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_thermocouple_K_polynomial.ino<\/figcaption><\/figure>\n\n<p>Again, a cup of hot water was used for this test.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"resistance_thermometer\">resistance thermometer<\/h2>\n\n<p>Unlike thermocouples, which provide a temperature-dependent voltage, resistance thermometers change their resistance with temperature. The advantage is that you can determine temperatures absolutely, i.e. without a reference temperature.<\/p>\n<p>The family of resistance thermometers consists of NTCs and the RTDs. NTC stands for &#8220;Negative Temperature Coefficient Thermistor&#8221;. That is, the resistance decreases with temperature. In German, NTCs are also referred to as hot conductors (&#8220;Hei\u00dfleiter&#8221;). NTCs are characterized by comparatively high resistance values because they are made of metal oxides.<\/p>\n<p>RTD stands for &#8220;Resistance Temperature Detector&#8221;. In this respect, one would assume that an NTC is also an RTD. However, only those thermometers whose resistance decreases with increasing temperature are called RTDs. These include the well-known &#8220;PT100&#8221; and &#8220;PT1000&#8221;. They are also referred to as PTCs or PTC thermistors. The number stands for the resistance at 0 \u00b0C, and the &#8220;PT&#8221; for the material used, namely platinum.<\/p>\n<p>According to Ohm&#8217;s law, the resistance can be determined by a known current, and this can be provided by the ADS1220. Alternatively, you can also use a reference resistor which you connect in series with the resistance thermometer. But one by one.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"NTCs\">Controlling NTCs (thermistors) with the ADS1220<\/h2>\n\n<h3 class=\"wp-block-heading\">Characteristic curve of the NTC<\/h3>\n\n<p>NTCs are classified according to their resistance value at 25 \u00b0C. For this article, I have chosen a 10 kiloohm model. Ideally, the manufacturers specify the so-called B-value, with which you can calculate the resistance R at a given temperature T compared to the reference temperature T<sub>ref<\/sub>:<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-c9ce91bc222975cb45e352f792f76dc3_l3.png\" height=\"24\" width=\"196\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#84;&#125;&#125;&#61;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#84;&#123;&#114;&#101;&#102;&#125;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#101;&#125;&#94;&#123;&#66;&#92;&#99;&#100;&#111;&#116;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#84;&#125;&#125;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#84;&#123;&#114;&#101;&#102;&#125;&#125;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>My 10 k\u03a9 NTC did not have a B value specified, but it did have a table of values. I have tried various regression functions in Excel. For a satisfactory result, I had to divide the range of values into three parts. There are certainly better math programs that have more appropriate functions implemented. But Excel is accessible to almost everyone.<\/p>\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_I.png\"><img loading=\"lazy\" decoding=\"async\" width=\"864\" height=\"514\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_I.png\" alt=\"1st part of NTC regression curve for measurement with the ADS1220\" class=\"wp-image-15309\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_I.png 864w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_I-300x178.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_I-768x457.png 768w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/a><figcaption class=\"wp-element-caption\">First part of the NTC regression curve<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_II.png\"><img loading=\"lazy\" decoding=\"async\" width=\"895\" height=\"526\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_II.png\" alt=\"2nd part of NTC regression curve for measurement with the ADS1220\" class=\"wp-image-15311\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_II.png 895w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_II-300x176.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_II-768x451.png 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/a><figcaption class=\"wp-element-caption\">Second part of the NTC regression curve<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_III.png\"><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"538\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_III.png\" alt=\"3rd part of NTC regression curve for measurement with the ADS1220\" class=\"wp-image-15313\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_III.png 902w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_III-300x179.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/NTC_10_kohm_R_vs_T_III-768x458.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/a><figcaption class=\"wp-element-caption\">Third part of the NTC regression curve<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n<h3 class=\"wp-block-heading\">Measurement with the ADS1220<\/h3>\n\n<p>First of all, the method described here is not the most accurate. However, a few trial measurements showed deviations well below one degree. Besides, the method is simple. An error analysis still follows. It is better to use reference resistors. I will show this with the example of PTCs.<\/p>\n<p>To measure the temperature dependent resistance, we use the IDAC function of the ADS1220. The measuring range I have chosen starts at 0 \u00b0C. At this temperature, the resistance is 32.69 kiloohm. At a current of 50 microamps, this results in a voltage of ~1.63 volts. This can still be measured well with the internal reference of the ADS1220, and the value is still well below the limit of AVDD &#8211; 0.9 volts. We must choose 1 as the gain factor.<\/p>\n<p>The lowest resistance is ~0.5 kiloohm. With an IDAC of 50 microamperes, the voltage at the NTC is 25 millivolts. Since the gain factor is 1, this would also be the lower limit for the output voltage of the PGA. This is below the limit of AVSS + 200 millivolts. That&#8217;s why we need to bypass the PGA.<\/p>\n<p>I used the following simple setup:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme-1024x565.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme-1024x565.png\" alt=\"The NTC connected to the ADS1220\" class=\"wp-image-15315\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme-1024x565.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme-300x166.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme-768x424.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/ntc_10k_scheme.png 1064w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The NTC connected to the ADS1220<\/figcaption><\/figure>\n<\/div>\n<p>The sketch for this is also simple:<\/p>\n<\/p>\n<div class=\"scroll-paragraph-long\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_ntc_10_kohm.ino\" data-enlighter-title=\"ads1220_ntc_10_kohm.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n\n  ads.setCompareChannels(ADS1220_MUX_0_3);\n  ads.setGain(ADS1220_GAIN_1);\n  ads.bypassPGA(true); \/\/ true disables PGA, false enables PGA\n  ads.setIdacCurrent(ADS1220_IDAC_50_MU_A);\n  ads.setIdac1Routing(ADS1220_IDAC_AIN0_REFP1);\n} \n\nvoid loop(){\n  float result = 0.0;\n  float resistanceInKiloOhm = 0.0;\n  float temperature = 0.0;\n\n  result = ads.getVoltage_mV(); \/\/ get result in millivolts\n  Serial.print(\"Voltage [mV]:      \");\n  Serial.println(result,3);\n  \n  resistanceInKiloOhm = result \/ 50.0;\n  Serial.print(\"Resistance [kOhm]: \");\n  Serial.println(resistanceInKiloOhm,3);\n  \n  if(resistanceInKiloOhm &gt; 9.0){\n    temperature = -21.41273 * log(resistanceInKiloOhm) + 74.34754;\n  }\n  else if(resistanceInKiloOhm &gt; 2.2){\n    temperature = -25.75517 * log(resistanceInKiloOhm) + 83.366685;\n  }\n  else{\n    temperature = -31.55286 * log(resistanceInKiloOhm) + 87.9482;\n  }\n  Serial.print(\"Temperature [\u00b0C]:  \");\n  Serial.println(temperature);\n  \n  Serial.println();\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<\/div>\n<p>\n\n<p>And this is what the output looked like:<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/output_ads1220_NTC_10_kohm.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"383\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/output_ads1220_NTC_10_kohm.png\" alt=\"ADS1220 applications: output of ads1220_ntc_10_kohm.ino\" class=\"wp-image-15306\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/output_ads1220_NTC_10_kohm.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/output_ads1220_NTC_10_kohm-300x135.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/output_ads1220_NTC_10_kohm-768x345.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_ntc_10_kohm.ino<\/figcaption><\/figure>\n\n<h3 class=\"wp-block-heading\">Error analysis<\/h3>\n\n<p>The data sheet specifies a typical deviation of +\/- 1% for the IDAC. This error has a proportional effect on the determined resistance value. At 25 \u00b0C the resistance is 10 k\u03a9. What if we were to determine only 9.9 k\u03a9? When used in the regression function, this would result in a temperature of ~25.26 \u00b0C. The error is smaller than some might have thought. This is where the non-linear shape of the characteristic curve is beneficial.<\/p>\n<p>However, the data sheet specifies +\/- 6% as the maximum deviation of the IDAC. At 9.4 k\u03a9 the temperature would be 26.37 \u00b0C. However, I am unable to say how likely it is that these maximum deviations of the IDAC actually occur.<\/p>\n<p>The error of the reference voltage also has a directly proportional effect on the result. The data sheet specifies arange of 2,045 &#8211; 2,051 volts. This corresponds to about +\/- 0.15%, so it is a rather small error.<\/p>\n<p>In addition, there is an error caused by the lead resistance. At 25 \u00b0C (= 10 k\u03a9 NTC resistance) this does not matter much. At 150 \u00b0C, however, the resistance is only 180 ohms according to the manufacturer&#8217;s table. Therefore, a long lead could influence the result.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"RTDs\">Controlling RTDs (PTC thermistors) with the ADS1220<\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"PT1000\">PT1000<\/h3>\n\n<p>The PT1000 has an almost linear characteristic curve. However, to match the resistance\/temperature values even better, I chose a quadratic compensation curve:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T-1024x741.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"741\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T-1024x741.png\" alt=\"PT1000 - Resistance vs. temperature \" class=\"wp-image-15137\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T-1024x741.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T-300x217.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T-768x555.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/PT1000_R_vs_T.png 1127w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">PT1000 &#8211; Resistance vs. temperature<\/figcaption><\/figure>\n<\/div>\n<h4 class=\"wp-block-heading\" id=\"PT1000_direct\">Direct measurement with the ADS1220<\/h4>\n\n<p>First, I proceeded as I did with the NTC. This is not really recommended for PT1000, but I want to show the difference.<\/p>\n<p>For the temperature range I considered, the resistance of the PT100 is ~1.5 k\u03a9 maximum. That is why we can choose a higher IDAC current and gain in this case. However, the PGA must still be bypassed. With an IDAC of 250 \u00b5A, a gain of 4 and a maximum resistance of 1.5 k\u03a9, the maximum voltage (after amplification) is 1.5 volts, so the internal reference can be used.<\/p>\n<\/p>\n<div class=\"scroll-paragraph-long\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_pt1000_direct_method.ino\" data-enlighter-title=\"ads1220_pt1000_direct_method.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n\n  ads.setCompareChannels(ADS1220_MUX_0_3);\n  ads.setGain(ADS1220_GAIN_4);\n  ads.bypassPGA(true); \/\/ true disables PGA, false enables PGA\n  ads.setIdacCurrent(ADS1220_IDAC_250_MU_A);\n  ads.setIdac1Routing(ADS1220_IDAC_AIN0_REFP1);\n} \n\nvoid loop(){\n  float result = 0.0;\n  float resistanceInOhm = 0.0;\n  float temperature = 0.0;\n  float ambTemp = 0.0;\n\n  ads.enableTemperatureSensor(true);\n  ambTemp = ads.getTemperature();\n  ads.enableTemperatureSensor(false); \n  Serial.print(\"Ambient Temperature [\u00b0C]: \");\n  Serial.println(ambTemp);\n  \n  result = ads.getVoltage_mV(); \/\/ get result in millivolts\n  Serial.print(\"Voltage [mV]:             \");\n  Serial.println(result,3);\n  \n  resistanceInOhm = result \/ 0.25;\n  Serial.print(\"Resistance [kOhm]:        \");\n  Serial.println(resistanceInOhm);\n\n  temperature = 1.01564*pow(10,-5)*pow(resistanceInOhm,2) + 0.235489*resistanceInOhm - 245.646;\n  Serial.print(\"Temperature [\u00b0C]:         \");\n  Serial.println(temperature);\n  \n  Serial.println();\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<\/div>\n<p>\n\n<p>And here is the output. I measured against the internal temperature sensor of the ADS1220 for comparison.<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"367\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000.png\" alt=\"ADS1220 applications: Output from ads1220_pt1000_direct_method.ino\" class=\"wp-image-15145\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000-300x129.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000-768x330.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_pt1000_direct_method.ino<\/figcaption><\/figure>\n\n<h4 class=\"wp-block-heading\">Error analysis<\/h4>\n\n<p>Due to the almost linear shape of the characteristic curve, errors in the IDAC are much more noticeable than in the NTC. A deviation of only one percent results in a deviation of 2.6 \u00b0C. With this in mind, my readings above are already pretty good.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"PT1000_ref\">Measurement with the ADS1220 via a reference resistor<\/h4>\n\n<p>To eliminate the dependence on deviations of the IDAC, we let the current flow through a reference resistor after passing through the RTD and take this voltage as the reference voltage:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme-1024x647.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"647\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme-1024x647.png\" alt=\"The RTD connected to the ADS1220 - measurement with reference resistor\" class=\"wp-image-15154\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme-1024x647.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme-300x189.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme-768x485.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt1000_rref_method_scheme.png 1126w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The RTD connected to the ADS1220 &#8211; measurement with reference resistor<\/figcaption><\/figure>\n<\/div>\n<p>According to Ohm&#8217;s law<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-de45f5cbc933eb11fef2505c9e323b2e_l3.png\" height=\"42\" width=\"202\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#92;&#102;&#114;&#97;&#99;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#84;&#68;&#125;&#125;&#125;&#123;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#84;&#68;&#125;&#125;&#125;&#32;&#61;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#49;&#125;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#82;&#101;&#102;&#125;&#125;&#125;&#123;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#82;&#101;&#102;&#125;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-6d095a16d4af3d0e2518ad241f96de07_l3.png\" height=\"42\" width=\"237\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#92;&#76;&#111;&#110;&#103;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#92;&#59;&#92;&#59;&#92;&#59;&#92;&#59;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#84;&#68;&#125;&#125;&#61;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#82;&#101;&#102;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#84;&#68;&#125;&#125;&#125;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#82;&#101;&#102;&#125;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>The reference voltage must be at least as large as the voltage to be measured. This means that the reference resistance must be at least as large as the largest resistance of RTD. I designed my circuit for RTD values up to 1.5 k\u03a9 and chose an appropriate resistor. A measurement with my multimeter showed a value of 1.483 k\u03a9.<\/p>\n<p>With an IDAC of 1 mA and a total resistance of ~3 k\u03a9, the maximum voltage at AIN1 is 3 volts. If you use a supply voltage (AVDD) of 5 volts, that is far below the limit of AVDD minus 0.9 volts. If you use lower supply voltages, like 3.3 volts, then you have to reduce the IDAC accordingly.<\/p>\n<p>In the following sketch, REFP0\/REFN0 is set as the equivalent voltage. The exact value we specify for the equivalent voltage does not matter. The determined voltage at the RTD is proportional to this setting. And since we divide the voltages to determine RRTD according to the above equations, the factor is eliminated. If this confuses you, you can alternatively work with the raw data (<code>getRawData()<\/code>) instead of the voltages.<\/p>\n<p>The PGA does not need to be bypassed, since we are not getting close to the lower limit of AVSS plus 0.2 volts.<\/p>\n<\/p>\n<div class=\"scroll-paragraph-long\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_pt1000_ref_resistor_method.ino\" data-enlighter-title=\"ads1220_pt1000_ref_resistor_method.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin\n#define VREF 2.0 \/\/ Reference Voltage, value does not matter\n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n\n  ads.setCompareChannels(ADS1220_MUX_1_0);\n  ads.setGain(ADS1220_GAIN_1);\n  ads.setVRefSource(ADS1220_VREF_REFP0_REFN0);\n  ads.setVRefValue_V(VREF);  \/\/ exact value doesn't matter!\n  ads.setIdacCurrent(ADS1220_IDAC_1000_MU_A);\n  ads.setIdac1Routing(ADS1220_IDAC_AIN1);\n} \/\/ end of setup()\n\nvoid loop(){\n  float result = 0.0;\n  float resistanceInOhm = 0.0; \n  float temperature = 0.0;\n  float ambTemp = 0.0;\n  \n  ads.enableTemperatureSensor(true);\n  ambTemp = ads.getTemperature();\n  ads.enableTemperatureSensor(false); \n  Serial.print(\"Ambient Temperature [\u00b0C]: \");\n  Serial.println(ambTemp);\n\n  ads.setCompareChannels(ADS1220_MUX_REFPX_REFNX_4);\n  result = ads.getVoltage_mV();\n  Serial.print(\"Reference Voltage [mV]:   \");\n  Serial.println(result * 4.0);\n  \n  ads.setCompareChannels(ADS1220_MUX_1_0);\n  result = ads.getVoltage_mV(); \/\/ get result in millivolts\n  resistanceInOhm = result * 1.483 \/ VREF;\n  Serial.print(\"Resistance [Ohm]:         \");\n  Serial.println(resistanceInOhm);\n  temperature = 1.01564*pow(10,-5)*pow(resistanceInOhm,2) + 0.235489*resistanceInOhm - 245.646;\n  Serial.print(\"Temperature [\u00b0C]:         \");\n  Serial.println(temperature);\n  \n  Serial.println();\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<\/div>\n<p>\n\n<p>And this is what my output looked like:<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000_ref_method.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"359\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000_ref_method.png\" alt=\"ADS1220 applications: ads1220_pt1000_ref_resistor_method.ino\" class=\"wp-image-15148\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000_ref_method.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000_ref_method-300x126.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt_1000_ref_method-768x323.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">ads1220_pt1000_ref_resistor_method.ino<\/figcaption><\/figure>\n\n<p>The temperatures determined with the PT1000 are in excellent match with those of the internal thermometer (&#8220;Ambient Temperature&#8221;). And both, in turn, did not deviate by more than two or three tenths of a degree from my high-precision reference thermometer in various measurements.<\/p>\n<p>By the way, the output of the reference voltage is only used to check if things work as calculated. The value is not used any further. Theoretically, the reference voltage should be 1.483 volts. Perhaps the typical 1% deviation of IDAC comes into play here. Furthermore, according to the data sheet, the measurement of the external reference is not a precision measurement.<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"PT100\">PT100<\/h3>\n\n<h4 class=\"wp-block-heading\">The measuring principle: 3-wire and 4-wire<\/h4>\n\n<p>The resistance of the PT100 at 0 \u00b0C is only 100 Ohm. This causes another error to become more relevant, namely the line resistance R<sub>LEAD<\/sub>. To compensate for the error, there are 3-wire or 4-wire PT100 (and PT1000!). The 3-wire PT100 has a double wire leading into it. With the 4-wire PT100, on the other hand, both lines are doubled. The double leads are each short-circuited before the sensor. Suitable circuits can be used to compensate for the lead influence.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"3_wire\">3-wire circuit<\/h4>\n\n<p>The following circuit can be applied to the 3-wire PT100:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme-1024x678.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"678\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme-1024x678.png\" alt=\"The RTD (PT100) connected to the ADS1220 - Measurement with reference resistor\" class=\"wp-image-15164\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme-1024x678.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme-300x199.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme-768x508.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/pt100_3_wire_scheme.png 1254w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The RTD (PT100) connected to the ADS1220 &#8211; Measurement with reference resistor<\/figcaption><\/figure>\n<\/div>\n<p>To calculate the voltages AIN1 and AIN0, we just need to multiply the currents by the sum of the resistors through which they flow. The voltage difference between AIN1 and AIN0 is:<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-7e005fe24dc818903468214877019855_l3.png\" height=\"19\" width=\"646\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#73;&#78;&#49;&#45;&#65;&#73;&#78;&#48;&#125;&#125;&#32;&#61;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#49;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#50;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#76;&#69;&#65;&#68;&#125;&#125;&#32;&#43;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#80;&#84;&#49;&#48;&#48;&#125;&#125;&#32;&#43;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#45;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#50;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#50;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#76;&#69;&#65;&#68;&#125;&#125;&#32;&#43;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>Since IDAC1 is equal to IDAC2, and we assume that the lead resistance values are all equal, after eliminating the brackets:<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-5a68d5927bb0c3d4aba426cd84123025_l3.png\" height=\"16\" width=\"227\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#73;&#78;&#49;&#45;&#65;&#73;&#78;&#48;&#125;&#125;&#32;&#61;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#80;&#84;&#49;&#48;&#48;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>This eliminates the resistance of the leads.<\/p>\n<p>For the reference voltage applies:<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-b073c0d2e9458861f3c05f2dda2cbe8e_l3.png\" height=\"16\" width=\"195\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#32;&#61;&#32;&#50;&#92;&#99;&#100;&#111;&#116;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>If you divide the last two equations by each other and solve for RPT100, you get the following simple formula:<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 41px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-9164567706d4209c521cdbd8ff0b146e_l3.png\" height=\"41\" width=\"254\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#80;&#84;&#49;&#48;&#48;&#125;&#125;&#32;&#61;&#32;&#50;&#92;&#99;&#100;&#111;&#116;&#92;&#102;&#114;&#97;&#99;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#73;&#78;&#49;&#45;&#65;&#73;&#78;&#48;&#125;&#125;&#125;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>R<sub>REF<\/sub> is known, we can measure the voltages, and a balancing polynomial was again used to convert R<sub>PT100<\/sub> to temperature:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T-1024x722.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"722\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T-1024x722.png\" alt=\"PT100 - Resistance vs. temperature\" class=\"wp-image-15350\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T-1024x722.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T-300x211.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T-768x541.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/PT100_R_vs_T.png 1284w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">PT100 &#8211; Resistance vs. temperature<\/figcaption><\/figure>\n<\/div>\n<p>As reference, I have chosen a 2.4 k\u03a9 resistor (exactly: 2.403 k\u03a9). IDAC1 and IDAC2 were 500 microamperes each. Thus, the reference voltage is about 2.4 volts. In the temperature range I considered, the PT100 resistance is greater than 90 \u03a9 and less than 150 \u03a9. U<sub>AIN1-AIN0<\/sub> is thus between 90 \u03a9 x 500 \u00b5A and 150 \u03a9 x 500 \u00b5A, i.e. between 45 mV and 75 mV. With a gain factor of 32, the limits of the PGA output voltage are thus 1.44 V and 2.4 V. All good!<\/p>\n\n<h4 class=\"wp-block-heading\">Sketch and output<\/h4>\n<\/p>\n<div class=\"scroll-paragraph-long\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_pt100_3_wire.ino\" data-enlighter-title=\"ads1220_pt100_3_wire.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n#define VREF 2.0 \/\/ Reference Voltage, value does not matter\n\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup(){\n  Serial.begin(9600);\n  if(!ads.init()){\n    Serial.println(\"ADS1220 is not connected!\");\n    while(1);\n  }\n\n  ads.setCompareChannels(ADS1220_MUX_1_0);\n  ads.setGain(ADS1220_GAIN_32);\n  ads.setVRefSource(ADS1220_VREF_REFP0_REFN0);\n  ads.setVRefValue_V(VREF);  \/\/ value doesn't matter, the ratio is important\n  ads.setIdacCurrent(ADS1220_IDAC_500_MU_A);\n  ads.setIdac1Routing(ADS1220_IDAC_AIN1);\n  ads.setIdac2Routing(ADS1220_IDAC_AIN0_REFP1);\n} \/\/ end of setup()\n\nvoid loop(){\n  float result = 0.0;\n  float pt100ResistanceInOhm = 0.0; \n  float leadResistanceInOhm = 0.0;\n  float temperature = 0.0;\n  float ambTemp = 0.0;\n  \n  ads.enableTemperatureSensor(true);\n  ambTemp = ads.getTemperature();\n  ads.enableTemperatureSensor(false); \n  Serial.print(\"Ambient Temperature [\u00b0C]: \");\n  Serial.println(ambTemp);\n\n  ads.setCompareChannels(ADS1220_MUX_REFPX_REFNX_4);\n  result = ads.getVoltage_mV();\n  Serial.print(\"Reference Voltage [mV]:   \");\n  Serial.println(result * 4.0);\n  \n  ads.setCompareChannels(ADS1220_MUX_1_0);\n  result = ads.getVoltage_mV(); \/\/ get result in millivolts\n  pt100ResistanceInOhm = result * 2.0 * 2.403 \/ VREF; \/\/ Reference resistor: 2.403 kOhm\n  Serial.print(\"Resistance PT100 [Ohm]:   \");\n  Serial.println(pt100ResistanceInOhm);\n \n  temperature = 1.01898*pow(10,-3)*pow(pt100ResistanceInOhm,2) + 2.35443*pt100ResistanceInOhm - 245.633;\n  Serial.print(\"Temperature [\u00b0C]:         \");\n  Serial.println(temperature);\n  \n  Serial.println();\n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<\/div>\n<p>\n\n<p>And here is the output:<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt100_3_wire.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"349\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt100_3_wire.png\" alt=\"Output of ads1220_pt100_3_wire.ino\" class=\"wp-image-15166\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt100_3_wire.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt100_3_wire-300x123.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_pt100_3_wire-768x314.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_pt100_3_wire.ino<\/figcaption><\/figure>\n\n<p>The temperature values determined with the PT100 matched well the measurements of the ADS1220&#8217;s internal thermometer (&#8220;Ambient Temperature&#8221;) and my precise reference thermometer.<\/p>\n<p>Again, the reference voltage is a little bit higher than expected. But as with the previous example, it doesn&#8217;t matter as long as the error is IDAC-related. I should mention, however, that although IDAC1 and IDAC2 can deviate from the target by up to 6 percent according to the data sheet, the difference between IDAC1 and IDAC2 is a maximum of 0.3 percent. Only this makes the measurement sufficiently accurate.<\/p>\n<p><strong>And one more note<\/strong>: If you try this example yourself by testing this on a breadboard and connecting the PT100 with alligator clips, be aware that you will create significant unwanted resistance. If your determined PT100 resistance deviates by only one ohm, this results in a temperature deviation of three degrees! The PT1000 is much less sensitive in this respect.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"4_wire\">4-wire circuit<\/h4>\n\n<p>4-wire RTDs are even more accurate. The following circuit eliminates the influence of the leads:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"759\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/pt100_4_wire_scheme-1024x759.png\" alt=\"The 4-wire PT100connected to the ADS1220 - Measurement with reference resistor\" class=\"wp-image-15413\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/pt100_4_wire_scheme-1024x759.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/pt100_4_wire_scheme-300x222.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/pt100_4_wire_scheme-768x569.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/pt100_4_wire_scheme.png 1151w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The 4-wire PT100connected to the ADS1220 &#8211; Measurement with reference resistor<\/figcaption><\/figure>\n<\/div>\n<p>The calculation is even simpler because we use only one IDAC.<\/p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-39f0303c7a1adbca4b14913ebbb42fc2_l3.png\" height=\"16\" width=\"227\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#73;&#78;&#49;&#45;&#65;&#73;&#78;&#48;&#125;&#125;&#32;&#61;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#125;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#80;&#84;&#49;&#48;&#48;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 16px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-cff08395e101ceddd1d003a9926f7ce5_l3.png\" height=\"16\" width=\"171\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#32;&#61;&#32;&#73;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#73;&#68;&#65;&#67;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 41px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-e151b2cdc8f9a3a034a06cec0a106462_l3.png\" height=\"41\" width=\"232\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091; &#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#80;&#84;&#49;&#48;&#48;&#125;&#125;&#32;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#73;&#78;&#49;&#45;&#65;&#73;&#78;&#48;&#125;&#125;&#125;&#123;&#85;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#82;&#95;&#123;&#92;&#116;&#101;&#120;&#116;&#123;&#82;&#69;&#70;&#125;&#125; &#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>\n\n<p>For example, at 5 volts supply voltage, you could choose a 4.7 k\u03a9 resistor as R<sub>REF<\/sub> and 500 microamps as IDAC. You should now be able to create a sketch for this yourself. Since I had no 4-wire PTC available, I have not tried the circuit.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"Wheatstone\">Wheatstone bridges with the ADS1220 <\/h2>\n\n<p>As a final application example, let&#8217;s look at <a href=\"https:\/\/de.wikipedia.org\/wiki\/Wheatstonesche_Messbr%C3%BCcke\" target=\"_blank\" rel=\"noopener\">Wheatstone bridge<\/a> circuits. These are used to determine small resistances or small resistance differences, e.g. when using <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/strain-gauges\" target=\"_blank\" rel=\"noopener\">strain gauges<\/a>. Maybe you have already worked with it without knowing it. Many <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/hx711-based-balance\" target=\"_blank\" rel=\"noopener\">load cells<\/a> are based on Wheatstone bridges of strain gauges. But I won&#8217;t go into the theory here, because that would take us too far.<\/p>\n\n<p>The circuit is very simple:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme-1024x774.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"774\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme-1024x774.png\" alt=\"Wheatstone bridge connected to the ADS1220\" class=\"wp-image-15170\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme-1024x774.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme-300x227.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme-768x580.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/wheatstone_bridge_scheme.png 1027w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Wheatstone bridge connected to the ADS1220<\/figcaption><\/figure>\n<\/div>\n<p>The supply voltage of the bridge is also the reference voltage. The output voltage of the bridge is measured as the difference between two inputs of the ADS1220. The cool thing is that the output voltage is proportional to the input voltage and therefore also to the reference voltage. Fluctuations in the supply voltage therefore do not play a role.<\/p>\n<p>And this is where the Low Side Switch comes into play. If you activate the function, the low side switch closes during a measurement. Otherwise, it is open and thus prevents the bridge from consuming power unnecessarily.&nbsp;<\/p>\n\n<p>For testing, I dug out my bending plate with Wheatstone bridge from the post on <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/strain-gauges\" target=\"_blank\" rel=\"noopener\">strain gauges<\/a> again:<\/p>\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-1024x679.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"679\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-1024x679.jpg\" alt=\"Wheatstone bridge with four strain gauges connected to the ADS1220\" class=\"wp-image-15186\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-1024x679.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-300x199.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-768x509.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-1536x1019.jpg 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-2048x1358.jpg 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/Wheatstone_bridge-1320x875.jpg 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Wheatstone bridge with four strain gauges (two are on the bottom) connected to the ADS1220<\/figcaption><\/figure>\n<\/div>\n<p>The associated sketch is simple:<\/p>\n<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ads1220_wheatstone_bridge.ino\" data-enlighter-title=\"ads1220_wheatstone_bridge.ino\">#include &lt;ADS1220_WE.h&gt;\n#include &lt;SPI.h&gt;\n\n#define ADS1220_CS_PIN    7 \/\/ chip select pin\n#define ADS1220_DRDY_PIN  6 \/\/ data ready pin \n\n\/* Create your ADS1220 object *\/\nADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);\n\nvoid setup() {\n  Serial.begin(9600);\n  if (!ads.init()) {\n    Serial.println(\"ADS1220 is not connected!\");\n    while (1);\n  }\n\n  ads.setCompareChannels(ADS1220_MUX_1_2);\n  ads.setGain(ADS1220_GAIN_128);\n  ads.setVRefSource(ADS1220_VREF_REFP1_REFN1);\n  ads.setVRefValue_V(5.0);  \/\/ The exact value doesn't matter!\n\/\/  ads.setRefp1Refn1AsVrefAndCalibrate(); \/\/ That will not work here!!\n  ads.setLowSidePowerSwitch(ADS1220_SWITCH);  \n} \n\nvoid loop() {\n  float result = 0.0;\n  result = ads.getVoltage_mV(); \/\/ get result in millivolts\n  Serial.print(\"Bridge Voltage [mV]: \");\n  Serial.println(result, 3);\n  \n  delay(2000);\n}<\/pre>\n<p>\u00a0<\/p>\n<p>\n\n<p>In this case, the gain can be set to 128 because the output voltage of the bridge is only a few millivolts. The PGA does not need to be bypassed as there is no danger of approaching AVDD or AVSS to 200 millivolts.<\/p>\n<p>This is what the output looked like when I pressed down on the bending plate and then let it relax again:<\/p>\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_wheatstone_bridge.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"419\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_wheatstone_bridge.png\" alt=\"ADS1220 applications: Output of ads1220_wheatstone_bridge.ino\" class=\"wp-image-15179\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_wheatstone_bridge.png 853w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_wheatstone_bridge-300x147.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/06\/output_ads1220_wheatstone_bridge-768x377.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><figcaption class=\"wp-element-caption\">Output of ads1220_wheatstone_bridge.ino<\/figcaption><\/figure>\n\n<p>I tried reducing the bridge voltage from 5 volts to 3.3 volts without changing the sketch. The measured values did not change. Of course, the output voltages are then no longer correct. But they don&#8217;t have to, since values stand for certain strains or (weight) forces. And these should be independent of fluctuations in bridge voltage.<\/p>\n<p>If this bothers or confuses you, then you might as well work with the raw values (via <code>getRawData()<\/code>) instead of the voltages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About this Post In the last post, I introduced the ADS1220 24-bit, 4-channel A\/D converter and my associated library. In this sequel, I will show you how to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":15305,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[565,572],"tags":[1869,1870,1843,1868,1865,1864,1862,1863,1866,1871,1861,1867,1570],"class_list":["post-15945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-other-parts","category-sensors","tag-3-wire","tag-4-wire","tag-ads1220-en","tag-idac-en","tag-negative-temperature-coefficient-thermistor","tag-ntc-en","tag-pt100-en","tag-pt1000-en","tag-ptc-thermistor","tag-resistance-thermometer","tag-rtd-en","tag-thermocouple","tag-wheatstone-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste<\/title>\n<meta name=\"description\" content=\"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste\" \/>\n<meta property=\"og:description\" content=\"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications\" \/>\n<meta property=\"og:site_name\" content=\"Wolles Elektronikkiste\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-09T17:18:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-24T11:29:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Wolfgang Ewald\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Wolfgang Ewald\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"22 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications\"},\"author\":{\"name\":\"Wolfgang Ewald\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"headline\":\"ADS1220 &#8211; Part 2: Applications\",\"datePublished\":\"2022-09-09T17:18:21+00:00\",\"dateModified\":\"2026-01-24T11:29:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications\"},\"wordCount\":3342,\"commentCount\":24,\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/postimage_ads1220_II.jpg\",\"keywords\":[\"3-wire\",\"4-wire\",\"ADS1220\",\"IDAC\",\"Negative Temperature Coefficient Thermistor\",\"NTC\",\"PT100\",\"PT1000\",\"PTC thermistor\",\"resistance thermometer\",\"RTD\",\"thermocouple\",\"Wheatstone\"],\"articleSection\":[\"Other parts\",\"Sensors\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications\",\"name\":\"ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/postimage_ads1220_II.jpg\",\"datePublished\":\"2022-09-09T17:18:21+00:00\",\"dateModified\":\"2026-01-24T11:29:11+00:00\",\"description\":\"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#primaryimage\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/postimage_ads1220_II.jpg\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/postimage_ads1220_II.jpg\",\"width\":1800,\"height\":1800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/ads1220-part-2-applications#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ADS1220 &#8211; Part 2: Applications\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\",\"name\":\"Wolles Elektronikkiste\",\"description\":\"Die wunderbare Welt der Elektronik\",\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\",\"name\":\"Wolfgang Ewald\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"width\":512,\"height\":512,\"caption\":\"Wolfgang Ewald\"},\"logo\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste","description":"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications","og_locale":"en_US","og_type":"article","og_title":"ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste","og_description":"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.","og_url":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications","og_site_name":"Wolles Elektronikkiste","article_published_time":"2022-09-09T17:18:21+00:00","article_modified_time":"2026-01-24T11:29:11+00:00","og_image":[{"width":1800,"height":1800,"url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg","type":"image\/jpeg"}],"author":"Wolfgang Ewald","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Wolfgang Ewald","Est. reading time":"22 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#article","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications"},"author":{"name":"Wolfgang Ewald","@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"headline":"ADS1220 &#8211; Part 2: Applications","datePublished":"2022-09-09T17:18:21+00:00","dateModified":"2026-01-24T11:29:11+00:00","mainEntityOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications"},"wordCount":3342,"commentCount":24,"publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg","keywords":["3-wire","4-wire","ADS1220","IDAC","Negative Temperature Coefficient Thermistor","NTC","PT100","PT1000","PTC thermistor","resistance thermometer","RTD","thermocouple","Wheatstone"],"articleSection":["Other parts","Sensors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications","url":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications","name":"ADS1220 - Part 2: Applications &#8226; Wolles Elektronikkiste","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#website"},"primaryImageOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#primaryimage"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg","datePublished":"2022-09-09T17:18:21+00:00","dateModified":"2026-01-24T11:29:11+00:00","description":"In the second part of the article about the ADS1220 I present different applications, e.g. NTCs, PT100, PT1000 or Wheatstone bridges.","breadcrumb":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#primaryimage","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2022\/07\/postimage_ads1220_II.jpg","width":1800,"height":1800},{"@type":"BreadcrumbList","@id":"https:\/\/wolles-elektronikkiste.de\/en\/ads1220-part-2-applications#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/wolles-elektronikkiste.de\/en"},{"@type":"ListItem","position":2,"name":"ADS1220 &#8211; Part 2: Applications"}]},{"@type":"WebSite","@id":"https:\/\/wolles-elektronikkiste.de\/en#website","url":"https:\/\/wolles-elektronikkiste.de\/en","name":"Wolles Elektronikkiste","description":"Die wunderbare Welt der Elektronik","publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wolles-elektronikkiste.de\/en?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46","name":"Wolfgang Ewald","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","width":512,"height":512,"caption":"Wolfgang Ewald"},"logo":{"@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png"}}]}},"_links":{"self":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/15945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/comments?post=15945"}],"version-history":[{"count":2,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/15945\/revisions"}],"predecessor-version":[{"id":25518,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/15945\/revisions\/25518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media\/15305"}],"wp:attachment":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media?parent=15945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/categories?post=15945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/tags?post=15945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}