Skip to content

anamsigit/Camera-Auto-Track-use-Arduino-and-PID-Controller

Repository files navigation

Camera-Auto-Track-use-Arduino-and-PID-Controller

Tracking an object by servos, opencv implemented to PID controller with a distance bewteen center and frame and current object position as input

some higlight

ser = serial.Serial('COM9', 9600)  # Change the COM port to the one you use for Arduino

Make sure Python and Arduino can communicate properly; you can use serialcommunication.py for a quick check

Please use the up-to-date camera.py version, marked by the following number in the last name file.

Software include:

  • Python
  • OpenCV
  • simple_pid

Hardware include:

  • Camera HK-Vision
  • Computer
  • Arduino Uno
  • Servo
  • Pan-tilt servo tokopedia

ilustrasi see video

About

Tracking an object by servos, opencv implemented to PID controller with a distance bewteen center and frame and current object position as input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors