Arduino MEGA 2560 - SDA / SLA:

Hello,

I am using an Arduino MEGA 2560 (version 1.0), operating system Windows 8, which has 1 SDA and 1 SLA pins, and I am trying to connect two temperature sensors (TMP421) which connect through the SDA and SLA pins on the Arduino.

I can get one temperature sensor working with the Arduino and it is reading the correct temperature, but I tried connecting two temperature sensors in parallel using the same SDA and SLA pins, and the output data does not reflect the actual temperature, the value is off by about 5-10 degrees C.

I am wondering what might be causing this and how we can fix this issue to have two temperature sensors running at the same time?

Thank you in advance for your help.

This part?

You have given each their own address?
You have pullup 4.7K pullup resistors on SCL/SDA lines?

If yes to the above, then post your code. Use the # button.