Arduino lib for the ADS131M02 and ADS131M04 24-bit Analog to Digital Converter.
Mostly based on the work of https://github.com/LucasEtchezuri/Arduino-ADS131M04
- adaption for ADS131M02 and conditional code parts for ADS131M02 and ADS131M04
- modified interface for flexible SPI-Port
- method to change SPI clock
- minor changes for speed optimation
- additonal interface description
Please notice: all modifications are only testet with ESP32, ESP32-S2, ESP32-S3 and ESP32-C3
Datasheet = https://www.ti.com/product/ADS131M02
Datasheet = https://www.ti.com/product/ADS131M04
To download click the DOWNLOAD ZIP button, rename the uncompressed folder ADS131M0x. Check that the ADS131M0x folder contains ADS131M0x.cpp and ADS131M0x.h
Place the ADS131M0x library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
Add in 'platform.ini' (no need to download before)
lib_deps =
https://github.com/raibisch/ADS131M0x