Slide 1

Slide 1 text

I2C basics Munich Arduino Meetup June 2015

Slide 2

Slide 2 text

Communication between Master and Slave http://www.robot-electronics.co.uk/acatalog/ I2C_Tutorial.html Master

Slide 3

Slide 3 text

Temperature http://hackaday.com/2009/01/02/parts- i2c-digital-thermometer-tc74/

Slide 4

Slide 4 text

Example: EEPROM + clock + display http://embedded-lab.com/blog/?p=2583

Slide 5

Slide 5 text

AVR + EEPROM http://www.embedds.com/programming-avr-i2c-interface/

Slide 6

Slide 6 text

I2C with bus pirate http://hackaday.com/2014/12/27/learning-i2c-with-the-bus-pirate/

Slide 7

Slide 7 text

The I2C Learning Shield http://i2c-learning-shield.divshot.io/ U3: Atmel: AT30TS750A (temperature sensor) U8: Microchip: MCP7940N (RTC) U7: Microchip: MCP3008 (ADC) U6: Adesto Tech: AT25SF081 (Flash) https://github.com/rheingoldheavy/I2C-Display-Thermometer https://github.com/rheingoldheavy/I2C-Display-Clock

Slide 8

Slide 8 text

Some more devices http://www.ladyada.net/library/i2caddr.html

Slide 9

Slide 9 text

For learning: Bit banging http://hackaday.com/2013/08/11/bitbanging-i2c-by-hand/

Slide 10

Slide 10 text

Basic Signals 1. SCL: For timing and synchronization 2. SDA: For address and data https://rheingoldheavy.com/i2c-signals/

Slide 11

Slide 11 text

https://rheingoldheavy.com/changing-the-i2c-library/

Slide 12

Slide 12 text

hacking time