While the Raspberry Pi has very good support for an I2C bus, a lot of very cool chips – including the in system programmer for just about every ATtiny and ATmega microcontroller – use an SPI bus.
I2C makes connecting multiple sensors to a Raspberry Pi straightforward by sharing just two pins for communication. With proper setup, scanning, and coding, you can integrate dozens of devices on a ...