Presentation is loading. Please wait.

Presentation is loading. Please wait.

Displays and I2C(IIC) communications

Similar presentations


Presentation on theme: "Displays and I2C(IIC) communications"— Presentation transcript:

1 Displays and I2C(IIC) communications
CS-4540 Robotics - Lab 06 Displays and I2C(IIC) communications

2 I2C bus connected devices
I²C (Inter-Integrated Circuit), pronounced I-squared-C, is a synchronous, multi-master, multi-slave, packet switched, single- ended, serial computer bus invented in 1982 by Philips Semiconductor. It is widely used for attaching lower-speed peripheral integrated circuits to processors and microcontrollers (such as the Arduino) in short-distance, intra-board communication. Alternatively I²C is spelled I2C (pronounced I-two-C) or IIC (pronounced I-I-C). [*from Wikipedia: Here is a scanner program/sketch for finding the I2C address attached to the Arduino I2C port:

3 OLED I2C - SSD x 64 display Tutorial: D-128x64-I2C-display/ Will require making changes to the sample code and/or header file to run.

4 Location of sample code for the OLED display

5 OLED I2C - SSD x 32 display Use the tutorial and sample code for the previous 128 x 64 display. Change the sample code and/or header file to the 128 x 32 settings.

6 4 line LCD display Tutorial:

7 Running the 4 line LCD display
For these particular 4 line LCD displays use the sample code Version 1 section 2 labeled: Arduino Library (link from tutorial):

8 Lab assignment Display some 'Hello World' type of things on the OLED or LCD displays. Display a graphics logo [have to make your own]. What would be required to run the 128x64 and 128x32 boards at the same time?

9 Including this as a handy reference for the lab

10 References http://playground.arduino.cc/Main/I2cScanner
I2C-display/


Download ppt "Displays and I2C(IIC) communications"

Similar presentations


Ads by Google