TryKeep Sensor 1 as BMP280 and Sensor 2 as BME280, then change Sensor 4 from DS3231 RTC to (none).
ObserveThe opening selections produce two conflicting pairs: BMP280 with BME280 at 0x76, and MPU6050 with DS3231 RTC at 0x68.
ExplainSensor 1 and Sensor 2 collide because the first address in each lookup entry is the same; an available second address marks that pair as resolvable.
Technical boundaries. The checker assumes every selected device starts at its first listed address. It evaluates pairs without assigning a globally consistent address plan, and its INA219 and PCA9685 alternate-address lists are only partial.
Try It: I2C Address Conflict Checker
Two devices with the same address can respond together. Check the address plan before joining them to the bus.
Note
Enter the sensors in your design to check for I2C address conflicts. The tool identifies collisions and suggests resolution strategies.
addrDB = ({"BMP280 (0x76/0x77)": [0x76,0x77],"BME280 (0x76/0x77)": [0x76,0x77],"MPU6050 (0x68/0x69)": [0x68,0x69],"DS3231 RTC (0x68)": [0x68],"BH1750 (0x23/0x5C)": [0x23,0x5C],"SSD1306 OLED (0x3C/0x3D)": [0x3C,0x3D],"SHT31 (0x44/0x45)": [0x44,0x45],"CCS811 (0x5A/0x5B)": [0x5A,0x5B],"INA219 (0x40-0x4F)": [0x40,0x41,0x44,0x45],"ADS1115 (0x48-0x4B)": [0x48,0x49,0x4A,0x4B],"VL53L0X (0x29)": [0x29],"PCA9685 (0x40-0x7F)": [0x40,0x41,0x42,0x43]})addrSelectedSensors = [addrCheckSensor1, addrCheckSensor2, addrCheckSensor3, addrCheckSensor4].filter(s => s !=="(none)")// Find conflicts: for each pair, check if their default addresses overlapaddrConflicts = {const conflicts = [];for (let i =0; i < addrSelectedSensors.length; i++) {for (let j = i +1; j < addrSelectedSensors.length; j++) {const a = addrDB[addrSelectedSensors[i]];const b = addrDB[addrSelectedSensors[j]];if (a && b) {const defaultA = a[0];const defaultB = b[0];if (defaultA === defaultB) {// Check if both have alternate addresses that resolve the conflictconst altA = a.length>1? a[1] :null;const altB = b.length>1? b[1] :null;const resolvable = (altA !==null&& altA !== defaultB) || (altB !==null&& altB !== defaultA); conflicts.push({sensor1: addrSelectedSensors[i],sensor2: addrSelectedSensors[j],addr: defaultA,resolvable: resolvable,altA: altA,altB: altB }); } } } }return conflicts;}addrHasConflicts = addrConflicts.length>0
html`<div style="background: var(--bs-light, #f8f9fa); padding: 1.2rem; border-radius: 8px; border-left: 4px solid ${addrHasConflicts ?'#E74C3C':'#16A085'}; margin-top: 0.5rem;"> <h4 style="margin: 0 0 12px 0; color: ${addrHasConflicts ?'#E74C3C':'#16A085'};">${addrHasConflicts ?'Address Conflicts Detected!':'No Conflicts - All Clear'} </h4>${addrSelectedSensors.length===0?html`<p style="color: #7F8C8D;">Select at least one sensor above.</p>`:html` <div style="margin-bottom: 12px;"> <strong style="color: #2C3E50;">Selected devices (default addresses):</strong>${addrSelectedSensors.map(s => {const addrs = addrDB[s];returnhtml`<div style="margin: 4px 0; padding: 6px 10px; background: white; border-radius: 4px; font-size: 0.9em;"> <code style="background: #2C3E50; color: white; padding: 2px 6px; border-radius: 3px;">0x${addrs[0].toString(16).toUpperCase().padStart(2,"0")}</code> <span style="margin-left: 6px;">${s.split(" (")[0]}</span>${addrs.length>1?html`<span style="color: #7F8C8D; font-size: 0.85em;"> (alt: ${addrs.slice(1).map(a =>"0x"+ a.toString(16).toUpperCase().padStart(2,"0")).join(", ")})</span>`:html`<span style="color: #E74C3C; font-size: 0.85em;"> (no alternate address)</span>`} </div>`; })} </div>${addrConflicts.length>0?html` <div style="background: #fff3cd; border-radius: 6px; padding: 12px; margin-top: 10px; border: 1px solid #ffc107;"> <strong style="color: #856404;">Conflicts found:</strong>${addrConflicts.map(c =>html` <div style="margin: 8px 0; padding: 8px; background: white; border-radius: 4px; border-left: 3px solid #E74C3C;"> <div><strong>${c.sensor1.split(" (")[0]}</strong> and <strong>${c.sensor2.split(" (")[0]}</strong> both default to <code>0x${c.addr.toString(16).toUpperCase().padStart(2,"0")}</code></div> <div style="margin-top: 4px; font-size: 0.9em; color: ${c.resolvable?'#16A085':'#E74C3C'};">${c.resolvable?"Fix: Change one device to its alternate address via hardware pin (SDO/AD0).":"Fix: Use a TCA9548A I2C multiplexer to place devices on separate bus channels."} </div> </div> `)} </div> `:''} `}</div>`
The INA219 supports all 16 I2C addresses from 0x40 through 0x4F. This checker lists only four representative addresses (0x40, 0x41, 0x44, and 0x45), so its alternate-address list is incomplete.