O'Reilly logo

Arduino For Dummies by John Nussey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15

Multiplying Your Outputs with I2C

In This Chapter

arrow Discovering I2C

arrow Driving lots of servos

arrow Finding the right power supply

This chapter tells you all about working with I2C (pronounced eye-squared-see or eye-two-see), giving you another way to control lots of outputs. As an example of this great communications protocol, instead of just controlling LEDs (described in Chapter 14), you learn how to control an army of servo motors. With the potential to control hundreds of servos comes the need to power them all so this chapter also talks you through the various options when choosing a power supply.

What Is I2C?

I2C is a great communication protocol that is ideal for getting signals to lots of outputs (I also talk about other ways to control multiple outputs in Chapter 14). Luckily, I'm not the only one who thinks so. There's an excellent product that uses the I2C controlled PCA9685 chip, a PWM driver that lets you drive up to 16 servo motors with a single board. The 16-channel 12-bit PWM/Servo Driver (see Figure 15-1), I2C interface (http://www.adafruit.com/products/815) from Adafruit Industries is a partially assembled kit that makes it easy to control lots of motors, LEDs, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required