Move the servo motor to match the tilt of the head
Contents
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.