CH201 with Arduino

By hph2axvirginiaedu , 9 July 2024

I am attempting to use ch201 with an Arduino. I have wired everything correctly, making sure to interface the 1.8v ch201 with the 3.3v Arduino pins correctly. I have also installed the new TDK CHx01 library that I found on GitHub to drive the sensor, but have not been able to get it to work. Every example file I run gets stuck on the CHx01.begin() line (it never returns anything and seems to run forever). I checked my I2C lines using an oscilloscope and verified that the sensor is correctly interfaced by using a simple I2C scanning program to find the address of the sensor. I believe this may be some sort of software issue but I am unsure.

matthiashintze…

1 year 7 months ago

"making sure to interface the 1.8v ch201 with the 3.3v Arduino pins correctly"

According to the CH201 datasheet, the absolute maximum voltage for AVD, VDD, SDA, SCL, PROG and RST_N to GND is 2.2V.
The CH201 cannot be connected directly to the pins of a 3.3V Arduino. A voltage level translator is required.

phpbb Post ID
45775

knaveensysarguscom

1 year 7 months ago

Hi Guys,

I am working on ch101. The downloaded the ch101 library TDK website.

My MCU is nRF5340, I am successfully integrated the library and developed user code and the progress as follows
board initialize is ok
ch_init() is ok
ch_group_start - In write_firmware(dev_ptr); the I2C call is not responding

Any idea about what's happening?

phpbb Post ID
45834

saisysarguscom

1 year 7 months ago

Hi,

I'm interfacing CH101 sensor with Arduino Mega 2560. I'm getting the same log connecting MCU without and with the sensor. our FW is haulting at ch_group_start(). I'm attaching the hardware connections for your reference. Could you please review it.

phpbb Post ID
46035

hph2axvirginiaedu

1 year 5 months ago

matthiashintzegeelektronikcom

What I meant by this is that I correctly used a voltage level translator to interface the 3.3 and 1.8v. I have taken a break from this project but will likely be revisiting soon. I think I will reach out to TDK support as I think it could be an issue with the software they have provided but I am not sure.

phpbb Post ID
46973

fairychildqqcom

9 months ago

I meet the same problem,please help me, thanks

phpbb Post ID
51447
phpbb Topic ID
45733