摘要 |
An exemplary connection system includes an I2C bus and two or more devices. Each device has a dip switch, a MCU, and a bus controller. The dip switch is configured for assigning an address to the device. The MCU is connected to the dip switch and configured for detecting whether the device is a master or a slave device according to the address assigned by the dip switch. The bus controller is connected to the MCU and the I2C bus, and is configured for converting a data transmission mode between the MCU and the bus controller. In this system, at least one device is a master device and at least one device is a slave device, the master device is capable of monitoring the slave device, and the slave device is capable of transmitting information to the master device.
|