Home > Projects > Video – Camera – Imaging Projects > Gimbal Stabilizer Project

Gimbal Stabilizer Project

Summary of Gimbal Stabilizer Project


Summary (under 100 words) This article describes building a DIY 2-axis motorized gimbal for an action camera using a 2-axis BGC gimbal assembly, Arduino Nano, joystick input, and a custom enclosure made from PVC pipe. It covers parts, wiring PWM/PPM from Arduino to the gimbal RX roll/pitch, uploading Arduino code to map joystick to servo outputs, tuning PID and motor power with Basecam BGC software, adding an ON/OFF and tilt-by-hand service via a switch, and assembling the handle enclosure and mounting hardware.

Parts used in the 2-axis DIY Gimbal:

  • 2 axis FPV BGC gimbal assembly (with motherboard)
  • 2 Lithium Ion cells
  • Arduino Nano
  • Joystick module
  • 3s JST connector cable
  • Custom PCB
  • Switch (or joystick module switch pads with soldered wires)
  • PVC pipe 1.5 inch diameter, 6.0 inch length
  • PVC pipe 2.0 inch diameter, 4.5 inch length
  • 1.5 inch diameter end cap
  • 2.0 inch diameter end cap
  • 1.5 inch to 2 inch PVC joint
  • M4 15mm self-tapping screws
  • Self-threading bolts (for mounting base plate)
  • Hot glue (hot glue gun)

How to Make a Gimbal

Learn how to make a 2-axis gimbal for your action camera

In today’s culture we all love recording video and capturing the moments, especially when you are a content creator like me, you sure have faced the issue of such shaky videos from time to time. So in this blog we will make a DIY version of motorized Gimbal

Step 1: Gather Required Parts for Gimbal

2 axis FPV BGC Gimbal assembly.

2 Lithium Ion Cells.

Arduino Nano.

Joystick Module.

3s JST connector Cable.

Custom PCB.

Step 2: Connections

Gimbal Stabilizer Project

We are using a 2 Axis BGC Gimbal Assembly which out of the box is functional as a Gimbal. But it is not exactly like a Commercial Gimbal since we need Pan Tilt motions. We need Services. We need to get input from user to get more creative. We can use RX- Roll and RX-Pitch pins to give Additional inputs to Mother Board of BGC, which would be done with the help of PWM / PPM signal. To generate PWM/PPM signal, we will use Arduino Nano as Controller and we will take Input from Joystick, which basically will be the controller interface hardware for our Gimbal. connections are basically 2 signal pins to Arduino and 2 Output pins to RX Roll and RX Pitch.

Step 3: Upload the Code to Arduino

First we will define the Pinouts for PWM output as Servo 1 and Servo 2

then, we will Define Input Outputs for Servo and Joystick at last, we will Map our Output in Correspondence to Input from Joystick You can find the Code here! code

Step 4: Software

Since we are using a 2 Axis BGC gimbal that comes with Motherboard and developers at basecam have did a wonderful job in developing a Software interface for this Hardware, you can download the software from this link

We need out Gimbal to be very smooth since it is a Hand Held Gimbal so we adjust the PID and Motor Power in Basics Tab of our Software.

Step 5: Additional Functions

Won’t it be amazing to add services like switching the Gimbal ONN and OFF, adjusting the Gimbal Position by hand. To achieve this task we can use Switch , which can be replaced by the switch on joystick module by soldering extra wires to the pad, and connect it to joystick module.

Also we will need to Open our Software, Under Services Tab, “Select 1 Click – Motor ONN / OFF”, “2 Click Set Tilt Angles By Hands”.

Step 6: Enclosure

Since I don’t have a 3D printer, many of us don’t have it so we will use PVC pipe along with few Joints and hot glue gun. I wish to make a handle like a selfie stick, which will enclose batteries and circuits inside.

we will need the Following Parts. 1.5 inch diameter pipe with 6.0 inch Length. 2.0 inch diameter pipe with 4.5 inch Length. 1.5 inch diameter end cap. 1.5 inch to 2 inch Joint.2.0 inch diameter end cap.M4 15mm long Self Treading Screws.you can find the above parts in local hardware shop. At last, use few self threading bolts and mount base plate of Gimbal to PVC surface and finally stuff everything inside

Step 7: Conclusion

Our 2 axis DIY gimbal looks and works just awesome, here is the side by side footage taken with and without a Gimbal from my Action Camera, and clearly the results are 100 times better! So guys I hope you enjoyed this simple yet effective DIY Gimbal build

Step 8: Schematics and Simulation

Source: Gimbal Stabilizer Project

Quick Solutions to Questions related to 2-axis DIY Gimbal:

  • What main gimbal hardware is used in this project?
    A 2 axis FPV BGC gimbal assembly with its motherboard is used as the main gimbal hardware.
  • Can I control the gimbal with a joystick?
    Yes, the project uses an Arduino Nano to read a joystick and generate PWM/PPM signals to control RX- Roll and RX-Pitch pins on the gimbal motherboard.
  • How are the Arduino outputs connected to the gimbal?
    Two signal output pins from the Arduino are connected to the RX Roll and RX Pitch inputs of the gimbal to provide PWM/PPM control.
  • What software is used to tune the gimbal?
    The Basecam BGC software is used to adjust PID and motor power settings via the Basics tab.
  • How do I add an ON/OFF and manual tilt function?
    A switch can be added (or soldered to the joystick switch pads) and configured under Services in the software: Select 1 Click - Motor ONN / OFF and 2 Click Set Tilt Angles By Hands.
  • What enclosure materials are suggested if I don't have a 3D printer?
    Use PVC pipe pieces, joints, end caps, hot glue, and screws to build a handle enclosure that houses batteries and circuits.
  • What battery connection is used for the gimbal?
    The project uses two lithium ion cells connected via a 3s JST connector cable.
  • Do I need to upload code to the Arduino?
    Yes, you must upload code that defines PWM outputs, joystick inputs, and maps joystick input to servo output signals.

About The Author

Scroll to Top