If you are looking for the Chapter 10 content for the 1st Edition of Exploring Arduino, please click here.
The I2C Bus
Parts List
- Arduino Uno or Adafruit METRO 328
- USB cable (Type A to B for Uno, Type A to Micro-B for METRO)
- Half-size or full-size breadboard
- Assorted jumper wires
- 220Ω resistors (×8)
- 4.7kΩ resistors (×2)
- 5mm red LED
- 5mm green LEDs (×4)
- 5mm yellow LEDs (×3)
- SN74HC595N shift register
- TC74A0-5.0VAT I2C temperature sensor
Code
Download Code (2nd Edition, Chapter 10)
(Also available on GitHub)
Useful Links
- Arduino Wire Library Reference
- Temperature Conversion Formulas
- 74HC595 Shift Register Datasheet (PDF)
- TC74 Datasheet (PDF)
- Processing loadFont() Reference
- Processing textFont() Reference
- Processing fill() Reference
- Processing text() Reference
Videos
This video will teach you about the I2C Bus:
Watch a demo video of the “Temperature Monitor” project from this chapter: