HobbyKing.com New Products Flash Sale
grmis's blog
Posted by grmis | Jul 02, 2014 @ 05:21 AM | 3,004 Views
This is a simple DIY vibration-meter. It measures the amount of vibration on your machine (multirotor, etc.) and can help balancing your propellers, your motor, or to test the efficiency of some damping system, for instance.

It is based on a cheap analog 3-axis accelerometer breakout (with MMA7361 chip), an Arduino and an I2C-LCD display. The schematics is very simple, no external component is needed. I used an Arduino Nano, but an Arduino pro-mini or Uno (5v/16MHz) would work too.

The Arduino code performs some filtering in order to keep only the oscillating part (above a few Hz). NB: the associated time constant, c1 and c2 can be channged if needed. The LCD displays the amplitude of the oscillations/vibrations, in g.

When the system is "at rest", it show values around 0.009, which corresponds to some "noise" (from the sensor and/or the ADC). As soon as you gently hit the table you will see values around 0.02. So it seems quite sensitive. When stuck on a poorly equilibrated multi-rotor arm you will find values arounf 0.5, or worse.
One could of course use a more accurate digital accelerometer, but the analog MMA7361 is enough for the kind of vibration analysis I had in mind, and
the breakout board costs less than 2 euros (shipped from China) on eBay.

Remark: By shaking it vigorously you can switch on and off the LCD backlight (a trick to avoid putting a button)

The accelerometer sensor is quite light, so it can be taped on the system...Continue Reading
Posted by grmis | Mar 26, 2014 @ 11:42 AM | 2,844 Views
Hi.
My (first!) FPV quad is now flying relatively well, so let me present its detailed configuration. Comments or questions are welcome !



Frame: SK450 + dead cat conversion (Hobbyking). I did not used any distribution board -- power cables are just soldered together.
Motors: Sunnysky 2212 980kv (eBay)
Props: Gemfam plastic 10*4.5 (eBay) EDIT: now carbon 9*5.5 (from HK, see pictures a few posts below)
ESC: F30A (Hobbyking) flashed with SimonK firmware (I used the KKMulticopter Flashtool).
Lipo: Turnigy 2200 mAh 3S

Flight controller:
- Crius AIO v1 [clone from Hobbyking in fact]
- Software: MegapirateNG 3.01 R2. http://www.megapirateng.com/
- GPS: uBlox Neo-6 (Hobbyking).
- Working modes: STAB / ALT-HOLD / LOITER / RTL. EDIT: + RTL on failsafe [I can turn off the radio in flight!]
- Installed on a "vibration absorbing" mount with 50g balls (Hobbyking). Doing so turned out to be crucial to have a descent alt-hold.
Radio link & telemetry:
- FrSky, D4R2-II receiver in PPM sum mode (->single cable to flight controller).
- PWM analog RSSI output of D4R-II is connected to the flight controller (input A2) via low-pass filter (5kOhms+10uF). Thanks to this, the radio RSSI is visible in the goggles. This is nice to be sure I do not screen the transmitter antenna with my body while flying FPV.
- An Arduino pro mini converts and transmits the MavLink data from the flight controller to the FrSky receiver. With this, the
...Continue Reading
Posted by grmis | Jan 09, 2014 @ 08:24 AM | 3,360 Views
Since I have some trouble to set up the governor mode of my YEP-40A ESC... I thought that it would be nice to build a cheap & simple RPM (headspeed)-meter for my HK450 heli, using the FrSky telemetry [D4R-II receiver & FLD-02 display, but without the FrSky sensor hub]. This has probably be done by someone else before (?), but let me detail how it works anyway.

A tiny neodymium magnet is glued into a hole drilled in the auto-rotation gear. The passing of the magnet is probed by a Hall effect sensor [ref: A3144, 10 for less than 3$ on ebay].

The output of the the Hall sensor is connected to a digital input D3 of an Arduino Pro mini controller [5v/16MHz version, less than 4$ oneBay] (+ pull up resistor). The Arduino detects a pulse each time the magnet comes in front of the sensor (through an ISR interrupt). It measures the time elapsed between consecutive pulses, and therefore can compute the RPM. NB: At 3000rpm there are "only" 50 pulses per second, and the Arduino has plenty of time to do other things if needed.

The result is sent by the Arduino to the FrSky receiver via a serial line (digital pin D2 & "SoftSerial" library).

Some remarks about the hardware:
- Putting the magnet on the autorotation gear seems better than on then main gear, because then one can see the RPM even when the motor is not running (useful for bench tests, or during real "autos").
- Because the magnet (diameter 2mm, height 2mm, N35 grade) is so...Continue Reading
Posted by grmis | Nov 24, 2013 @ 12:55 PM | 3,466 Views
Here is my new bird. The frame is a Flybarless HK450 pro TT v2 (Hobbyking) with a few upgrades from Tarot or Align.
Detailed setup:
- Cyclic servos: 3dPro DS415MG (from rc711)
- Tail servo: TGY 316MG (Hobbyking)
- Gyro: TGZ 380. I bought it on eBay for 60$ shipped (August 2013), but it seems that it can now be found for less than 40$ . So far, in the setup/menus, I could not see any difference with the beastX v3.
Here is the thread dedicated to this gyro.
- ESC: YEP 45A (Hobbyking).
- Receiver: FrSky D4R-II in PPM mode (with telemetry monitoring the BEC voltage, the 3S Lipo voltage, and RSSI)
- Motor: 3400kv, unknown model (I bought it second hand). I would be interested to know the model or brand of this motor, so if someone recognizes it, please tell me ! EDIT: it is an NTM 3400KV 3s heli motor sold by Hobbyking (thanks ridge_racer).

I did only one short flight so far, just hovering, but everything looks ok ;-)
Posted by grmis | Jul 13, 2013 @ 04:09 AM | 7,519 Views
Here is a simple & very cheap DIY RSSI video diversity. It is based on an Arduino Pro mini (less than 4$ on eBay) and the following video switch from Hobbyking:

http://www.hobbyking.com/hobbyking/s..._Switcher.html (less than 6$)

One advantage of using this video switch is that almost no external component is needed. The video switcher is supposed to be connected to an RC receiver, but here the PWM signal needed to select the video source is generated by the arduino. I just added one push button to select one particular receiver, or the automatic mode (the one with best RSSI), as well as a 2 leds to indicate which receiver is actually selected, and what is the RSSI level (bar with 5 leds). This can obviously be extended to 3 receivers instead of 2. The system is powered by 5v taken from (inside) one of the receiver (here the 12-channel VRX sold by HK, 0.9-1.2GHz). I am using one ground plane antenna on receiver #1, and a patch antenna on the other (both from IBcrazy's design). I confess that I have not yet used this in the field... but on the bench everything looks ok

If needed (?) I could post the detailed schematics & arduino code.

Warning: some labels on the video switcher are incorrect ! Remove the cover to see the correct pin labels on the PCB.

EDIT (July 26th): I have done a few test flights with this diversity system and it works . I however noticed that some care is need to calibrate the two RSSI levels, even though the two video receivers are (in principle) identical. Their RSSI levels seem to differ a little bit and this must be take into account in the arduino code. I may add a potentiometer to be able to adjust "manually" some bias in favor of one receiver/antenna or another (at present I have to change the calibration parameters in the code -- which is not very convenient if you are on the field).
Posted by grmis | Jul 08, 2013 @ 05:05 AM | 3,701 Views
Hi,
Here is a video of my first attempt to fly with someone else doing FPV :
FPV duo: Dynam Hawk Sky following a Swift wing (3 min 0 sec)


Detailed setup. There are a few new things (highlighted in red) compared to my previous video:

- Plane: Dynam Hawk Sky / 2400kv motor [Hoffmann magnetics] & 6x3 prop / Turnigy Plush 40A ESC / 2200mAh 3S turnigy nano-tech.
- Flight controller: CRIUS AIOP v1 (HK clone in fact) + ArduplaneNG r303 + minimOSD (extra 2.2)+ uBlox Neo6 + Airpseed sensor (used for autonomous nav. modes, such as loiter or RTH).
- Video TX : 900MHz / 200mW. Antennas: DIY inverted-V & ground-plane (video link is ok up to ~1 km at least)
- Camera: Sony 600TVL CMQ1993X (from sc2000, with IR filter), 2.5mm lens.
- RC RX: 2.4Ghz FrSky D4R-II in PPM mode, PWM RSSI connected to the CRIUS board through LC filter (& displayed in the OSD). Although I think I have calibrated it correctly, you can see that the RSSI indication sometimes still shows " 99% " at a few hundred meters
- Recording (on ground): SD DVR from Hobbyking. Initially I was very disappointed by the video quality of this DVR, due to huge & numerous artifacts. Then I realized that it was a codec/viewer problem: I switched from VLC under linux to media play under windows, and now the quality is much better
- Remark: During this flight I learned that in FBW-B mode with ArduplaneNG, the elevator is inverted (thanks mkuvy).

Same flight seen from the other plane (Swift wing) :
Premier DUO FPV (2 min 9 sec)

Posted by grmis | May 17, 2013 @ 04:41 PM | 9,393 Views
Hi. Here is a video of one of my first test flights with video + CRIUS AIOP flight controller with ArduplaneNG software :
RTL with Crius AIOP+ArduplaneNG+minimOSD on Dynam Hawk Sky RC plane (5 min 14 sec)


- Flight controller: Crius AIOP v1 (Hobbyking clone)
- GPS: uBlox NEO-6M
- Firmware: ArduplaneNG (r300).
- Airspeed sensor MPXV7002DP + pitot tube from jDrones (airspeed shown on OSD but not (yet) used for navigation)
- OSD: minimOSD (extra 2.2).
- Plane: Dynam Hawk Sky / 2400kv motor & 6x3 prop / Turnigy Plush 40A ESC
- Video TX : 900MHz / 200mW
- Antennas: DIY inverted-V & ground-plane antennas
- Camera: 420TVL board camera (cheap...). 2.5mm lens
- RC RX: 2.4Ghz FrSky D4R-II in PPM mode
- Video recording (on ground): Easycap USB + Netbook + VirtualDub
Posted by grmis | May 01, 2013 @ 10:41 AM | 11,236 Views
As many people, I fried two minimOSD [switching regulator version] ... This is the faulty setup:

- 3S lipo connected to an ESC with BEC. The 5v output powers my flight controller (CRIUS AIOP) and the digital side of the minim OSD.
- The video power of the minim OSD was connected directly to the 3S Lipo (~12v).
- This worked for some time, but then, the MAX7456 chip died during tests (Atmet chip still ok, but no video output).
- The cause is still not completely clear to me... However, the Maxim data sheet says that there should be not more than 0.3v difference between the digital and analog grounds. Since I used a single battery, the two grounds are connected (via the lipo, the ESC and the CRIUS board) but when you plug/unplug it could be that there is a transient voltage difference exceeding 0.3v ?

- Anyway, you can ask for some free 'sample' MAX7456 chip on Maxim's web site (for test/evaluation purposes) to repair a fried OSD .
This is how I did it:

0) Check that the Atmel chip is ok by connecting your (dead) minimOSD board to the configuration software.
1) Remove the Max7456 chip, cutting the leads with some hobby knife (no special soldering tool needed).
2) With a small iron tip, remove the small pieces of leads left on the board. Check that you did not shortcut two neighboring pads.
3) Solder the new chip - a magnifying glass helps. This is the slightly delicate step if you are not too familiar with soldering. I did it without flux, but it is probably better to use...Continue Reading
Posted by grmis | Apr 17, 2013 @ 05:10 PM | 9,217 Views
Hi,
Let me share this cheap and simple barometric altimeter. It is largely based on this altimeter (by KapteinKuk), except that it uses a cheaper BMP085 sensor, and the altitude is sent to the ground via an FrSky telemetry link. It also sends the time from start, the current temperature and the max. temperature. All these data appear on a FLD-02 telemetry screen for instance. A lot of informations concerning the FrSky serial telemetry protocol (including links to several arduino codes) can be found on this thread.
And here is another similar project: OpenXVario.



To get a reasonable accuracy, the arduino code makes the average of 10 consecutive measurements and sends the results every 300ms. The accuracy seems to be of the order of 1~2m. This can be made more accurate by taking more, say 30, measurements and sending the result once every second (conversion time is about 30ms).

Here is the code:
Code:
#include <LiquidCrystal.h>

// Author: Grmis, 04/2013
// Arduino Pro Mini 3.3v connected to BMP085 barometer breackout
// throught I2C
// Arduino connected to 'RX' line of FrSky D8R-2 receiver
// through digital Pin (use SoftSerial with inversion)
// Although the arduino is 3.3v, it seems that the 5v receiver understands it :-)

// code based on the original codes by:
// Rolf R Bakke
// R.Schlohan
// BMP085 Extended Example Code by: Jim Lindblom (SparkFun Electronics)


#include <Wire.h> // I2C to communiucate with the sensor
#
...Continue Reading
Posted by grmis | Mar 25, 2013 @ 07:25 PM | 5,670 Views
Two days ago I did the maiden flight of my autopilot system:

- Plane: Dynam Hawk Sky
- Flight controller: CRIUS AIO Pro (v1, first batch sold by HobbyKing)
- Software: ArduPlaneNG (r268). I found a lot of useful informations on the blog of Jean-Louis Naudin.

- For the PID parameters, I took those given here for the bixler. However, because the plane is somewhat overpowered, I reduced to 50% the max throttle in auto mode, and set to 35% the cruising throttle.
- GPS: uBlox LEA6H
- Receiver: FrSky D4R-II in CPPM (PPM SUM) mode (single wire going to the CRIUS board). One just has to add ' #define SERIAL_PPM ENABLE ' in APM_Config.h, and the PPM_SUM line goes to the throttle input of the Crius board.

I tested the stabilize, fly-by-wire-A (FBWA), return to launch (RTL) and Loiter modes with success . With some wind blowing at 10-20km/h the loiter trajectory was not quite a circle, but ok. Otherwise the plane was stable and ArduplaneNG nicely managed the throttle to maintain the speed and altitude.

I am now waiting for a minimOSD to install the FPV gear back in the plane.
Posted by grmis | Mar 21, 2013 @ 01:40 PM | 4,825 Views
For completeness, I am adding my last (but not least) bird to this blog. No much to say, everything is stock, but it is a great little machine !

Just notice on the picture that one can use a (switching) UBEC to power the Celectra charger with 6 volts. This way I can charge the mCPx lipo from a larger Lipo, no need to have a wall plug.
Posted by grmis | Mar 21, 2013 @ 01:33 PM | 4,931 Views
I go on posting some pictures of my birds.

This is an indoor/F3P plane, dubbed "Progress". It is made from 6mm EPP. You can find some build informations here (fly-international.fr). Electronic setup:
- Motor: Turnigy 2204-14T 19g
- Propeller: GWS RD 8*4.3
- 6A Plush ESC.
- 6ch DSM2 OrangeRX, without case and servo wires soldered directly (no plugs) to save a little bit of weight.
- HXT500 servos for elevator & rudder (push-pull system)
- HXT900 servo for ailerons
- Rhino 360mAh 2S
Posted by grmis | Mar 19, 2013 @ 07:19 AM | 4,255 Views
It is an Easy-star clone with ailerons (= Dynam Hawk Sky = Smart Fly Junior ).
I use if for (short-range) FPV. It is a basic and light setup:
- Motor: ~ 2400kv (Hoffman Magnetics Super Sport) & 6x4 propeller.
- 900Mhz / 200mW Video TX from Hobby King
- Inverted Vee antenna in the plane and ground-plane on the receiver side (Thanks IBCrazy).
- To help tuning the antenna, I built this DIY SWR meter.
- 520TVL sony board camera, 2.5mm lens
- Remzibi OSD.
- Goggles: Fatshark rcv922 Base.

A not-so-recent video:
First FPV flights with an EZ* clone, Hobby King 900Mhz/200mW/420TVL system + Remzibi OSD (4 min 13 sec)


I am now (march 2013) installing an autopilot in it (CRIUS AIO v1 + ArduPlaneNG + minimOSD + uBlox GPS). More pictures coming soon !
Posted by grmis | Mar 19, 2013 @ 05:58 AM | 4,133 Views
Co-axial heli of the kids, with young pilot doing a pre-flight inspection
Posted by grmis | Mar 19, 2013 @ 05:56 AM | 4,125 Views
This one does not fly...

More info on this (french) forum:
http://www.modelisme.com/forum/aero-...format-4a.html
Posted by grmis | Mar 19, 2013 @ 05:45 AM | 4,009 Views
My Easy Glider, filmed with a 808#16 keychain camera:

808 #16 keychain camera on an EasyGlider (2 min 23 sec)


It is equipped with an DIY altimeter/vario inspired from this one.
The pressure is measured by a BMP085 sensor (cheaper but less accurate than the MS5611) and, using an Arduino pro mini, sent to the ground via the telemetry link of an FrSky receiver D6FR.
I am not sure if this is really useful... but fun to build :-)
Posted by grmis | Mar 19, 2013 @ 05:42 AM | 3,886 Views
I go on introducing my (modest) fleet:
Mig-15 from Alpha-model (wing span: 750 mm).
I got it used for ~40$ PNF (it already had several crashes & repairs !) so I can learn how to fly an electric ducted fan-powered jet without much risk...

http://www.alfamodel.cz/index_eng.htm
Posted by grmis | Mar 19, 2013 @ 05:34 AM | 3,976 Views
Let's try to put something in this blog !

I will start with my HK450 setup:
Gyro: Tarot ZYX, firmware 4.0
Servos: HK933 servos on the cyclic, Power HD 3688HB on the tail
Motor: Turnigy Typhoon 450H 2215H, 13T.
ESC: YEP 45a, with govervor tuned at 2850rpm (I know it is not much...). Installed below the frame.
7$-HK carbon blades.
Receiver: FrSky D6FR (installed inside the frame), monitoring (telemetry) the Lipo and BEC voltages.