I2C (EN)

Protocol

Inter-Integrated Circuit, a serial communication protocol for short distances

Definition

I2C (Inter-Integrated Circuit) is a serial communication protocol that enables the connection of integrated circuits over just two wire lines. It supports multi-point configurations and allows communication between one master and multiple slaves. I2C is commonly used for connecting sensors with microcontrollers due to its simple implementation and low wiring requirements.

Architecture

flowchart TD   Master[Mikrocontroller
Master] -->|SDA| Slave1[Sensor 1
Slave] Master -->|SCL| Slave1 Master -->|SDA| Slave2[Sensor 2
Slave] Master -->|SCL| Slave2 Master -->|SDA| Slave3[Sensor 3
Slave] Master -->|SCL| Slave3 style Master fill:#f9f,stroke:#333,stroke-width:2px style Slave1 fill:#bbf,stroke:#333,stroke-width:1px style Slave2 fill:#bbf,stroke:#333,stroke-width:1px style Slave3 fill:#bbf,stroke:#333,stroke-width:1px

Im Kontext

  • Wird typischerweise zusammen mit SPI, UART und USB verwendet
  • Verwandt zu: SMBus, PMBus
  • Beispiel-Einsatz: Verbindung von Temperatur-, Licht- und Beschleunigungssensoren mit einem Mikrocontroller
Quelle: AI Generated