I2C stands for Inter-Integrated Circuit. It is a communication protocol used to connect multiple devices using just two wires.
Click to reveal answer
beginner
Why is I2C preferred for connecting multiple devices?
I2C uses only two wires (SDA for data and SCL for clock) to connect many devices, saving pins and wiring complexity compared to other protocols.
Click to reveal answer
intermediate
How does I2C help in reducing hardware complexity?
By using a shared bus with only two wires, I2C reduces the number of physical connections needed, making circuit design simpler and smaller.
Click to reveal answer
beginner
What kind of devices typically use I2C communication?
Devices like sensors, EEPROMs, real-time clocks, and microcontrollers often use I2C to communicate because it is simple and efficient for short-distance communication.
Click to reveal answer
intermediate
How does I2C support multiple devices on the same bus?
Each device on the I2C bus has a unique address, allowing the master to communicate with one device at a time over the shared two-wire bus.
Click to reveal answer
What are the two wires used in I2C communication?
ASDA and SCL
BTX and RX
CMOSI and MISO
DCLK and DATA
✗ Incorrect
I2C uses SDA (Serial Data) and SCL (Serial Clock) lines for communication.
Why is I2C useful for connecting multiple devices?
ABecause it uses only two wires for many devices
BBecause it requires no clock signal
CBecause it uses wireless signals
DBecause it uses separate wires for each device
✗ Incorrect
I2C allows multiple devices to share two wires, simplifying wiring.
How does I2C identify different devices on the bus?
ADevices communicate at different speeds
BDevices use different wire colors
CEach device has a unique address
DDevices use different voltage levels
✗ Incorrect
Each device on the I2C bus has a unique address to distinguish it.
Which of these is NOT a typical use of I2C?
AConnecting sensors
BReal-time clock communication
CConnecting EEPROM memory
DLong-distance internet communication
✗ Incorrect
I2C is for short-distance communication, not for internet or long-distance.
What is a main advantage of I2C over SPI?
ANo need for device addressing
BUses fewer wires
CSupports wireless communication
DFaster data transfer
✗ Incorrect
I2C uses only two wires, while SPI needs more wires for multiple devices.
Explain why I2C is used in embedded systems.
Think about how devices talk to each other with fewer wires.
You got /4 concepts.
Describe the main benefits of using I2C compared to other communication protocols.
Focus on wiring and device connection advantages.
You got /4 concepts.
Practice
(1/5)
1. Why is I2C commonly used in embedded systems?
easy
A. It uses wireless signals for communication.
B. It requires a separate wire for each device.
C. It only supports one device at a time.
D. It allows multiple devices to communicate using only two wires.
Solution
Step 1: Understand I2C wiring
I2C uses two wires: SDA (data) and SCL (clock) to connect devices.
Step 2: Recognize multi-device communication
Multiple devices share these two wires, communicating by unique addresses.
Final Answer:
It allows multiple devices to communicate using only two wires. -> Option D
Quick Check:
I2C uses 2 wires for many devices [OK]
Hint: I2C uses 2 wires for many devices, not one per device [OK]
Common Mistakes:
Thinking each device needs its own wire
Confusing I2C with wireless communication
Believing only one device can connect
2. Which of the following is the correct way to describe I2C communication lines?
easy
A. Separate data and clock lines for each device
B. Only one wire for both data and clock
C. Single data line and single clock line shared by all devices
D. Wireless data and wired clock lines
Solution
Step 1: Identify I2C lines
I2C uses two lines: SDA for data and SCL for clock.
Step 2: Understand line sharing
Both lines are shared by all devices on the bus, not separate per device.
Final Answer:
Single data line and single clock line shared by all devices -> Option C
Quick Check:
I2C shares SDA and SCL lines [OK]
Hint: I2C shares one data and one clock line for all devices [OK]
Common Mistakes:
Assuming separate lines per device
Thinking data and clock share one wire
Confusing wireless with wired lines
3. You want to connect 5 sensors to a microcontroller using I2C. What is the main advantage of using I2C here?
easy
A. Each sensor needs its own data and clock wires
B. You can use only two wires total for all sensors
C. Sensors communicate wirelessly with microcontroller
D. I2C requires no addressing for devices
Solution
Step 1: Understand wiring for multiple devices
I2C allows multiple devices to share the same two wires: SDA and SCL.
Step 2: Recognize wiring advantage
This saves pins and wiring complexity compared to separate wires per sensor.
Final Answer:
You can use only two wires total for all sensors -> Option B
Quick Check:
Two wires for many devices saves pins [OK]
Hint: I2C uses 2 wires total regardless of device count [OK]
Common Mistakes:
Thinking each sensor needs separate wires
Assuming I2C is wireless
Believing devices don't need addresses
4. Consider this I2C communication snippet in embedded C: