intermediate

I2C and SPI: Talking to Chips

Connect sensors, displays and memory chips with two-wire I2C and four-wire SPI: how each bus works, addresses and the Wire library, pull-up resistors and rise time, scanning the bus, address conflicts, SPI modes, chip select and speed, comparing the two, and wiring and level-shifting for 3.3 V and 5 V devices.

65 min

I2C and SPI: Talking to Chips

Connect sensors, displays and memory chips with two-wire I2C and four-wire SPI: how each bus works, addresses and the Wire library, pull-up resistors and rise time, scanning the bus, address conflicts, SPI modes, chip select and speed, comparing the two, and wiring and level-shifting for 3.3 V and 5 V devices.

In this lesson:

  • i2c
  • spi
  • wire
  • pull-up resistors
  • chip select
  • spi mode
  • i2c scanner
  • sda scl
  • bus

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

Official References

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans