Always give zero output from grove i2c

Hi, I’m trying to use 8-Channel 12-Bit ADC for Raspberry Pi (STM32F030) connected with raspberry to detect voltage. I’m using the example code from grove lib adc_8chan_12bit.py. All the channels keep giving zero results.

i2cdetect is working:
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – 08 – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --

i2cget is:
pi@raspberrypi:~ $ i2cget -y 1 0x08 1
0x00
pi@raspberrypi:~ $ i2cget -y 1 0x08 0
0x00

I have double-checked all connections even tried changing another board. But the problem always happens. And I also used a multimeter to detect the voltage, the multimeter shows correct result but the i2c still get 0:
image

What should I do now? Thank you so much for any hints.

I’m having the same problem.
Same config as Helen and same output (all zeros).
I have enabled i2c using raspi-config.
I have 2 i2c busses and have changed the sample code to reflect the correct one (Bus#1 and ADDR = 0X08).

pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 08 – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
pi@raspberrypi:~ $ i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – --
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- 3a – -- – -- –
40: – -- – -- – -- – -- – -- – -- – -- – --
50: 50 – -- – -- – -- – -- – -- – -- – -- –
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
pi@raspberrypi:~ $ i2cget -y 1 0x08 1
0x00
pi@raspberrypi:~ $ i2cget -y 1 0x08 0
0x00

Trying to read the value of 6 10k pots using on board voltage and all I get are zeros.
Pretty sure it is a config issue. All voltage values at screw terminals look correct.

One clue was the change in chip from STM32F030 to M32F031F6P6. Firmware is provided but no instruction to check or update.

I too would be appreciative of any hints.

Hello, I have submitted the application requirements. I will give you the answer after the test, it is estimated that it will take about ten days, please be patient, thank you

Hey Citric! Any Success in your testing to figure out why we are getting all zeros as an output. Thanks

Sorry, there is a new job that needs to be completed recently, I need more time to test it for you, sorry again

Hey Citric! Did you ever get a chance to test why we are getting all zeros in our output? All I have now is a brick and would really like to get this thing working. Thanks.

We’ve been quarantined for a while because of the pandemic, and I don’t have a way to get tested right now. . .

I tested it with the code today, and found that the old code will report an error when running, so it should be invalid. Next, I will ask about the research and development plan, and I do not rule out the possibility of EOL for this product.

Sorry to hear about the quarantine. Hope all are safe. Do you have a recommendation on a replacement? I need 5 channels minimum. Would prefer a higher bit, like 16. An ADC that works would be preferable:)

Truth be told, we are currently at a low point in our support for Raspberry Pi products. Maybe because more time will be invested in R&D and the Raspberry Pi is updated too frequently?