Recall & Review
beginner
What is the I2C bus and how can multiple devices share it?
The I2C bus is a communication system that uses two wires: one for data (SDA) and one for clock (SCL). Multiple devices can share the same bus because each device has a unique address, allowing the master to talk to one device at a time.
Click to reveal answer
beginner
How do devices on the same I2C bus avoid communication conflicts?
Each device has a unique address. The master sends the address before data. Only the device with the matching address responds, so devices don't talk over each other.
Click to reveal answer
intermediate
What should you check if two I2C devices have the same address?
If two devices share the same address, they will conflict. You can change the address if the device supports it or use an I2C multiplexer to separate them.
Click to reveal answer
beginner
How do you scan for I2C devices connected to the Raspberry Pi bus?
You can use the command 'sudo i2cdetect -y 1' in the terminal. It shows a grid with addresses where devices respond, helping you find all connected devices.
Click to reveal answer
intermediate
Why is it important to use pull-up resistors on the I2C bus?
Pull-up resistors keep the SDA and SCL lines at a high voltage when no device is pulling them low. This ensures clear signals and proper communication between devices.
Click to reveal answer
What allows multiple I2C devices to share the same bus without interfering?
✗ Incorrect
Each device has a unique address, so the master can select which device to communicate with.
Which command helps you find all I2C devices connected to a Raspberry Pi?
✗ Incorrect
The 'i2cdetect' command scans the I2C bus and shows connected device addresses.
What happens if two I2C devices have the same address on the bus?
✗ Incorrect
Devices with the same address respond at the same time, causing communication errors.
Why are pull-up resistors needed on the I2C bus?
✗ Incorrect
Pull-up resistors keep the SDA and SCL lines at a high voltage level when no device is pulling them low.
What tool can help separate devices with the same I2C address?
✗ Incorrect
An I2C multiplexer allows you to switch between different buses, avoiding address conflicts.
Explain how multiple I2C devices communicate on the same bus without interfering with each other.
Think about how a mailman delivers letters to specific houses.
You got /3 concepts.
Describe what to do if two I2C devices have the same address and you want to use them on one Raspberry Pi bus.
Consider how to separate devices that look the same to the bus.
You got /3 concepts.
