Arduino Camera Stabilizer DIY




I made a Camera stabilizer using arduino for a school project.

You will need :

1x Arduino Uno

3x Servo motor

1x Gyroscope MP6050

2x Button

1x Potentiometer

1x Breadboard

( 1x External power supply )

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1 : Building the Circuit

Connect the wires as following

( Notice Which servo is connected to which pin and which button is connected to which pin, since this will determine its function later on )

MP6050 :

SCL to Analog Pin A5

SDA to Analog Pin A4

INT to Digital Pin 2

Servo 1 : Digital Pin 9

Servo 2 : Digital Pin 10

Servo 3 : Digital Pin 11

Button 1 : Digital Pin 7

Button 2 : Digital Pin 8

Potentiometer : Analog Pin A0

Step 2: Step 2 : Code

before you use this code, make sure you have the right library's for the MP6050


this code will set it up so that 2 servo's will counter the rotations, and the 3rd servo will be controlled by the potentiometer. also it will add 2 buttons. button 1 which, when held, will stop the stabilizing process and make all the servo's return to their center position, and button 2, which will set a new orientation point. ( only use button 2 when button 1 is also pressed since else you set the current orientation location as a new orientation location. )

Step 3: Step 3 : Building

I have a template for a 3d model of the frame, with cut in holes for the servo motors and the servo heads to connect which you can download and 3d print. or you could use these configurations to make it out of another material, like wood ( make sure you don't use too heavy material, since the servo's will not be able to hold it up )

Arduino Case :

2x an 11 by 8 cm piece

2x an 8 by 4 cm piece

1x an 11 by 4 cm piece

Handheld base :

4x an 15 by 3 cm piece

1x an 3 by 3 cm piece

Arm 1 :

1x an 15 by 4 cm piece

1x an 12 by 4 cm piece

Arm 2 :

1x an 12 by 4 cm piece

1x an 11 by 4 cm piece

2 motor holders :

4x an 2.8 by 2.3 cm piece

2x an 2.8 by 1.3 cm piece

Step 4: Step 4 : Enjoy :D

You can now enjoy your self made camera stabilizer. If it locks up or starts glitching a quick reset on the arduino should be enough to get it running again.

I hope this was usefull in anyway and that you will enjoy the project you are working on! :D

Be the First to Share


    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    7 Discussions


    1 year ago

    You failed to mention what this thing is supposed to do. You should explain what it does and how it does it. Also, include a video that shows it in action preferably with sound track explaining what it's doing.


    Reply 1 year ago

    yup, i tried with the LSM6DS3 first, but couldn't get it to work


    1 year ago

    What about computing power of AtMega 8bit microcontroller? Is enough to get smooth movement? Can you show video shoot on this device? Maybe is better using a arduino due board.


    1 year ago

    Good idea. I want to see it in action.