This segment discusses the communication between the Arduino and connected devices via the I2C bus. I2C uses the Analog Pins 4 and 5 to communicate with I2C enabled devices. At this point you should be familiar with object oriented programming and the use of libraries. If not, watch the videos posted in Week 6 and the first segment of Week 7.Goals:

Understand the concept of serial communication.

Understand the I2C bus hardware setup.

Learn to use a 3rd party library on the example of the Arduino Kit I2C LCD display.

In-Class Project:

Use the I2C LCD display to show the distance measured by the proximity sensor. Use your own library for the sensor in combination with the provided I2C LCD library.

Materials for this segment:

Watch the videos on the right.

Use the Arduino sketch and the I2C LCD display library posted below the video for the In-Class Project.