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...