This post explains the different steps necessary to use a MultiWii compatible board for two axis servo-based stabilization. Many people try to make projects that require stabilization and don’t really want to have to worry about programming; fortunately MultiWii comes to the rescue and helps you get
Just building my servo gimbal as instructed about. I have printed my gimbal parts and all works well. My question is this, it there any way of having the tilt adjustable? I want to replicate the gimbal stability with be ability to manually tilt the camera.
Hi to manually adjust tilt, on the last image Multiwii -gimbal .I you slide the mid adjustment all the way to the right it then changes to give input ,ie Thr .Rud … aux1 these can be used to control the gimbal . I have not tried this on the MultiWii_2_3 – MPU6050 – Gimbal – 23-10-2014 program but it works on all the other multiwii 2.1-2.3
Hi, any multiwii board can work as a servo gimball controller, i have: Multiwii and Megapirate AIO Flight Controller w/FTDI (ATmega 2560) V2.0 board…and the software works with this board?
@CARLOS S
There are no special software involved here. The MultiWii project already have options for servo controlled Gimbal. The file, however, posted here are setup for that board specifically and might not work with your board. You will need to define your board in Config.h.
Salut Eric,
I am looking to control some ESCs as servo controllers. I have a multiwii, ESC, brushless motors but I want to use encoders for position feedback instead of an IMU.
Do you know if it is possible?
I tried following this: http://www.multiwii.com/forum/viewtopic.php?f=7&t=2897&start=40 but it seems no conclusion was drawn for servo control with encoder…
Hi Jonathan,
Brushless gimbal use special drivers (ESC) and motors as it require a special KV winding to be able to make the motor move that slow with torque.
Using MultiWii might not be the best way since it’s not made for that purpose. You would have to modify the code for your specific application.
You might want to take a look at this post we found online:
But I am not sure what to select on the drop down for board types, the one you show does not show up on my mac version of Arduino. I chose Arduino Mini but it did not work.
Any ideas? Also how do I know which Port to choose?
Hi Eric,
I’ve tried to test my 3d printed gimbal powering the board from an USB port and since them my multiwii board doesn’t work anymore. Neither the arduino IDE nor multiwii GUI is seen it anymore. Can you figured what could’ve happened ? What is your wild guess about the damage part ? The board itself or the FTDI ? The blue led are blinking wildly and at the FTDI side only the TX led blinks. Thank you and sorry my poor english.
@Junior For troubleshooting, it’s best to contact us via the RobotShop Support Center here: [email protected] if you can provide your order number and this text again it would help. Sorry for any inconvenience.
@mahmoud, Using MultiWii to do such task seems to be a bit overkill. You could use the suggested board and create your own Arduino code which will send a PWM signal to all four ESC’s based on an Analog input (potentiometer). This would be better than trying to hack the MultiWii code to do it.
@mahmoud, There are not code specificaly made for this application but it involve driving all 4 PWM output like a R/C servo and acquire an Analog value to be translated in this PWM.
Hey there, I’ve got several servo gimbal mounted PT cameras as well as several arduino boards, micro mini mega uno as well as an 9dof board some ble boards a magnetometers and a few various HMDs , being an avid enthusiast of both RC vehicles(cars and drones mostly) and of surveillance especially remote platforms. So the afformentioned equipment, along with loads of vtx vrx monitors DVRs antenna etc was purchased with the idea of head tracked servo gimbal control but I have been unable to find any projects either closed or open source that offer such functionality. So my question is, can your code be modified to accept the positional telemetry from the magnetometers or 9dof via ble or 900/2.4/5.8ghz signal to then control the servo motors to adjust to the angle of the hmd with the magnetometer, I.e. a remote head tracking system fr servo based gimbals…
I do hope I made sense, and I also hope that you guys can help me solve my problem, I’ve had most of the equipment for over a year and if o can do something with it soon, my wife threatens to trash it all, and we’re talking 20-25,000$ easy, not to mention my own heartbreak
Hi AGWoo,
The code behind this blog is MultiWii which is a flight controller firmware based on Arduino controllers. There are a lot of different hacks to that code but it still remain a flight controller.
Here is a nice project about head tracker with opensource code:
DIY Headtracker (Easy build, No drift, OpenSource)
Google Code - open-headtracker