I2C Communication between 16x12-Bit PWM & Servo Shield and Arduino Mega 2560 fails to establish

Trying to communicate Arduino Mega 2560 on I2C to a 16x12 bit PWM Shield which further connects to a PWM to 0-10V converter. Unfortunately, the communication fails to establish.

Which pins on the Mega is the 16x12 connected to? Just in case, A4 and A5 are not the I2C pins.

A schematic would have been (and more than likely still is) useful; photo of pencil/paper drawing is fine.

1 Like

How do you know this?
Does the I2C scan sketch find the devices?

Arduino Mega 2560 has got separate pins for I2C. Pin-20 as SDA and 21 as SCL. I've connected the SDA of Arduino Mega with SDA pin of shield and same for SCL.
Sorry, I do not have standard schematic available. Adding the hand drawn picture.

Scan sketch? Could you elaborate this for me? I did not find any indication on shield device for I2C and didn't get any output at the end (LED end) so I concluded that somewhere I'm failing at I2C end itself.

Jim-p means the i2c_scanner sketch.

In the Arduino, click on File then Examples, then Wire, then I2C_scanner.
Upload the program. It should report that is found something at some address.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.