Control Pan Tilt With The Keyboard Using A Raspberry Pi

About the project

I am controlling a Pan Tilt mechanism which uses 2 micro servos. Control is by ssh using the arrow keys.

Project info

Difficulty: Easy

Platforms: Raspberry Pi

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Raspberry Pi 4 Model B 1GB, 2GB, 4GB or 8GB RAM Raspberry Pi 4 Model B 1GB, 2GB, 4GB or 8GB RAM x 1
Mini Pan-Tilt Kit w/o Micro Servos Mini Pan-Tilt Kit w/o Micro Servos x 1
TowerPro SG90C 360 Degree Micro Servo TowerPro SG90C 360 Degree Micro Servo x 1

Story


  • I am controlling a Pan Tilt mechanism which uses 2 micro servos sg90.
  • Control is by ssh using the arrow keys.

Instructions are on my github


Schematics, diagrams and documents

Simple connections

External Power Supply

CAD, enclosures and custom parts

Pan Tilt

Code

Python Code

Github

Instructions here

Credits

Photo of lilberick

lilberick

I like Free Software and Open Hardware.

   

Leave your feedback...