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 ...