Hi,
My project needs an I2C interface AND Ethernet for Ardunio. I have seen a few Arduino Ethernet shield in amazon. but they never mentioned about i2c.
Is there any Ardunio board with Ethernet and I2C or Any Ardunio Ethernet shield with Ethernet and I2C?
You'd be hard pressed to find an Arduino board that didn't have I2C- Uno, Nano, Pro Mini etc all have I2C. Add an ethernet shield and you have I2C + ethernet.
Don't forget 4.7K pullup resistors to 5V on the SCL, SDA lines.
If using 3.3V powered devices, then add these lines after Wire.begin() in setup:
digitalWrite (SCL, LOW);
digitalWrite (SDA, LOW);
to turn off the weak internal pullup to 5V resistors,
and add 3.3K pullup resistors to 3.3V.
"R3" and newer boards have separate "I2C" pins to the left of the Aref pin.
Since ethernet is almost always interfaced via SPI, it should not conflict with the use of I2C...
("I2C" is actually a trademark. You may see it called "TWI" instead.)