<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Evolving NG UAVP</title>
	<atom:link href="http://uavp.agner.ch/feed/" rel="self" type="application/rss+xml" />
	<link>http://uavp.agner.ch</link>
	<description>falstaff&#039;s blog about building and developing multicopters</description>
	<lastBuildDate>Wed, 06 Oct 2010 21:49:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Flight at a sunny fall evening</title>
		<link>http://uavp.agner.ch/2010/10/flight-at-a-sunny-fall-evening/</link>
		<comments>http://uavp.agner.ch/2010/10/flight-at-a-sunny-fall-evening/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 21:38:34 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[First persion view]]></category>
		<category><![CDATA[Flights]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=241</guid>
		<description><![CDATA[Some time went by since my last post! In between I fixed the problems with my new quadrocopter, in the end I had problems with my altered brushless controllers. I had to resolder some soldering joints. But now it is flying quite nice, but see yourself: My next goal is flying with first persion view [...]]]></description>
			<content:encoded><![CDATA[<p>Some time went by since my last post! In between I fixed the problems with my new quadrocopter, in the end I had problems with my altered brushless controllers. I had to resolder some soldering joints. But now it is flying quite nice, but see yourself:</p>
<p><div class="wp-caption alignnone" style="width: 570px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="315" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=15609658&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="560" height="315" src="http://vimeo.com/moogaloop.swf?clip_id=15609658&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<p class="wp-caption-text">Flight at a sunny fall evening</p></div><br />
<span id="more-241"></span><br />
<a href="http://uavp.agner.ch/wp-content/uploads/2010/10/headplay_headset.jpg"><img class="alignright size-medium wp-image-243" title="Headplay Eyevisor" src="http://uavp.agner.ch/wp-content/uploads/2010/10/headplay_headset-300x175.jpg" alt="Headplay Eyevisor" width="300" height="175" /></a>My next goal is flying with first persion view (FPV). For that purpose I bought a <a href="http://www.headplay.com/">Headplay</a> Eyewear and started soldering on a 5.8 GHz <a href="http://ng.uavp.ch/moin/Documentation/PartLists/">NGvideo</a>. Therefor I also started flying in X-Mode (instead of + mode, which I did until now). With X-Mode you have a free view between two arms of the quadrocopter, its easier to place the camera that way. Expect more about this soon!<br />
There is also <a href="http://ng.uavp.ch/forum/viewtopic.php?f=4&#038;t=460">another quadrocopter meeting</a> at Amir&#8217;s place in the mid of october. Don&#8217;t miss it! <img src='http://uavp.agner.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/10/flight-at-a-sunny-fall-evening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My second NG is airborne</title>
		<link>http://uavp.agner.ch/2010/08/my-second-ng-is-airborne/</link>
		<comments>http://uavp.agner.ch/2010/08/my-second-ng-is-airborne/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 00:19:21 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Centerplate]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Flights]]></category>
		<category><![CDATA[Frame]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=225</guid>
		<description><![CDATA[The last days I worked a lot on my second NG UAVP quadrocopter. I had many of the parts ready since weeks. But I decided to do some things different than planned. But in between, all things were done and it was time to get my new aircraft airborne. And it flew! Unfortunately I had [...]]]></description>
			<content:encoded><![CDATA[<p>The last days I worked a lot on my second <a href="http://ng.uavp.ch">NG UAVP</a> quadrocopter. I had many of the parts ready since weeks. But I decided to do some things different than planned. But in between, all things were done and it was time to get my new aircraft airborne. And it flew! Unfortunately I had some interferences, but look yourself!</p>
<div class="wp-caption alignnone" style="width: 570px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="315" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=13791346&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="560" height="315" src="http://vimeo.com/moogaloop.swf?clip_id=13791346&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<p class="wp-caption-text">Maiden flight of my second NG UAVP quadrocopter</p></div>
<p>The second quadrocopter is a lot easier to build. The whole world of quadrocopter and radio controlled model making in general was very new to me. I made wrong decisions or just didn&#8217;t know how I want to have it in the end&#8230; Here is a small lists of improvements I made on my second quadrocopter. It might help other beginners to do it better in first place <img src='http://uavp.agner.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <span id="more-225"></span></p>
<h2>Battery connectors</h2>
<div id="attachment_232" class="wp-caption alignleft" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/08/xt60-plugs.jpg"><img class="size-medium wp-image-232" title="XT60 plugs" src="http://uavp.agner.ch/wp-content/uploads/2010/08/xt60-plugs-300x251.jpg" alt="XT60 plugs" width="300" height="251" /></a><p class="wp-caption-text">XT60 plugs</p></div>
<p>On my first copter I bought the same connectors for the quadrocopter which the batteries had: 4mm Bullet connectors. But connecting them was dreadfully: My connectors were a little bit to big, so I had to deform the plastic of the connectors a little bit. The plastic on the front was battered. Connecting them was very tough, in the end I didn&#8217;t connected them fully, it simply wasn&#8217;t possible anymore. So it was time to switch. I decided to use the XT60 connectors from <a href="http://www.hobbyking.com/">Hobbyking</a> (an alternative to the popular <a href="http://www.wsdeans.com/products/plugs/index.html">Deans</a> connector system). They are cheap and you can also buy batteries with this connectors. The connection holds strong but you can connect and disconnect them without problem. No more half connected plugs in the air. </p>
<h2>Power distribution</h2>
<p><div id="attachment_230" class="wp-caption alignright" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/08/power-distribution.jpg"><img class="size-medium wp-image-230" title="Power distribution" src="http://uavp.agner.ch/wp-content/uploads/2010/08/power-distribution-300x166.jpg" alt="Power distribution" width="300" height="166" /></a><p class="wp-caption-text">Power distribution</p></div><br />
Using a board to distribute the power is definitely more comfortable, especially if want to connect something new or disconnect something. I used a two-sided 70µm copper bare board. Don&#8217;t forget to remove the coat before soldering if it has one. You also should have a soldering iron with enough power doing this. My 40W soldering iron was definitely a bit too feeble. Another good tip is to use silicon cable whenever possible. Its easier to solder them because the cable coating doesn&#8217;t melt.<br />
<div id="attachment_233" class="wp-caption alignleft" style="width: 205px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/08/claws.jpg"><img class="size-medium wp-image-233" title="New landers: Claws" src="http://uavp.agner.ch/wp-content/uploads/2010/08/claws-195x300.jpg" alt="New landers: Claws" width="195" height="300" /></a><p class="wp-caption-text">New landers: Claws</p></div><br />
<h2>Landers and centerplate</h2>
<p>Having good landers from start is also very convenient. Starting from grass is no problem, calibrating the acceleration sensor is easier too. I already <a href="http://uavp.agner.ch/2010/06/centerplates/">wrote</a> about my new centerplates. They look good and are very strong.</p>
<h2>LED&#8217;s</h2>
<p>Its easier to distinguish the front of the quadrocopter with colored LED&#8217;s. I planned to add LED&#8217;s to my first copter already, but because the power distribution was inflexible I desisted installing them. On my second copter I bought 3mm plugs to connect them, and also added a cable to the power distribution system.</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/08/my-second-ng-is-airborne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first onboard Video</title>
		<link>http://uavp.agner.ch/2010/07/my-first-onboard-video/</link>
		<comments>http://uavp.agner.ch/2010/07/my-first-onboard-video/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 21:43:59 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Flights]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[flight]]></category>
		<category><![CDATA[gopro]]></category>
		<category><![CDATA[hd]]></category>
		<category><![CDATA[onboard]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=215</guid>
		<description><![CDATA[Recently I bought the nice GoPro HD digital camera. This week I mounted it the first time on my quadrocopter and flew around with it. But with the last battery the motor dissolved itself from its basement. Luckily my quadrocopter and the camera survived the crash without serious damage. By the way, I made this [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I bought the nice <a href="http://www.goprocamera.com/">GoPro HD</a> digital camera. This week I mounted it the first time on my quadrocopter and flew around with it. But with the last battery the motor dissolved itself from its basement. Luckily my quadrocopter and the camera survived the crash without serious damage.<br />
<div class="wp-caption alignnone" style="width: 570px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="315" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=13499769&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="560" height="315" src="http://vimeo.com/moogaloop.swf?clip_id=13499769&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<p class="wp-caption-text">Onboard Video</p></div><br />
By the way, I made this video using <a href="http://www.pitivi.org/">PiTiVi</a>, which seems to evolve to a very easy to use video editor. The features are a bit limited at the moment, but there is much effort in the community improve this drawback.<span id="more-215"></span><br />
I&#8217;m still working on my second quadrocopter. I decided to solve the current distribution better than I did at my first quadrocopter. I going to use a blank board with 70µm copper on each side. Each side has one pole and its mounted directly above the center plate.<br />
There is also lot going on in the whole community: Two weeks ago the third NG UAVP Meeting took place in Zurich. We worked a lot on the new DCM based controller. Watch this <a href="http://www.vimeo.com/13249563">footage</a> from Robert. Also ludiwawa did the maiden flight of his <a href="http://www.vimeo.com/13626552">Klappa Hexacopter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/07/my-first-onboard-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centerplates</title>
		<link>http://uavp.agner.ch/2010/06/centerplates/</link>
		<comments>http://uavp.agner.ch/2010/06/centerplates/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 21:00:16 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Centerplate]]></category>
		<category><![CDATA[Frame]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=199</guid>
		<description><![CDATA[For my next Quadrocopter I plan a bit nicer frame. Because construction isn&#8217;t my strong point I prefer something simple but reasonable priced. These out of the box frames were too expensive. Construction one by myself was not an option. Fortunately Robert made some very nice Frames and Centerplates. At first I wanted to build [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_200" class="wp-caption alignleft" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/06/plates-2010-cut.jpg"><img class="size-medium wp-image-200" title="Carbon fiber centerplates" src="http://uavp.agner.ch/wp-content/uploads/2010/06/plates-2010-cut-300x201.jpg" alt="Carbon fiber centerplates" width="300" height="201" /></a><p class="wp-caption-text">Carbon fiber centerplates</p></div>
<p>For my next Quadrocopter I plan a bit nicer frame. Because construction isn&#8217;t my strong point I prefer something simple but reasonable priced. These out of the box frames were too expensive. Construction one by myself was not an option. Fortunately Robert made some very nice <a href="http://ng.uavp.ch/moin/Documentation/Construction/CAD">Frames and Centerplates</a>. At first I wanted to build a CargoNG. I opted for centreplates only but in exchange with carbon fiber. Without a full frame it is easier to build and I have more freedom In terms of adding more circuit boards or a digital camera. Also if once I test some newly developed code and undergo a heavy bug, its not that expensive to repair the Quadrocopter <img src='http://uavp.agner.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <span id="more-199"></span></p>
<div id="attachment_202" class="wp-caption alignright" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/06/plates-2010.jpg"><img class="size-medium wp-image-202" title="Centerplates arranged in AutoCAD" src="http://uavp.agner.ch/wp-content/uploads/2010/06/plates-2010-300x265.jpg" alt="Centerplates arranged in AutoCAD" width="300" height="265" /></a><p class="wp-caption-text">Centerplates arranged in AutoCAD</p></div>
<p>But where can I let it mill? Several team members have a mill by them own, but sending plates around, over the frontier, was a bit too complicate. I found the little company <a href="http://www.keiro.ch/">Keiro</a> located in Switzerland which makes kits for air planes and also has a <a href="http://www.keiro.ch/Beschreibung_CNC.html">CNC mill service</a>. I found carbon fibre plates at <a href="http://www.swiss-composite.ch/">suter swiss-composite group</a> at reasonable prices. To minimize wasting of space I descided to mill two 340mm x 300mm, 1.5mm thick prepreg plate in one procedure. I never used a CAD software, so I&#8217;m an absolute noob! I tried to put together the dxf files with QCAD, which is open source, but I didn&#8217;t succeeded. It was the control concept which I could not work with, the simple functions like moving and coping weren&#8217;t at places I expected them. And once I found one item, I had to try several times until it worked as I wished and I searched it again the next time. AutoCAD is a very popular software, so I tried it with a trail version of it. Even with AutoCAD I needed some time to arrange all parts. But as you can see, I finally succeeded. Two weeks later my brand new centerplates arrived. As you can see, there are also some landers and some spare parts for crashes or another Quadro-/Hexacopter!</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/06/centerplates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bus Pirate</title>
		<link>http://uavp.agner.ch/2010/05/bus-pirate/</link>
		<comments>http://uavp.agner.ch/2010/05/bus-pirate/#comments</comments>
		<pubDate>Sun, 23 May 2010 00:34:24 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[JTAG]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=172</guid>
		<description><![CDATA[As I wrote yesterday I bougth the Bus Pirate from Seeedstudio and a nice case. Another team member found this nice tool. It can be used to prototype and test electronic deviecs with buses such as UART, SPI or I2C. As I saw the ability to work as an AVR programmer and even a JTAG [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_173" class="wp-caption alignright" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/05/bus-pirate-small.jpg"><img class="size-medium wp-image-173" title="Bus Pirate" src="http://uavp.agner.ch/wp-content/uploads/2010/05/bus-pirate-small-300x203.jpg" alt="Bus Pirate" width="300" height="203" /></a><p class="wp-caption-text">Bus Pirate</p></div>
<p>As I wrote yesterday I bougth the <a href="http://dangerousprototypes.com/bus-pirate-manual/">Bus Pirate</a> from <a href="http://www.seeedstudio.com/depot/bus-pirate-v3-assembled-p-609.html">Seeedstudio</a> and a <a href="https://www.synthetos.com/">nice case</a>. Another team member found this nice tool. It can be used to prototype and test electronic deviecs with buses such as UART, SPI or I2C.  As I saw the ability to work as an AVR programmer and even a JTAG adapter I was persuaded of it as well. It looks like a perfect devleoper device for the NG UAVP.<br />
With delivery I paid about 55$ for both parts. The case from US arrived way faster then the Pirate itself from China, but finally both made their way to Switzerland! I needed to alter the case with a nail file a little bit to make sure the USB connector has enought space. Built into its case it looks very nice!<br />
The firmware on the delivered device was not that up to date:</p>
<pre>HiZ&gt;I
Bus Pirate v3 (Seeed Studio)

http://dangerousprototypes.com

Firmware v2.4-Seeed
DEVID:0x0447 REVID:0x3043 (B5)
</pre>
<p><span id="more-172"></span><br />
First I had to upgrade to <a href="http://dangerousprototypes.com/2010/01/18/how-to-bus-pirate-bootloader-v4-upgrade/">V4 Bootloader</a>. I connected the PGD and PGC pins of the ICSP header to trigger the bootloader. Then I changed bitrateindex to 8 (for 115200):</p>
<pre>vi P24qp.ini
</pre>
<pre>bitrateindex=8
</pre>
<p>Afterwards I could do the firmwareupgrade (just ignore the verification errors in the output, its a bug in v2 bootloader):</p>
<pre>$ unzip v2tov41-bootloader-update-va3.zip
$ cd upgrader
$ sudo python P24qp.py --serial=/dev/ttyUSB1 -v --auto=BPv3-v2blupdaterVa3-v4.1.hex
....
Writing 256 bytes to address 0x0000AB80
Reading 256 bytes from address 0x0000AB80
Write operation complete.
Verified Okay.
Verification complete, switching to user mode
</pre>
<p>Now I removed the jumper and restartet the Bus Pirate. Pressing enter produced this output:</p>
<pre>Upgrade cancelled.

Universal DS30 Loader installer v0.3 (C)hris 2010

Released under Creative Commons null license.
Found bootloader v unknown (probably v2)
Will install bootloader v4.1

Type 'Yes' to program the new bootloader.
Disconnect power if unsure (no harm done).
</pre>
<p>&#8220;Yes&#8221; started the upgrading</p>
<pre>Erasing 0xA400... done
Erasing 0xA800... done
Writing row 0 1 2 3 4 5 6 7 done
Erasing 0x0000... done
Writing row 0... done

Success!
Upload new firmware with the ds30 Loader app to complete the upgrade.
</pre>
<p>When the update is complete, the MODE LED will blink and the upgrader will prompt you to upload a v4+ firmware. I connected the PGD and PGC pins of the ICSP header to trigger the bootloader once again and restarted the Bus Pirate. I then uploaded the <a href="http://dangerousprototypes.com/2010/03/05/bus-pirate-firmware-v4-2-released/">v4.2 firmware</a> directly (you can&#8217;t install the v4.2 bootloader since its only a version for programm with PIC directly):</p>
<pre>$ unzip BusPirate.firmware.v4.2.zip
$ sudo ./pirate-loader_lnx --dev=/dev/ttyUSB1 --hex=BPv3\&amp;v2go/BPv3-Firmware-v4.2.hex
</pre>
<p>Removed the jumper again and the Bus Pirate has a shiny new software version on it:</p>
<pre>HiZ&gt;I
Bus Pirate v3
Firmware v4.2 Bootloader v4.1
DEVID:0x0447 REVID:0x3043 (B5)

http://dangerousprototypes.com
</pre>
<h2>AVR programmer (STK500v2)</h2>
<p>One of the features I needed most was the AVR programmer. For that purpose you have to flash a special firmware:</p>
<pre>$ sudo ./pirate-loader_lnx --dev=/dev/ttyUSB1 --hex=BPv3\&#038;v2go/BPv3-STK500v2-v0b.hex
</pre>
<p>Afterwards you can use it like an STK500v2:</p>
<pre>$ avrdude -p m328p -c stk500v2 -P /dev/ttyUSB1 -v -V -U flash:w:sb-ctrl.hex
</pre>
<p>Just a small performance comparission showed positive results. I wrote an Intel hex with 30178 bytes to an Atmel ATMEGA328P. These are the flash times:</p>
<table border="0">
<tbody>
<tr>
<td width="100px">Bus Pirate</td>
<td>STK500v2</td>
</tr>
<tr>
<td>10.75s</td>
<td>42.55s</td>
</tr>
</tbody>
</table>
<p>Note: These are both out of the box configuration, with correct STK500v2 configuration you can probably gain more performance&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/05/bus-pirate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New blog appearance</title>
		<link>http://uavp.agner.ch/2010/05/new-blog-appereance/</link>
		<comments>http://uavp.agner.ch/2010/05/new-blog-appereance/#comments</comments>
		<pubDate>Sat, 22 May 2010 02:16:28 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Administrativ]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=164</guid>
		<description><![CDATA[After several weeks of silence I could finally find enough motivation and time to update my blog. I renamed it to &#8220;Envolving NG UAVP&#8221;, because, you might have heard it, I joined the development team of the NG UAVP in between. Now I try hard to help evolving this wonderful multicopter platform! To address the [...]]]></description>
			<content:encoded><![CDATA[<p>After several weeks of silence I could finally find enough motivation and time to update my blog. I renamed it to &#8220;Envolving NG UAVP&#8221;, because, you might have heard it, I joined the development team of the NG UAVP in between. Now I try hard to help evolving this wonderful multicopter platform! To address the international community I decided to switch the language of this blog to English. The old NG UAVP from Scratch blog posts stay in german and are archived under its own category <a href="http://uavp.agner.ch/category/ng-uavp-from-scratch/">NG UAVP from Scratch</a>.</p>
<p>Currently we work on several things for the NG UAVP: First of all we improved GPS support. We also tested new build toolchains and think about new control algorithm. All in all, its very interessting and I&#8217;m very happy do be part of the team!</p>
<p>I also bought new equipment: I have now a <a href="http://www.maas-elektronik.com/MAAS-SPS-30-II-Schaltnetzteil-9-15V-DC--35-A.2.html">maas SPS-30 II</a> power supply to load my LiPo&#8217;s quickly. I also bought a <a href="http://www.seeedstudio.com/depot/bluetooth-bee-p-598.html">Bluetooth Bee</a>, a serial extender with X-Bee pin alignment, but I could not test it yet. Also from <a href="http://www.seeedstudio.com/depot/bus-pirate-v3-assembled-p-609.html">Seedstudio</a> I bought the <a href="http://dangerousprototypes.com/bus-pirate-manual/">Bus Pirate</a>, an universial bus connector, programmer and even debugger.</p>
<p>My NG UAVP is still flying! But nevertheless I plan to build a second NG UAVP: I want to use nicer Centerplates, better motors and, finally, the TowerPro BLC&#8217;s with Quax firmware. But I still build it as simple as reasonable possible, I prefer to spend my time on developing software than building nice frames! <img src='http://uavp.agner.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/05/new-blog-appereance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Erstflug!</title>
		<link>http://uavp.agner.ch/2010/03/erstflug/</link>
		<comments>http://uavp.agner.ch/2010/03/erstflug/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 22:12:04 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Administratives]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=153</guid>
		<description><![CDATA[Heute, am Dienstag der 23. März 2010, wars endlich soweit: Ich hab den Erstflug gemacht. Nachdem ich in den letzten Tagen schon ausführliche Tests &#8220;aus der Hand&#8221; gemacht habe, aber da noch einige Probleme sah welche mich verunsicherten, hab ich den Erstflug vor mir her geschoben&#8230; Ich habe gestern alle Stecker besser fixiert und die [...]]]></description>
			<content:encoded><![CDATA[<p>Heute, am Dienstag der 23. März 2010, wars endlich soweit: Ich hab den Erstflug gemacht. Nachdem ich in den letzten Tagen schon ausführliche Tests &#8220;aus der Hand&#8221; gemacht habe, aber da noch einige Probleme sah welche mich verunsicherten, hab ich den Erstflug vor mir her geschoben&#8230; Ich habe gestern alle Stecker besser fixiert und die Sensoren mit Heissleim verleimt. Das letztere hat die Abweichungen des Beschleunigungsensor auf der Nick-Achse schon einiges reduziert. Nachdem heute auch noch schönes Wetter war, hab ich mich entschieden den Erstflug direkt nach der Arbeit durchzuführen. Alles ging Reibungslos von statten, ich habe während ca. 30 Minuten zwei Akkus &#8220;durchgeflogen&#8221;. Ohne Simulation und andere Flugerfahrung hab ich noch nicht viel gewagt. Anheben und etwa auf Augenhöhe umherfliegen hat mir fürs erste gereicht. Daher ist das Video total langweilig, sorry!<br />
<div class="wp-caption alignnone" style="width: 480px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="470" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=10389316&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="470" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=10389316&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<p class="wp-caption-text">Erstflug meines NGone</p></div><br />
Nun werde ich fleissig fliegen üben und den Quadrokopter noch etwas verbessern. Da sind noch einige Baustellen: Fehlende Duo-LED&#8217;s, Verkabelung, Landebeine, besser Entkopplung der Steuerung, Kompass, GPS, etc&#8230; Auch möchte ich Erweiterung wie Bluetooth-Konsole, NGvideo oder Kamerahalterung realisieren, nur weiss ich noch nicht welcher ich den Vorrang geben werde <img src='http://uavp.agner.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<span id="more-153"></span><br />
Geflogen bin ich mit folgenden Parametern</p>
<pre>
set controller amir
set T.idle 20
set T.reserve 20
set T.spinup 2
set P.nick 60
set P.roll 60
set P.yaw 60
set D.nick 50
set D.roll 50
set D.yaw 10
set I.nick 30
set I.roll 30
set I.yaw 15
set Kalman.Angle.Q 0.00030000
set Kalman.Bias.Q 0.00010000
set Kalman.Acc.R 3.00000000
set Kalman.Cycle 1
set Kalman.Limit 1
set P.z 1950
set D.z 5000
set I.z 0
set P.z.limit 20
set P.z.upfact 28
set KalmanZ.L1 1.29170001
set KalmanZ.L2 0.83420002
set KalmanZ.L3 -0.26930001
set RC.nickcorr 0
set RC.rollcorr 0
set RC.yawcorr 0
set RC.throttlehoover -100
set ACC.nickcorr 9
set ACC.rollcorr 28
set ACC.yawcorr 65
set TRIM.roll 0
set TRIM.nick 0
set TRIM.yaw 0
set RC.fact.nick 30
set RC.fact.roll 30
set RC.fact.yaw 65
set Axis.decoupling yes
</pre>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/03/erstflug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>QNGctrl unter Ubuntu</title>
		<link>http://uavp.agner.ch/2010/03/qngctrl-unter-ubuntu/</link>
		<comments>http://uavp.agner.ch/2010/03/qngctrl-unter-ubuntu/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 02:34:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=139</guid>
		<description><![CDATA[Heute hat mein NG UAVP die ersten Flugübungen gemacht, allerdings noch in meiner Hand. Dabei hab ich bemerkt dass ich die Roll-Motoren verkehrt montiert habe, was für einen realen Fatal wäre: Gerät er nur etwas in Seitenlage würde er den Motor in welche er sich neigt stärker ansteuern. Da die Motoren verkehrt montiert sind würde [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hat mein NG UAVP die ersten Flugübungen gemacht, allerdings noch in meiner Hand. Dabei hab ich bemerkt dass ich die Roll-Motoren verkehrt montiert habe, was für einen realen Fatal wäre: Gerät er nur etwas in Seitenlage würde er den Motor in welche er sich neigt stärker ansteuern. Da die Motoren verkehrt montiert sind würde der falsche Motor geregelt. Dadurch würde die Seitenlage noch verstärkt was eine noch stärkere Regelung zur Folge hätte. Ein Absturz wäre unausweichlich.<br />
Das QNGctrl-Tool hat mir geholfen zu verstehen wie genau geregelt. So konnte ich auch die Parameter besser verstehen. Dabei sind auch Probleme aufgetaucht wie zum Beispiel seltsame Jitters in den Gyros (was eventuell auf mangelnde Befestigung hindeuten könnte) oder abweichende Signale bei laufenden Motoren und gestoppten Motoren (was wahrscheinlich mit mangelnder Entkopplung zu tun hat).</p>
<div id="attachment_140" class="wp-caption alignnone" style="width: 470px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/03/gyrojitter.png"><img class="size-full wp-image-140" title="QNGctrl zeigt Gyrometer mit Jitter" src="http://uavp.agner.ch/wp-content/uploads/2010/03/gyrojitter.png" alt="QNGctrl zeigt Gyrometer mit Jitter" width="460" height="400" /></a><p class="wp-caption-text">QNGctrl zeigt Gyrometer mit Jitter</p></div>
<p>Nun aber zum eigentlichen Thema&#8230;<br />
<span id="more-139"></span><br />
Nach etwas Probleme habe ich es hin gekriegt QNGctrl unter Ubuntu zu kompilieren und installieren. Da es einige Libraries braucht und viele sich nicht mit dem Kompilieren auseinander setzten möchte habe ich Deb-Pakete für Ubuntu erstellt.<br />
<a href="http://uavp.agner.ch/wp-content/uploads/2010/03/libglc-1.10-dev_1.10-1_i386.deb">libglc-1.10-dev_1.10-1_i386.deb</a><br />
<a href="http://uavp.agner.ch/wp-content/uploads/2010/03/ng-tools_0.56-1_i386.deb">ng-tools_0.56-1_i386.deb</a><br />
<a href="http://uavp.agner.ch/wp-content/uploads/2010/03/libglc-1.10-dev_1.10-1_amd64.deb">libglc-1.10-dev_1.10-1_amd64.deb</a><br />
<a href="http://uavp.agner.ch/wp-content/uploads/2010/03/ng-tools_0.56-1_amd64.deb">ng-tools_0.56-1_amd64.deb</a></p>
<pre>67db0a74005a73ab78db0c0ac6300280  libglc-1.10-dev_1.10-1_amd64.deb
88f0bd7e447cb1383e38f6966e567685  libglc-1.10-dev_1.10-1_i386.deb
75f012e6c5402b06f1d3ced1912cd51d  ng-tools_0.56-1_amd64.deb
f0976410f3b8c7d62557b3bd95121c27  ng-tools_0.56-1_i386.deb
</pre>
<p>Für alle die selbst kompilieren möchten: Zuerst muss GLC_lib installiert werden. Dafür GLC-lib 1.1 <a href="http://sourceforge.net/projects/glc-lib">downloaden</a> und installieren (1.2 und höher funktioniert nicht!)</p>
<pre>sudo aptitude install gzip qt4-qmake build-essential libqt4-dev
qmake
make
sudo make install
</pre>
<p>Dann NGOS herunterladen und unter sources/ng-tools folgendes ausführen</p>
<pre>sudo aptitude install libqt4-dev libqwt5-qt4-dev libqwt5-qt4 lib3ds-dev lib3ds-1-3 libsdl-dev \
libsdl-image1.2-dev
./configure --prefix=/usr
</pre>
<p>Das qmake-Skript funktioniert nicht unter Ubuntu da die qwt Library einen anderen Namen hat. Dies kann aber angepasst werden: Die Datei qngctrl/Makefile.qm editieren und in der Zeile LIBS -lqwt mit -lqwt-qt4 ersetzen.</p>
<pre>make
sudo make install
</pre>
<p>Die Dateien qngctrl, qngctrl-bg.png müssen Manuell installiert werden, da diese im install-Target fehlen.</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/03/qngctrl-unter-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NGcon und NGusb</title>
		<link>http://uavp.agner.ch/2010/03/ngcon-und-ngusb/</link>
		<comments>http://uavp.agner.ch/2010/03/ngcon-und-ngusb/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 17:22:22 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Elektronik]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=128</guid>
		<description><![CDATA[Bereits seit einigen Tagen hatte ich die Leiterplatten der beiden Konnektivitätsgeräte NGcon und NGusb. Inzwischen sind auch die dazu benötigten Bauteile angekommen und verbaut. Jedoch funktionierte weder das NGusb noch das NGcon auf anhieb: Beim NGusb stellte sich heraus dass ich die LED verkehrt aufgelötet habe. Die LED sollte beim Einstecken kurz aufblicken, was sie [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_132" class="wp-caption alignright" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/03/NGusb.jpg"><img class="size-medium wp-image-132" title="NGusb" src="http://uavp.agner.ch/wp-content/uploads/2010/03/NGusb-300x113.jpg" alt="NGusb" width="300" height="113" /></a><p class="wp-caption-text">NGusb</p></div>
<p>Bereits seit einigen Tagen hatte ich die Leiterplatten der beiden Konnektivitätsgeräte <a href="http://ng.uavp.ch/moin/Documentation/NGcon">NGcon</a> und <a href="http://ng.uavp.ch/moin/Documentation/NGusb">NGusb</a>. Inzwischen sind auch die dazu benötigten Bauteile angekommen und verbaut. Jedoch funktionierte weder das NGusb noch das NGcon auf anhieb: Beim <a href="http://ng.uavp.ch/moin/Documentation/NGusb">NGusb</a> stellte sich heraus dass ich die LED verkehrt aufgelötet habe. Die LED sollte beim Einstecken kurz aufblicken, was sie nicht tat. Danach hab ich fälschlicherweise den Jumper gesetzt um das verbundene Gerät mit Spannung zu versorgen. Da der NG jedoch selbst versorgt ist, funktionierte das NGusb nicht. Danach wurde es von Linux erkannt und funktionierte einwandfrei. Die Ausgabe von &#8220;dmesg&#8221; zeigt das der FTDI Converter auf dem NGcon erkannt wurde:</p>
<pre>[15642.821825] usb 8-1: new full speed USB device using uhci_hcd and address 54
[15643.022980] usb 8-1: configuration #1 chosen from 1 choice
[15643.029828] ftdi_sio 8-1:1.0: FTDI USB Serial Device converter detected
[15643.029884] usb 8-1: Detected FT232RL
[15643.029889] usb 8-1: Number of endpoints 2
[15643.029894] usb 8-1: Endpoint 1 MaxPacketSize 64
[15643.029899] usb 8-1: Endpoint 2 MaxPacketSize 64
[15643.029903] usb 8-1: Setting MaxPacketSize 64
[15643.033485] usb 8-1: FTDI USB Serial Device converter now attached to ttyUSB0</pre>
<p><span id="more-128"></span>Beim <a href="http://ng.uavp.ch/moin/Documentation/NGcon">NGcon</a> stellte sich heraus dass zwischen dem RS232 und dem MAX3232 die RX-/TX-Leitungen falsch verbunden sind. Dies kann behoben werden indem die Verbindung zwischen den Via&#8217;s (Durchstichlöcher) und dem MAX3232 mit einem Cutter-Messer durchtrennt und mit Lackdraht gekreuzt verbunden wird.</p>
<div id="attachment_134" class="wp-caption alignnone" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-top-corr.jpg"><img class="size-medium wp-image-134" title="NGcon oben Korrektur" src="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-top-corr-300x171.jpg" alt="NGcon oben Korrektur" width="300" height="171" /></a><p class="wp-caption-text">NGcon oben Korrektur</p></div>
<div id="attachment_135" class="wp-caption alignnone" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-top-crossed.jpg"><img class="size-medium wp-image-135" title="NGcon oben mit Verbesserung" src="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-top-crossed-300x154.jpg" alt="NGcon oben mit Verbesserung" width="300" height="154" /></a><p class="wp-caption-text">NGcon oben mit Verbesserung</p></div>
<div id="attachment_130" class="wp-caption alignnone" style="width: 310px"><a href="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-bottom.jpg"><img class="size-medium wp-image-130" title="NGcon unten" src="http://uavp.agner.ch/wp-content/uploads/2010/03/NGcon-bottom-300x164.jpg" alt="NGcon unten" width="300" height="164" /></a><p class="wp-caption-text">NGcon unten</p></div>
<p>Die neuen Akkus sollten nächste Woche ankommen, diese wurden heute Nacht versendet. Auch die LIS3L Breakouts sind nun im <a href="http://ng.uavp.ch/moin/Shop">NG UAVP Shop</a> verfügbar. Obwohl der Erstflug auch ohne diese möglich gewesen wären, ist mir ein komplettes System viel lieber!</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/03/ngcon-und-ngusb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startprobleme</title>
		<link>http://uavp.agner.ch/2010/03/startprobleme/</link>
		<comments>http://uavp.agner.ch/2010/03/startprobleme/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 23:26:49 +0000</pubDate>
		<dc:creator>stefan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://uavp.agner.ch/?p=121</guid>
		<description><![CDATA[Leider stellte sich die Kombination der TowerPro w25A mit den Turnigy 28-30 1100KV Motoren als eine nicht zuverlässige Kombination. Gleich drei Motoren hatten Startschwierigkeiten. Auch das Bewegen des NG&#8217;s oder aufdrehen der Kraft der Motoren hat sie nicht zum starten gebracht. (Update: Scheinbar lag dies an falschen Firmwares) Ich habe mich deshalb entschieden die Motoren [...]]]></description>
			<content:encoded><![CDATA[<p>Leider stellte sich die Kombination der <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=4860">TowerPro w25A</a> mit den <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=2111">Turnigy 28-30 1100KV</a> Motoren als eine nicht zuverlässige Kombination. Gleich drei Motoren hatten Startschwierigkeiten. Auch das Bewegen des NG&#8217;s oder aufdrehen der Kraft der Motoren hat sie nicht zum starten gebracht. <span style="color: #800000;">(Update: Scheinbar lag dies an falschen Firmwares)</span></p>
<div class="wp-caption alignnone" style="width: 480px"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="470" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9616489&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="470" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=9616489&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<p class="wp-caption-text">TowerPro w25A mit Quax-Software Startprobleme</p></div>
<p>Ich habe mich deshalb entschieden die Motoren mit dem <a href="http://www.mikrokopter.de/ucwiki/BrushlessCtrl">MK-BL-Controllern</a> zu betreiben da diese deutlich bessere Startroutinen haben. Inzwischen sind die BL-Controller angekommen, eingebaut und getestet. Allerdings hatte ich während meinen Ferien den Akku am NG angeschlossen gelassen, was zur totalen Entladung führte. Was ich nicht wusste, dass der Akku dadurch zerstört wird: Ab einer gewissen Zellenspannung ist der Akku unterladen und nicht wieder aufladbar&#8230; Die neuen Lipo-Akkus sind bereits bestellt muss ich mich bis zum Erstflug weiter gedulden.</p>
]]></content:encoded>
			<wfw:commentRss>http://uavp.agner.ch/2010/03/startprobleme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

