Component: ADC 24bit ADS1220 (Analog Input): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 35: | Line 35: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 49: | Line 49: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadRTDResistance''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadRTDResistance''' | ||
|- | |- | ||
| Line 63: | Line 63: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadRTDTemperature''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadRTDTemperature''' | ||
|- | |- | ||
| Line 77: | Line 77: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleDiffRAW''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleDiffRAW''' | ||
|- | |- | ||
| Line 106: | Line 106: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleDiffVolts''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleDiffVolts''' | ||
|- | |- | ||
| Line 135: | Line 135: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleSglRaw''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleSglRaw''' | ||
|- | |- | ||
| Line 159: | Line 159: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleSglVolts''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SampleSglVolts''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Input |
ADC 24bit ADS1220 component
A Precision Low power 24Bit SPI ADC 4 channel device with Programmable Gain Amplifier (PGA) and Data Rates up to 2 kSPS
Detailed description
No detailed description exists yet for this component
Examples
Example use case of a 3-wire RTD to read high resolution and high accuracy temperature.
Example circuit schematic complete with component values. RREF should be a high accuracy resistor with a low PPM.
Macro reference
Initialise
| Initialise | |
| Initialize the ADS1220 ADC with default settings | |
| Return | |
ReadRTDResistance
| ReadRTDResistance | |
| Reads the RTD sensor and returns resistance in ohms | |
| Return | |
ReadRTDTemperature
| ReadRTDTemperature | |
| Reads the RTD sensor and returns temperature in degrees Celsius using linear approximation - matches GitHub library get_temperature_from_rtd_ohms_with_linear_approx | |
| Return | |
SampleDiffRAW
SampleDiffVolts
SampleSglRaw
SampleSglVolts
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_External_ADC24Bit_ADS1220.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_External_ADC24Bit_ADS1220.fcfx