If you are looking for the Chapter 8 content for the 2nd Edition of Exploring Arduino, please click here.
The I²C Bus
Parts List
- Arduino Uno
- USB A-B Cable
- Red LED
- Yellow LEDs (x3)
- Green LEDs (x4)
- 220Ω Resistors (x8)
- 4.7kΩ Resistors (x2)
- SN74HC595N Shift Register
- TC74A0-5.0VAT I²C Temperature Sensor
- Jumper Wires
- Breadboard
Code
Download Code (1st Edition, Chapter 8)
(Also available on GitHub)
Useful Links
- Arduino Wire Library Reference
- Temperature Conversion Formulas
- 74HC595 Shift Register Datasheet (PDF)
- TC74 Datasheet (PDF)
Errata
- In figure 8-8, the wiring to the right-most pin of the TC74 is incorrect in the book. It needs to be connected to 5V. The correct version is shown in the following colored wiring diagram.
Color Wiring Diagrams
Videos
Follow along with this video for a visual tutorial about the I²C Bus:
Watch a demo of the temperature monitor created in the chapter: