An Arduino library to interface the Texas Instruments ADS1231 24-Bit ADC, an analog-to-digital converter for weight scales. The ADS1231 is a 24-Bit, 80SPS, 1-channel delta-sigma ADC for resistive bridge sensors & weight scales.
git clone https://github.com/hiveeyes/aerowind-ads1231
cd aerowind-ads1231
make build
- Atmel AVR
- Atmel SAM
- Espressif ESP8266
You probably do not want to use this library. Have a look at the ThomasRyanDavies/ADS1231 Arduino library by Thomas Ryan Davies and other libraries for the ADS1231 instead.
This library has been sourced from the Arduino Forum.
- Source: Arduino Forum Topic "SPI Load cell chip ADS1231", ADS1231_beta.zip.
- Author: aerowind
- Date: Jan 31, 2014
Thank you!
For compatibility with ESP8266, those compile-time errors have been fixed.
- error: 'SREG' was not declared in this scope
- error: cannot convert 'volatile uint32_t*' to 'volatile uint8_t*'
You should consider getting into the details of strain-gauge load cell sensors when expecting reasonable results from your measurements. The range of topics is broad, starting with a sufficient and stable power supply, over using the proper excitation voltage, to the Seebeck effect, and temperature compensation woes.
See also:
- Overview about real world effects
- Thermoelectric effect (Seebeck effect)
- Temperature compensation: Resource collection, DIY research
- Power management for HX711