Voltage Sensor on HK Megapirate Multiwii AIO board

On my old KK2.0 board there was an integrated voltage meter. On the new KK 2.1.5 board there is even a header for the voltage detection. But on my new HK Megapirate Multiwii AIO there is no voltage sensor integrated at all. It is very important to know the voltage of the battery pack, so I decided not to buy a voltage sensor, but instead to build my own. I used a simple electric circuit of two resistors, a voltage divider. Very useful for me was this page: http://www.multi-rotor.co.uk/index.php?topic=3144.0

So I used this two resistors R1=110 kohm and R2=47 kohm (You can use resistors with other values, important is the ratio R1/R2). I also find this webpage very useful. After about 10 minutes and some soldering my voltage divider was ready. I connected it to the analog Pin0 on my Megapirate AIO and enabled the voltage sensor in Mission Planner. Then I needed to calibrate the voltage sensor. I used this very good manual on the ArduCopter official webpage. That’s it. Now I can check the voltage of my battery during flight using the Droid Planner 2 app on my smartphone.

IMG_8200IMG_8201IMG_8203

ArduCopter connecting with DroidPlanner 2 (Android)

In in one of my previous posts I described how to connect my MultiWii And Megapirate AIO board with Mission Planner over Bluetooth. As I don’t want always to have my laptop when flying, but always having my HTC One X (running Android 4.2.2) with me I tried to connect the ArduCopter (the MegaPirate version of it) with my HTC over Bluetooth. I searched the Google Play Store for Droid Planner and installed it. But I always got an error “DroidPlanner has unfortunately  stopped” as I tried to connect over Bluetooth. So I searched again and happily find the new version of DroidPlanner. It is totally new and very good looking. Great job and my admits to the developers. And with this new version I don’t need to do the trick as in Mission Planner first clicking on “Connect” and then connecting the power supply to my Bluetooth-module.

DroidPlanner2  DroidPlanner3  DroidPlanner4  DroidPlanner5

How many amps (A) draw a flight controller and/or a receiver

Today I saw a question on the hobbyking.com if the BEC of an Afro 30A ESC could power the famous KK 2.1.5 flight controller and a receiver. The BEC of the Afro ESC is rated for 0.5A. But on the Hobbyking site there was no information how many amps the KK 2.1.5 and a connected to it receiver draw. So I take my Turnigy Watt Meter and measured the current to my KK board, receiver and my HK Multiwii and Megapirate flight controller. Here are the results:

KK 2.1.5 / KK2.0 board 100mA = 0.1A
HK Multiwii Megapirate AIO 100mA = 0.1A
HK Multiwii Megapirate AIO with Ublox GPS 180mA = 0.18A
FrSky 8CH 2.4G Receiver 100mA = 0.1A

 

The answer of the question: Yes the integrated BEC of the Afro 30A ESC can power the KK board (or the HK Multiwii AIO board) and a receiver, as both draw 0.2A.

Quadcopter after the crash

Today I had some awesome moments flying aggressively my quadcopter. However it crashed… or to be more clear: I crashed it. Here is a picture of my quadcopter after the crash. Time to start developing more durable frame 🙂

IMG_8148

Сбърканият бизнес модел на Facebook

През изминалата 2013 година за пръв път забелязах платените популяризирани реклами във Facebook. Не става въпрос за тези, които се намират в дясно от вашия News Feed, а  за тези в самия него. Днес докато разглеждах един блог за Radio Control, се натъкнах и на интересен пост с две видеота, за това как Facebook печели пари. С други думи как функционира бизнес модела на Facebook. За мен лично беше интересно да науча, че има хиляди хора в развиващите се страни на които се плащат смешни суми за да like-ват страници във Facebook. Сега след като ги изгледах, вече имам сериозни съмнения за успеха на този тип бизнес модел и стойността на компанията и акциите и за в бъдеще.

Facebook Fraud

 

The Problem With Facebook

Via

Connecting Mission Planner over Bluetooth

I am using the MultiWii and MegaPirate AIO board (Crius clone) on my quadcopter since a few weeks. I had also a Bluetooth Module HC-05, which I bought for some Arduino projects. I wanted to connect the Mission Planner with my QuadCopter over Bluetooth using this module. I tried and followed the guides on Internet, but without success. Even the tip with first clicking the “Connect” button in Mission Planner and then powering on the HC-05 Bluetooth module didn’t helped me.

I did all the things right: Changed the default baud rate of my HC-05 with AT-Commands to 115200. In my APM_Config.h defined the baud rate of Serial0 to 115200. Connected and paired it with my PC. In Mission Planner chose the right COM port and the right baud rate of 115200. Without success… every time I tried to connect, I became “Getting Params” and then a “Connect failed” in Mission Planner.

ConnectingMavlinkConnectingMavlinkFailed

Today I became another tip on a Bulgarian Hobby Forum: Not to use the Serial0 port, but the Serial3 port of my flight board. I defined the Serial3 port baud rate in my APM_Config.h, flashed it and connected the Bluetooth module with the Serial3 pins and for the GND and 5V with the Pins for the Camera Shutter.

IMG_8137_AIO_PIN_Bluetooth

Then I used the tip with first clicking the “Connect” button and connecting the power to the module, when the Mavlink Window appear on the screen. Few seconds and it WORKED. Problem solved. I still don’t know, why it don’t work over Serial0, but I am happy, that I can use my HC-05 Bluetooth with Mission Planner. So thanks again to the guy, that gave me this tip!

Update 21.04.2014: Here you can read on how to connect with the App DroidPlanner 2 over Bluetooth.

Update 01.05.2014: Mission Planner was updated to version 1.3.1. Since then you don’t need the trick with first clicking “connect” and then actually connecting the Bluetooth module anymore.

Quadcopter with MultiWii running on Arduino Uno

Last week I posted an article on how to connect all the parts you need for a quadcopter. I used my KK2.0 flight board for a while. Last month I bought an MultiWii and MegaPirate AIO board and I use it now on my quadcopter. But today I wanted to test if I can use my Arduino Uno with a Chinese GY-86 IMU for my quadcopter-build. All you need are the essential quadcopter parts and: Arduino Uno, IMU (with MS5611, HMC5883L and MPU6050 sensors) and some cables. You can also use Arduino Nano or Arduino MEGA board, as well an IMU with only an MPU6050.

Arduino UnoGY-86 IMU

All you need to do: connect all the quadcopter parts as previously described without the flight board (you want to use the Arduino as flight board). Remove the propellers from the motors for safety reasons. Connect the receiver (RX) and IMU to the following pins on your Arduino Uno:

IMG_8134_RX_IMUIMG_8134_ESC

You also need to connect the tiny cables from your ESCs to the Arduino Uno. The cable from ESC Nr. 1 will provide the Arduino board with power. So you need to connect not only the signal cable (yellow) but also Ground (brown) and Positive (red).

IMG_8125IMG_8126

Once you have done all these connections you need to install the MultiWii firmware on your Arduino Uno. To do this download the latest MultiWii firmware.

Unzip the file and open the MultiWii.ino file from the MultiWii folder. As stated in the MultiWii manual you need to define some lines in the config.h tab in your Arduino software. Then upload the sketch on your Arduino Uno (this must be connected to the USB port of your PC and not to the battery of your quadcopter).

Start the MultiWiiConf.exe from the MultiWiiConf folder. Select the right COM port, click connect and then start . If everything is connected right, you should see a graphic of your quadcopter moving, when you move your quadcopter. If you want to change some of the numbers, do this: move the mouse cursor over the number you want to change, click and slide. Once you have done this, disconnect from the USB port, turn on your transmitter, connect the battery and do some test without the propellers to check if all motors spin in the right way. That’s it!

If you need more information visit the official MultiWii website. You can find additional information, on how to install MultiWii on other Arduino boards. Have a fun with your copter and if you liked my article, feel free to share it :).

Update 09.06.2015: Although it is great fun using an 8bit Arduino with MultiWii as a flight controller, there are better and cheaper 32bit flight controllers using the MultiWii firmware too. The two big competitors for now are Naze32 and CC3D.