i2c worked with ft232rl, not working with ch340g

I have a project where I'm using an Arduino Nano with a ft232rl that has been working for months. I replaced the Nano with a clone that uses the ch340g chip and now I can't communicate with the i2c. I installed the ch340g drivers, Win10 recognizes the device, and I can load and run basic code like blink with no problem. I tried using an i2c scanner code but nothing comes up.

Nothing else in my code or hardware has changed.

Anyone have suggestions for what might be going wrong or what I can try to troubleshoot this issue?

Thank you.

Bad contacts on the clone?

You are aware that, to keep the price low, something must give? QA is the most likely step that will be sacrificed.

Yeah, I thought it might be a bad connection but I've tried it with two of the clone boards and neither work.

Is there an easy way to test the connections? I don't think you can measure the i2c signal with a multimeter.

Multimeter measuring resistance, board switched of; and it will not be that easy. Consult the datasheet for the 328 to find the pinout (or use the schematic of the nano board).

Place one probe on the pad, one probe on the connected pin on the micro; do not push hard on the latter because it might cause a better contact. It does not matter for this continuity test if you touch multiple pins on the micro, you only want to know if there is a connection between the pin on the micro and the related pad.

Alternative can be to use a led/resistor combination and test the SCL and SDA pads using some test code using digitalWrite; you can test all pins that way except the two analog input only pins.

Hey sterrettje, Thanks for the suggestion. Which pins do you mean by "pad" and "micro"? Do you mean checking the connections between the ch340g and the output pins on the nano?

Thanks for the help.

Windows recognizes your clone and you can load software; hence the communication from PC through the CH340 to the 328 is OK. So no need to measure anything on the CH340; concentrate on the 328.

What I call pads are the solder pads on the board where you connect other boards or e.g. leds. Pin is the pin on the 328 micro itself.

Concentrate on 2 pins (breakout board pins and the Atmel 328p chip):

Board pin Atmel 328p pin#

A4 (SDA) -> 27
A5 (SCL) -> 28