Pan_tilt chasing a ball

视频教程6 - 追小球的云台:https://singtown.com/learn/49603/
视频教程24 - 追其他物体的云台(人脸、Apriltag、圆形等):https://singtown.com/learn/50053/
视频教程21 - 追其他物体的小车:https://singtown.com/learn/50041/

Download source

The source is all in github https://github.com/SingTown/OpenMV-Pan-Tilt/tree/master/pan-tilt/src

Material

You will need the following stuff:

  • OpenMV
  • 3D printed object (download in pantilt/stl)
  • Pcb fixed board(pantilt/eagle download)
  • Two tiny servos
  • A li bettery.

Wire

Wire according to the picture above.

Code

In /pan-tilt/src/ There are two files,

  • pid.py
  • main.py

According to Usage of module,save pid.p into OpenMV.

main.py can be open and run in IDE。

results matching ""

    No results matching ""