How does an Ultrasonic Distance Sensor work? How do I connect it to the Arduino Uno? The Arduino says I am the master. The slave sensor says not any more, I am liberated. We are not even on the same bus.
Download the source code zip file to the Arduino and Raspberry Pi 3 Projects including an object oriented programming c++ class.
Blubot - I2C Interface
There is a photo of the setup of the I2C Interface to further elucidate on the subject. Pay particular attention to the monitor that shows the source code output for both the Raspberry Pi and the Arduino.