Introduction: Brushless Gimbal for Aerial Photography Drones
The cheapest of all BLGs on the market today (and readily available) is the GoPro BLG and Controller (Martinez v1) from RcTimer. Unfortunately that gimbal comes zero, zilch, nada instructions. Also there were some incorrectly machined parts. Hence building it can be quite a challenge. This Instructable is meant to fill this gap. Also it might give you enough pointers to design and build your own gimbal from scratch.
Testing of finished gimbal:
Timelapse video of the build:
Step 1: The Parts
Here's everything out of the package. There was one bolt missing. Be careful with the bag that contains the grub screws and C rings. They're really tiny.
Step 2: Build the Camera Cage
It's pretty simple, just bolt the pieces together.
Be sure that the grub screw holes both face forward. A GoPro should friction-fit in the frame pretty securely. Use Loctite on the screws or they might loosen and get lost quickly.
Step 3: Assemble the Outside Frame
Oops, a problem! The side mount bolt hole was not properly beveled, so the bolt does not fit through the hole with enough length to attach to the edge piece.
We drilled a bevel using a larger drill bit. That fixed the problem nicely.
Step 4: Install Pitch Motor and Bearings
Next, assemble the bearings. Careful with the little pieces!
We found a problem with the grub screw hole. It wasn't properly tapped, so we couldn't get the grub screw inserted all the way. After some debugging, we ended up switching the two sides, so the working grub screw was on the motor side.
The grub screw uses a 1.25mm hex wrench. It would be nice if RC Timer included one. They don't, so be sure and have one ready.
Step 5: Yaw Motor
Make sure you have the indentations properly aligned. Dry fit it together to make sure.
One of the tapped holes was a bit malformed, and the 3mm bolt didn't fit through. You can clean it out with a 3mm drill bit, or tap a 3mm bolt through the hole with a hammer a couple of times. As good as new!
Step 6: Build Mounting Arm
-Attach the yaw arm to the frame mount.
-Attach the 3mm nylon risers to the frame mount.
-And then attach the board to the risers.
-And attach to the bottom plate of the anti-vibration unit.
Stick the rubber anti-vibration grommets onto the top and bottom plates. Do this after attaching the bottom plate to the gimbal.
Step 7: Solder the Motor Wires
Soldering is pretty simple. Snip the wires and re-tin them with a generous portion of solder. Tin the motor pads. Put each wire on the corresponding solder pad, and touch the wire with the soldering iron, attaching the wire. If it takes more than a second you're doing it wrong. Note that since this is a three-phase motor, the order of the wires doesn't matter.
Later you can cover the soldered connections with hot glue for physical strength and to insulate the wires.
Step 8: Connect Everything for Testing
This picture shows the correct orientation of the IMU and the correct connection of the pitch and yaw motors. We did this all wrong at first (due to lack of documentation) and the gimbal did a Harlem-Shake instead of image stabilization.
Note that we were doing the power wrong! Don't use a 5V servo connection, use a 2S-4S battery. Be sure and watch the polarity. It may not be a bad idea to put a battery connector onto the board.
Step 9: Mounting the BLG and First Test
If everything was set up correctly the BLG should behave like this:
Step 10: Harlem-Shake
Step 11: Mount on Your Drone / UAV / Quad / You Name It...
My airframe of choice at the moment is the TBS Discovery. I bought the leg extensions to give me enough clearance for the Gimbal. Without the controller board stack there seems to be just enough clearance. The upper mounting point can be screwed directly to the bottom of the TBS Discovery frame at an existing mounting point. It needed a M3 screw that is just a bit longer. The vibration grommets are too soft for the weight of the GoPro. I filled them with silicon to stiffen them up. Other people have stuffed them with earplugs ;)
Step 12: Software Setup
I got my controller board to work out of the box without a firmware upgrade. The installed firmware is 0.48, however we could not get that version to talk to the 0.48 GUI. Mark managed to install 0.49 and that version talks to the GUI. But now we need to re-tune the PIDs. Below is the process for upgrading to 0.49:
Drivers
MAC: You are in luck! It seem like the correct driver is present without any additional action.
Windows: You are entering a world of pain. The auto-detection will install an incorrect driver that is hard to uninstall. Do not plug in the board without having downloaded the correct driver and then disconnect from the internet. These instructions seem to be very thorough and worked perfectly on my Windows 7 PC: http://www.rcgroups.com/forums/showthread.php?t=1872416
Required software
To build the software, you need two things:
- Arduino software environment: http://arduino.cc/en/Main/Software
- Brushless Gimbal software: https://code.google.com/p/brushless-gimbal/downloads/list
Build and install
Building and downloading the firmware is pretty straightforward:
1) install the Arduino programming environment.
2) load the gimbal software in the Arduino environment
3) ensure your configuration is correct:
- in Tools / Serial Port, be sure your USB port is selected
- in Tools / Board, Arduino Pro or Pro Mini (5V, 16MHz) w/ ATMega328
4) Upload (arrow icon in toolbar)
If everything works, you will get a message regarding memory size and a message that the new firmware has been uploaded.
You should now be able to connect with the 0.49 GUI and start tuning. Note: Com port must be 1-10 of the UI does not work. You can change the com port in the advanced settings using the device manager.
TO BE CONTINUED WITH PID SETTINGS...
Step 13: Connect Controller With RC
To frame the shots even better, the remote can be used to control the pitch and roll of the camera. In most cases only the pitch axis is of interest to tilt the camera down or up. You can either use the same remote and receiver that you use to control your drone, or more interestingly you can hook it up to a secondary system that is controlled by the camera man.
The sensitivity and the mode (absolute or proportional) of the RC input can be configured using the GUI.
Ports
A1 is for pitch axis (tilt camera up or down)
A2 is for roll axis
Pin Assignment
Bottom pin is ground (out-most on the board)
Middle pin is 5V
Top pin is signal
Step 14: First Flight

Second Prize in the
Drones Contest
38 Comments
7 years ago
I odererd this of ebay for £30, arrived in a couple days built, with frame, motors, gyro/ accelerometer sensor and controller board
7 years ago
"Note that since this is a three-phase motor, the order of the wires doesn't matter." Is that really true? My old gimbal motor got the wires pulled put, so I can just solder them on in any order right?
8 years ago on Introduction
Great read! Just referenced this resource on our 'Tips for Better Drone Photography' article here: http://dronelifestyle.com/expert-tips-drone-photography/
8 years ago on Introduction
Great instructable! So, where's the link to purchase the gimbal? It comes with everything together (frame, motors, controller, etc.) or gotta buy them separately?
10 years ago on Introduction
When you bought this, did the circuit board come with it? Or is that a separate piece that you bought?
Reply 10 years ago on Introduction
The controller and the gimbal are two separate items from rctimer. Please note that there are many different choices of vendors. Also people have used controllers from different sources with this gimbal. But rctimer was the cheapest and only ready-to-ship product at the time I ordered.
Gimbal
http://www.rctimer.com/index.php?gOo=goods_details.dwt&goodsid=872&productname=
Controller
http://www.rctimer.com/index.php?gOo=goods_details.dwt&goodsid=884&productname=
Reply 8 years ago on Introduction
Both links are incomplete... dead.
8 years ago on Introduction
It is a nice blog about brushless gimbal drone designing. Some new features can also add in these stabilizer for making it much more attractive. To enhance the quality of camera 3-axis gimbal seems effective. You can checkout following website for some ideas for drone
http://kumbacam.com/gimbals/kumbacam-3-axis-smartphone-stabilizer
8 years ago on Introduction
Are the brushless motors geared down? How do motors which are supposed to rotate fast and inaccurately have the ability to precisely control angle like that? Especially having to overcome magnetic cogging? Is there a small gearbox similar to that inside a servo which allow slower, more precise control for the feedback loop from the accelerometer sensor thing taped at the bottom?
Reply 8 years ago on Introduction
They're not geared; the accuracy is down to feedback. The motors are able to move relatively slowly and smoothly if given the apropriate signals; I belive that most motor controllers hard-switch the signals to the motors, wheras the signals generated by gimbal signals are far smoother, generating a good aproximation of a sine wave (if continuous rotation is required). The lack of brushes etc. allows for this smoother control. The feedback from the accelerometer generates the precision in the system.
The reason the motors are not geared it because the gimbal needs to be able to react fast, which is something ungeared BLDC motors are good at. Outrunners like those shown are also pretty torquey, which helps too.
8 years ago on Introduction
what is the relationship between eh rctimer and the arduino? I don't see any instructions to put this all together as far as the pins and the arduino and the rctimer relationship.. Sorry for the noob question.
10 years ago on Introduction
Noob here, sorry for stupid question. Is the controller board accept signals from receiver so we can change angle (tilt) when flying?
Thanks in advance.
regards
Yu Kion
Reply 10 years ago on Introduction
Yes you can! I added the instructions of how to do that as step 13 of the instructable.
Ports
A1 is for pitch axis (tilt camera up or down)
A2 is for roll axis
Pin Assignment
Bottom pin is ground (out-most on the board)
Middle pin is 5V
Top pin is signal
Reply 9 years ago on Introduction
Just started getting into RC so this is a noob question.
The rc transmitter has a ton of switches and dials. How do you choose the one to control the gimbal? Would it have to be a dial instead of a switch?
Im looking at this one: http://www.hobbyking.com/hobbyking/store/__8992__T...
Could you control it with the dials on top? I assume the transmitter labels what dials go with each set up pins on the reiceiver, then you would just plug the A1 port into the correct pins on the recicever. Right?
Reply 9 years ago on Introduction
Usually one would use a head tracker. That connects to the trainer port on the back of your radio. Hobbyking has some affordable head trackers (~$50) :D
9 years ago on Step 8
I'm a little confused about powering the board. Do I just hook up my copters 3s (~12V) Lipo battery straight to the leads on the board? Does the input voltage matter as long as it's up around 11-12V? Thanks in advance.
Reply 9 years ago on Introduction
Yup, it can handle the voltage. I believe it is 2-6 lipo support.
10 years ago on Introduction
Thanks this is a great tutorial. Though I found it after I had put the gimbal together. The biggest problem I had was connecting the board to the motors. I disagree that the order of the wires soldered to the motor doesn't matter. (it doesn't matter is regards to not breaking anything if the wrong order) We spent a long frustrating time connecting the motors, sensors to the correct ports and with proper orientations. If you could include a diagram that showed exactly the order to solder the cable to the motors. Which default orientation to connect to the gimbal motor outs, and which motor out is which (pitch, roll). It would make the process a lot clearer. You can change the motor assignments, in the software, but people really want as plug-n-go solution as possible.
I will give you top marks for the 'gotcha' not working mistakes as that helped a lot.
I have to say, that just for a couple of markings on the setup from RcTimer and diagrams on the Brushless Gimbal site, I could have saved a few hours for other things!
PS: Remember to balance the Camera first in the gimbal ;-)
Reply 9 years ago on Introduction
Replying to you directly, maninvan, hoping that you can help me with powering my gimbal. I feel like a newby, but I cannot find where to power the gimbal. I want to connect a 3S 11.1 v 1800 mAh lipo, but cannot find where to connect the power cables. I see an USB connector (but that is for testing and balancing, right?), some pins saying 5V and GND (but 5V is too little for powering the gimbal, right?) and a + and - pins. I tried that, but that doesn't work.Please help. THNX
Reply 9 years ago on Introduction
see http://code.google.com/p/brushless-gimbal/wiki/martinezcontroller if you are using the martinez controller. Is the connection that say AKKU 3S meaning LiPo 3S (don't connect the wrong way!)