

The Multiplexer connects to VIN, GND, SDA and SCL lines of the micro-controller. For example, if eight identical OLED displays are needed in an application, one of each display can be connected at each of these channels: 0-7. You just need to wire up the I2C sensors to the SCn / SDn multiplexed buses. TCA9548A is an eight-channel (bidirectional) I2C multiplexer which allows eight separate I2C devices to be controlled by a single host I2C bus. The Master generates the clock and initiates communication with slaves. The clock signal is always controlled by the master.

The output of bits is synchronized to the sampling of bits by a clock signal 'shared' between the master and the slave. I2C is a 'short distance' 'serial communication protocol', so data is transferred 'bit-by-bit' along the single wire or the SDA line. * Slave receive – slave node is receiving data from the master * Slave transmit – slave node is sending data to the master * Master transmit – master node is sending data to a slave* Master receive – master node is receiving data from a slave So, a device on I2C bus can be in one of these four states: Both masters and slaves can transmit and receive data. With I2C, you can connect multiple slaves to a single master (like SPI) or you can have multiple masters controlling single, or multiple slaves. The I2C bus technology was originally designed by Philips Semiconductors in the early ’80s to allow easy communication between components which reside on the same circuit board. Remember, both these lines are 'synchronous' 'bidirectional' 'open-drain' and are 'pulled-up with resistors'.

Inter-integrated Circuit pronounced I-squared-C (I☬) or I2C is a two wire bus technology (well actually 4 wires because you also need the VCC and Ground) that is used for communication between multiple processors and sensors.
