Recall & Review
beginner
What is I2C and why is it used on the Raspberry Pi?
I2C (Inter-Integrated Circuit) is a simple communication protocol that allows multiple devices to talk to each other using just two wires. On the Raspberry Pi, it is used to connect sensors, displays, and other modules easily.
Click to reveal answer
beginner
How do you enable I2C on a Raspberry Pi using raspi-config?
Run the command
sudo raspi-config, then navigate to Interface Options > I2C, and select Yes to enable it. Finally, reboot the Pi to apply changes.Click to reveal answer
intermediate
Which files must be checked or edited to enable I2C manually on Raspberry Pi?
You need to check or edit
/boot/config.txt to add dtparam=i2c_arm=on and ensure the i2c-dev module is loaded in /etc/modules.Click to reveal answer
beginner
What command can you use to check if I2C devices are detected on Raspberry Pi?
Use
sudo i2cdetect -y 1 to scan the I2C bus and see connected devices by their addresses.Click to reveal answer
beginner
Why is it important to reboot the Raspberry Pi after enabling I2C?
Rebooting restarts the system and applies the changes made to configuration files and modules, ensuring the I2C interface is properly activated.
Click to reveal answer
Which two wires are used in the I2C protocol on Raspberry Pi?
✗ Incorrect
I2C uses SDA (data line) and SCL (clock line) for communication.
What command starts the Raspberry Pi configuration tool to enable I2C?
✗ Incorrect
The
sudo raspi-config command opens the configuration tool.Which file should contain the line
dtparam=i2c_arm=on to enable I2C?✗ Incorrect
The
/boot/config.txt file is used to enable hardware features like I2C.What does the command
sudo i2cdetect -y 1 do?✗ Incorrect
It scans the I2C bus number 1 and shows addresses of connected devices.
Why must you reboot the Raspberry Pi after enabling I2C?
✗ Incorrect
Rebooting applies changes and loads necessary modules for I2C to work.
Explain the steps to enable I2C on a Raspberry Pi using the raspi-config tool.
Think about the menu options and final step to apply changes.
You got /5 concepts.
Describe how to verify that I2C devices are connected and detected on the Raspberry Pi.
Focus on the command and what its output shows.
You got /3 concepts.
