Hi,
first thanks for providing this library. Just in case someone else is struggeling with setting up and ADS with an ESP8266 or you want to slightly change your code to make it compatible with ESP8266. So, I'm currently working with an Wemos D1 mini ESP8266 board and connected one of those ADS1256 boards by Dollatek/Hailege/etc. The boards have no reset pin but it seems to be working with the following wiring:
| ESP8266 |
ADS |
| D1 (GPIO5) |
PDWN |
| D8 (GPIO15) |
CS |
| D2 (GPIO4) |
DRDY |
| D6 (GPIO12) |
Dout |
| D7 (GPIO13) |
Din |
| D5 (GPIO14) |
SCLK |
and changing the ESP line in your example to:
ADS1256 A(4, 5, 5, 15, 2.500); //DRDY, RESET, SYNC(PDWN), CS, VREF(float). //ESP8266
I'still don't know about the RESET pin, that is not present on the board. Furthermore I had to slightly alter line 18 in ADS1256.cpp from:
#if defined(ESP32)
to #if defined(ESP32) || defined(ESP8266)
I tested the board with a (lab) waveform generator, and except the voltage level it seems to be working.

Hi,
first thanks for providing this library. Just in case someone else is struggeling with setting up and ADS with an ESP8266 or you want to slightly change your code to make it compatible with ESP8266. So, I'm currently working with an Wemos D1 mini ESP8266 board and connected one of those ADS1256 boards by Dollatek/Hailege/etc. The boards have no reset pin but it seems to be working with the following wiring:
and changing the ESP line in your example to:
ADS1256 A(4, 5, 5, 15, 2.500); //DRDY, RESET, SYNC(PDWN), CS, VREF(float). //ESP8266I'still don't know about the RESET pin, that is not present on the board. Furthermore I had to slightly alter line 18 in ADS1256.cpp from:
#if defined(ESP32)to
#if defined(ESP32) || defined(ESP8266)I tested the board with a (lab) waveform generator, and except the voltage level it seems to be working.
