O'Reilly logo

Android Things Projects by Francesco Azzola

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

Controlling a servomotor in Android Things

Before using the PWM it is important to know how to connect a servo motor to an Android Things board. In this project, we will use only Raspberry Pi 3 because it supports a camera; anyway, you can connect the servo to Intel Edison with Arduino breakout too. The following diagram describes the connections:

The following is an image of the Raspberry Pi3 connected to the servo:

Usually, a servo has only three wires:

  • The power signal that depends on the type of motor (usually between 3.3V and 5V)
  • The ...

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