Difference between revisions of "Component: ADC 24bit ADS1220 (Analog Input)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...") |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 21: | Line 21: | ||
==Examples== | ==Examples== | ||
| − | + | Example use case of a 3-wire RTD to read high resolution and high accuracy temperature. | |
| + | |||
| + | {{Fcfile|ADS1220_Test.fcfx|ADS1220_Test}} | ||
| + | |||
| + | |||
| + | Example circuit schematic complete with component values. RREF should be a high accuracy resistor with a low PPM. | ||
| + | |||
| + | [[File:ADS1220_RTD3.png|680px]] | ||
==Macro reference== | ==Macro reference== | ||
| Line 330: | Line 337: | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_External_ADC24Bit_ADS1220_1.fcfx FC_Comp_Source_External_ADC24Bit_ADS1220_1.fcfx] |
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_External_ADC24Bit_ADS1220_1.fcfx FC_Comp_Source_External_ADC24Bit_ADS1220_1.fcfx] |
Latest revision as of 11:12, 25 February 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Input |
Contents
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_1.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_External_ADC24Bit_ADS1220_1.fcfx