CH101 with Arduino free running not working

By josegvicenteyahoocom , 31 August 2025

Hi I am using the Arduino library CHx01. I am using the Nano and adapting the pis to this one. The example compiles OK and passes the setup OK with no errors on the initialization and reporting the correct CH101 type and information on frequency, samples etc. However the if statement in the loop() is failing.

if (CHx01.data_ready())

I understand data_ready method is waiting for an interrupt from the INT pin in the CH101. The INT pin is always in High (1.8 Volts).

Is this the case ? does the CH101 needs to place interrupt in low in order to send the measured samples?

If I comment this if statement out, the chip keeps sending 255 samples per loop but the q values look like random numbers.

Please help on this !!!!!!

Jose

phpbb Topic ID
52673