Tool/software:
Hello Team,
I'm Andree from Vietnam.
I have designed a board that connects between ESP32 and ADs131m08 to read current and voltage.
We have read data from the channels but when displaying the read data on the chart, we see abnormalities as shown in the image I attached (The measured voltage at the input is 36V AC voltage, but the displayed graph is not a sine wave).
Please help us check if there is anything wrong in hardware or software
The setup of program:
CLKOUT = 8192000;
adc.writeReg(ADS131_CLOCK,0b1111111100000010);
adc.writeReg(ADS131_MODE,0b0000010100010000);
adc.writeReg(ADS131_CH6_CFG,0b0000000000000000);
adc.setGain(1);