obniz Blog
This blog is an archive of past articles. For the latest updates, visit iot.obniz.com.

Move the servo motor to match the tilt of the head

(Updated2020.05.01)AI / Deep LearningParts Example

日本語で読む →

Make things

When you tilt your head, you move the servomotor in the same direction.

Materials

How to make

Hardware connection

Connect the servomotor to the obniz board with reference to the servomotor library.

obniz servo motor
0 GND
1 VCC
2 signal

Software

To detect the tilt of the program head, we use a machine learning library called PoseNet in TensorFlow.js.

Reference Site

Program