Arduino UNO - i2c 1Wire and 2Wire at the same time

Hello, I'm new to arduino. I want to use 2 sensors i2c 1-wire (DS18B20 :slight_smile: ) and one ADC i2c 2-wire on my arduino uno. Can I use both 1wire and 2wire connections at the same time?

The Dallas Semiconductor OneWire devices are NOT I2C devices. It’s a separate bus protocol but the good news are: it’s supported by your Arduino too. And you can hook both types of devices to an Arduino at the same time. One is using the OneWire library and can be hooked to any digital IO pin, the other uses the Wire library and is connected to SDA/SCL (A4/A5 on the UNO).

1 Like