📜 ⬆️ ⬇️

Experience of construction of a kopter: WLtoys V949 + MultiWii 2.0

Good day! I want to present to the attention of the community my small project of a mini quadrocopter based on MultiWii 2.0.

image

Lyrical digression or project history


Let's start with the prehistory, otherwise it will be very difficult to understand why the kopter turned out just the way it is.
In 2011, at the 5th year of university, I wanted to assemble my little robot just for fun, but the wheeled platform somehow did not attract, and it was decided to collect something flying. The easiest option then seemed to me a helicopter. But just to build a flying robot was not interesting, I decided to add it to my graduation project “the development of a remote control system for a moving object”.
')
Helicopter spec-list:
detailtitlelinkqty
platformFire Fox EP200www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=8938one
engine (BLDC)V2623-4500kv Heli Brushless OutrunnerN / Aone
regulator (ESC)HobbyKing Red Brick 25A ESCwww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=18003one
servo drive (servo)NoName 3.7gN / Afour
battery (LiPo, battery)Rhino 1050mah 2S 7.4V 20Cwww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=73072
Charger (memory)IMAX RC B3rctimer.comone
Transmitter (Tx) &
Receiver (Rx)
MSP-EXP430G2
430BOOST-CC110L
www.ti.com/tool/msp-exp430g2
www.ti.com/tool/430boost-cc110l
1 + 1
Gyro (Gyro)HobbyKing GA250 AVCS Gyrowww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=15318one

I was (yes, in other matters, and remain) a novice in the construction of such devices and therefore faced a number of problems, in particular, IMAX B3 turned out to be burning, and I had to solder my memory in an emergency mode (about it some other time). As a result, at the time of protection, oddly enough, I managed to assemble my own Rx / Tx system, but the helicopter itself turned into a long-term construction.

The graduation project was presented in the form of a stand: image

Here are marked: current shunt (1), ESC (2), Rx (3), power supply toggle switch (4), BLDC + tachometer (5), battery (6) and tachometer display (7). All this good was controlled by a nondescript type of program, which I planned to fly a helicopter. After a series of experiments with my improvised radio control equipment, I decided to temporarily put it on the shelf and buy specialized for my RC projects.

image

Hate!
Let's return to our charger. It went to me for 2 months, and it was too late to contact PayPal. However, due to my childish naivety, I wrote a request to RCtimer to return the money to me. They solved this problem fundamentally by removing IMAX B3 from its range, and with it, obviously, my comments.


Some time passed, the defense went off with a bang, everything went according to plan. It is time and honor to know! The following components were purchased / manufactured:
detailtitlelinkqty
Rx / TxTurnigy 6XS FHSSwww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=24903one
pinionCustommanufactured at the factoryone

So, I collected, set up, the key to the start ... Then everything is in a daze:

After analyzing the situation, I found out that the radio equipment was to blame, which after a couple of minutes after switching on, heats up a lot and stops working normally.
Hate!
I swore with HobbyKing for 2 months, I contacted PayPal, who replied that the seller would return the money to me as soon as I send them the package back. I sent it, it was another month, I received an answer from PayPal, saying that the package was gone and no one would return anything to me. It takes another 3 months, the package is returned to me (in the end, I paid 750 rub for everything about everything), to my reasonable question “who the hell is it?” The lady from my beloved Russian Post replied that “the recipient refused to take the package”. God decided to judge them, and I stomped on my way ...


Construction of the copter


One year has passed since recent events. I stopped to consider myself the most unlucky “pilot” in the world and bought the missing parts for my helicopter (including the new Turnigy RX7000S receiver). But I was not particularly interested in helicopters. At this time, I came across a very interesting material with Hackaday . Eyes lit up, and a new project was born!

Copter spec-list:
detailtitlelinkqty
platformWLtoys V949 BNFwww.banggood.com/Wholesale-WLtoys-V949-Beetle-RC-Quadcopter-Mini-UFO-BNF-p-57271.htmlone
Microcontroller (MCU)Arduino Pro Mini 8MHz 3.3vwww.ebay.com/itm/Redesign-Pro-Mini-atmega328-3-3V-8M-Replace-ATmega128-Arduino-Compatible-Nano-/200914924969?pt=LH_DefaultDomain_0&hash=item2ec77675a9one
Transmitter (Tx)Turnigy 6XSwww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=24903one
Receiver (Rx)Turnigy RX7000Swww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=28472five*
battery (LiPo, battery)Turnigy Nano-Tech 600mAh 1Swww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=203853
Avionics (Gyro, Acc)MPU-3050
MPU-6050
Brutally torn from WLtoys V949
see Hate! - spoiler below
one
2 **
Charger (memory)CustomHomemade (two varieties)2
AdditionallyTurnigy Voltage Booster for Servowww.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=11784one
* - how the first receiver broke - as described earlier, the second one broke from a short circuit (I am guilty), I bought 3 more, just in case, total - 5pcs.
** - two modules were ordered in different stores, at different times, read about the first one further, the second one is still on the way.

The advantages of this configuration, I think:

As a software platform, I decided to use MultiWii 2.0. In the end, the scheme of the apparatus has the following form:

image

The scheme is made in DipTrace 2.7.

In my humble opinion, everything must be understood here. This scheme almost completely copies the original “Connecting Diagrams” from the MultiWii website: www.multiwii.com/connecting-elements .
Interest, perhaps, will cause the layout of the board, here is its 3D model:

image

Although the fee (and the project as a whole), probably, is nothing extraordinary, I decided to share it with everyone: github.com/geovas/DCwii . The board is made using LUT technology:

image

But something bad was going to happen, right? One of the elements, namely the GY-521, was already broken after assembly!
Hate!
I asked the seller to send me a new headscarf in return for a defective one (after leaving him bad feedback). We agreed that I would correct the feedback, and at the same time I would order something else from him, and he would drop a new GY-521 into my package. The parcel arrived, but what was my surprise when I did not find the cherished detail in it! Well, another bad feedback (this time really angry). He offered to return the money and "was surprised" that I never received the item. I agreed, but he demanded that I first change my review. I, of course, did not agree. Surprisingly, this citizen of China, quickly disappeared from my horizon and never wrote to me again. Well, and the Lord is his judge!

And we continue, at the time of the gyroscope breakdown, the device looked like this:

image

The only idea that came to me at that time was to use the MPU-3050 from the WLtoys V949 control board. No sooner said than done:

It looks disgusting, but it works the same! In the photo below, the Frankenstein module is highlighted in red:

image

To date, I have ordered a new MPU-6050, however, it is still somewhere along the way.

Copter firmware


The last stronghold of resistance was MultiWii. Of course, I immediately found Fork for the 8MHz version of the Arduino Pro Mini , but I was surprised when I realized that it would not work with my configuration. In the end, I had to tinker. Here is a link to your Fork MultiWii 2.0: github.com/geovas/multiwii-firmware/tree/master .

The main features of my firmware are as follows:

After an uncountable amount of crashes (the benefit of the small copter turned out to be quite durable), I managed to set up the device. I tuned through MultiWii WinGui, which, like MultiWii itself, had to be doped under a 8MHz controller, but this is a completely different story.

I offer a small video of the first flight of the copter, how the good weather will get better (well, or snow will fall out) and try to launch it in nature.



PS
  1. Projects on GitHub will gradually develop, if you also build a rotor based on WLtoys V949 or a similar device, I will be glad to hear your suggestions and comments, as well as share your experience!
  2. Friends! If you find any errors or inaccuracies in my article, let me know immediately.
  3. If you do not like the "evil bet", do not hesitate - say. Their goal is to show the “honest process of building the apparatus” with all the difficulties with which I had to face and the important commandment of such projects - humility, because without it there would be no article. If such a frame is not a place in Habré, then so be it! Thank you for understanding.

Source: https://habr.com/ru/post/195846/


All Articles