<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ygramulqc&#039;s Blog</title>
	<atom:link href="http://ygramulqc.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ygramulqc.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 14 Jan 2012 19:41:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ygramulqc.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ygramulqc&#039;s Blog</title>
		<link>http://ygramulqc.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ygramulqc.wordpress.com/osd.xml" title="Ygramulqc&#039;s Blog" />
	<atom:link rel='hub' href='http://ygramulqc.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Full digital FPV car enhacements</title>
		<link>http://ygramulqc.wordpress.com/2012/01/14/full-digital-fpv-car-enhacements/</link>
		<comments>http://ygramulqc.wordpress.com/2012/01/14/full-digital-fpv-car-enhacements/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 19:41:40 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[fpv]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=130</guid>
		<description><![CDATA[I worked on my 3G data link based FPV car with the Android Smartphone. Improved the following things Wide angle lense &#8220;4 channel&#8221; RC transmitter for control input generation Automatic reconnect function on both sides, Smartphone and Laptop The first thing is an optional lense to get view angel of nearly 90 degres. That helps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=130&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://ygramulqc.files.wordpress.com/2012/01/carwithgalaxys2.jpg"><img src="http://ygramulqc.files.wordpress.com/2012/01/carwithgalaxys2.jpg?w=300&#038;h=225" alt="" title="Car with galaxy S2 smartphone" width="300" height="225" class="alignnone size-medium wp-image-131" /></a></p>
<p>I worked on my 3G data link based FPV car with the Android Smartphone. Improved the following things</p>
<ul>
<li>Wide angle lense</li>
<li>&#8220;4 channel&#8221; RC transmitter for control input generation</li>
<li>Automatic reconnect function on both sides, Smartphone and Laptop</li>
</ul>
<p>The first thing is an optional lense to get view angel of nearly 90 degres. That helps a lot to navigate and control a vehicle with first person view. Another effect is, that the cam gets more light from the environment and that improves also the speed of dark-bright adaption.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2012/01/galaxys2withlense.jpg"><img src="http://ygramulqc.files.wordpress.com/2012/01/galaxys2withlense.jpg?w=300&#038;h=224" alt="" title="Galaxy S2 with aditional lense and protection casing" width="300" height="224" class="alignnone size-medium wp-image-132" /></a></p>
<p>The second thing was to find something with which it is easier to control a vehicle than with the mouse pad. An old remote from an xufo is used for that. To get the stick positions an Arduino reads the potentiometer values and send it via FTDI interface to the laptop.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2012/01/xuforcarduinoftdi.jpg"><img src="http://ygramulqc.files.wordpress.com/2012/01/xuforcarduinoftdi.jpg?w=300&#038;h=225" alt="" title="xUfo RC with Arduino and FTDI connetion" width="300" height="225" class="alignnone size-medium wp-image-133" /></a></p>
<p>The last was, to improve the software on Smartphone and Laptop a bit. The main thing was to introduce a detection if connection is lost on both sides. If this is the case, the smartphone software try to reconnect and the laptop software informs the user that connection is lost and wait for a new connection.</p>
<p>Now the car is much more controllable, even with a poor 3G data link as you can see on the following video:</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/35057580' width='400' height='300' frameborder='0'></iframe></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=130&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2012/01/14/full-digital-fpv-car-enhacements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2012/01/carwithgalaxys2.jpg?w=300" medium="image">
			<media:title type="html">Car with galaxy S2 smartphone</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2012/01/galaxys2withlense.jpg?w=300" medium="image">
			<media:title type="html">Galaxy S2 with aditional lense and protection casing</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2012/01/xuforcarduinoftdi.jpg?w=300" medium="image">
			<media:title type="html">xUfo RC with Arduino and FTDI connetion</media:title>
		</media:content>
	</item>
		<item>
		<title>FPV Car with video and control via 3G data link</title>
		<link>http://ygramulqc.wordpress.com/2012/01/01/fpv-car-with-video-and-control-via-3g-data-link/</link>
		<comments>http://ygramulqc.wordpress.com/2012/01/01/fpv-car-with-video-and-control-via-3g-data-link/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 17:57:48 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[fpv]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[smartphone]]></category>
		<category><![CDATA[video telephony]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=118</guid>
		<description><![CDATA[In the last post the connection between the Android smartphone and an RC Car was established. Now it&#8217;s also possible to have a connection from the smartphone to the Internet for both, video streaming and remote controlling (RC). Both is needed for a first person view controlling of a vehicle. But why controlling a FPV [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=118&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the last post the connection between the Android smartphone and an RC Car was established. Now it&#8217;s also possible to have a connection from the smartphone to the Internet for both, video streaming and remote controlling (RC). Both is needed for a first person view controlling of a vehicle.</p>
<p>But why controlling a FPV car via Internet? Because theoretically there is no limit about the range except the battery capacity. Normal FPV gear and RC components have without the need of a special radio license in Germany a range about half or one kilometer with clear line of sight between sender and receiver. On ground it&#8217;s even less, maybe 100 or 200 meter at best. With a 3G data link it depends on the telecommunication net which is big on most places. That&#8217;s the reason for doing a little bit &#8220;research&#8221; on this topic.</p>
<p>The video can be produced through the on board cam of the smartphone. The cam video can be streamed to the net. I use Skype &#8482; for this purpose, because it&#8217;s fast and easy available for my Galaxy S2 and support video telephony.</p>
<p>The tricky part was the car controlling. I decided to establish the connection from the smartphone to my laptop. This worked well even through the home router. Next part was the protocol. TCP is not the perfect option, because it can be very slow with all the checks in it. UDP is much better, because it doesn&#8217;t matter if some of the controlling information don&#8217;t reach the car. It&#8217;s much more important that &#8211; new &#8211; controlling information coming fast to the car.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_init.png"><img class="alignnone size-full wp-image-121" title="3G FPV Software Stack - Initialization" src="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_init.png?w=595&#038;h=157" alt="" width="595" height="157" /></a></p>
<p>For this the smartphone act as the client. On the laptop site there is a small server software which communicate with the smartphone. This software wait for the initial UDP connection of the smartphone and send after that control information via UDP to the smartphone. The smartphone transmit these information via Bluetooth to the Arduino.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_control.png"><img class="alignnone size-full wp-image-120" title="3G FPV Software Stack - Controlling" src="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_control.png?w=595&#038;h=122" alt="" width="595" height="122" /></a></p>
<p>A first test show that this all works together but with a lack of accuracy and some delay.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/34432128' width='400' height='300' frameborder='0'></iframe></div>
<p>I think the software part of this approach can be improved for faster and better reactions and also more reliability. This approach also use 3G data link and IPv4. You can imagine how this will be improved if IPv6 and 4G data link is available.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=118&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2012/01/01/fpv-car-with-video-and-control-via-3g-data-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_init.png" medium="image">
			<media:title type="html">3G FPV Software Stack - Initialization</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2012/01/3g_fpv_car_control.png" medium="image">
			<media:title type="html">3G FPV Software Stack - Controlling</media:title>
		</media:content>
	</item>
		<item>
		<title>RC Car steering with a Android smartphone via Bluetooth</title>
		<link>http://ygramulqc.wordpress.com/2011/12/23/rc-car-steering-with-a-android-smartphone-via-bluetooth/</link>
		<comments>http://ygramulqc.wordpress.com/2011/12/23/rc-car-steering-with-a-android-smartphone-via-bluetooth/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 19:41:28 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[arduino]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=114</guid>
		<description><![CDATA[Smartphones are a really great thing. They have a lot of sensors, computing power, great communication capabilities and a really nice display. Combine a smartphone with an rc vehicle is really attractive. You can do a lot of things with it. Control it, display telemetry data or other things as well. So I start with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=114&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Smartphones are a really great thing. They have a lot of sensors, computing power, great communication capabilities and a really nice display.<br />
Combine a smartphone with an rc vehicle is really attractive. You can do a lot of things with it. Control it, display telemetry data or other things as well. So I start with the communication and choose bluetooth for the connection.</p>
<p>There are cheap and simple serial bluetooth modules available with an uart interface. Perfect to put it on an arduino and communicate with it. The chosen module had a default baud rate of 9600 or 19200, I&#8217;m not quite shure about that. But this can be changed with a &#8220;AT&#8221; command to 115200 (&#8220;AT+BAUD8&#8243; in my case). The command has to be send to the module fast and complete. On my mac I&#8217;d some problems to configure the module, but on the linux within a virtual machine it works perfect. I connect the module on a USB to UART adapter and used something like:<br />
<code><br />
echo "AT+BAUD8" &gt; /dev/USB0<br />
</code></p>
<p>On the Arduino site it is really simple to connect one of the six possible PWM output pins to the servo or electronic speed controller (ESC) of the car. If connected, it can be set with the arduino analogWrite command. It should be a value between 128 and 255, because a value lower than 128 is like &#8220;no signal&#8221; for the servo or ESC. On the traxxas car the ESC had to be recalibrated, because &#8220;neutral&#8221; position was something different than 192 (128 + 128/2).</p>
<p>Now, everything on the &#8220;car-site&#8221; is fine. What&#8217;s about the smartphone site? I choosed android for some reasons. One of them is the open architecture and the free software developement kit without any registration. There are some tutorials and examples for the bluetooth communication. Important to get a connection is the correct UUID for a serial module. To communicate with a bondet device the code should include something like<br />
<code><br />
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();<br />
Set pairedDevices = mBluetoothAdapter.getBondedDevices();<br />
BluetoothDevice mbtDevice;<br />
for (BluetoothDevice device : pairedDevices) {<br />
  mbtDevice = device;<br />
}<br />
BluetoothSocket btSocket = mbtDevice.createRfcommSocketToServiceRecord(UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"));<br />
btSocket.connect();<br />
InputStream btInputStream = btSocket.getInputStream();<br />
OutputStream btOutputStream = btSocket.getOutputStream();<br />
</code></p>
<p>How this work all together you can see in the following video</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/34132926' width='400' height='300' frameborder='0'></iframe></div>
<p>Now a basis for further experiments is established.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=114&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2011/12/23/rc-car-steering-with-a-android-smartphone-via-bluetooth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>
	</item>
		<item>
		<title>Very simple and basic use of an Arduino on a remote plane.</title>
		<link>http://ygramulqc.wordpress.com/2011/05/24/very-simple-and-basic-use-of-an-arduino-on-a-remote-plane/</link>
		<comments>http://ygramulqc.wordpress.com/2011/05/24/very-simple-and-basic-use-of-an-arduino-on-a-remote-plane/#comments</comments>
		<pubDate>Tue, 24 May 2011 20:27:12 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[fpv]]></category>
		<category><![CDATA[uav]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=110</guid>
		<description><![CDATA[To start developing something with an arduino you may as yourself &#8220;what can I build, which is easy at start and a lot of fun, too&#8221;. If you like (remote) planes, maybe the follwing is something for you. I changed the electronic controlling unit from a plane which has no rudder to controll it but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=110&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To start developing something with an arduino you may as yourself &#8220;what can I build, which is easy at start and a lot of fun, too&#8221;.<br />
If you like (remote) planes, maybe the follwing is something for you. I changed the electronic controlling unit from a plane<br />
which has no rudder to controll it but two diffenrent prop speeds on each side. Famous product groups of these kind of planes<br />
are X-Twin or AirAce. The nice thing is, you only need a small arduino, a small receiver and 8 other electronic parts. Two mos-fet, two dioden, some capacitor and a power regulation like the 7805. That&#8217;s all, simple to build and also cheap stuff.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2011/05/arduinorc.jpg"><img src="http://ygramulqc.files.wordpress.com/2011/05/arduinorc.jpg?w=300&#038;h=197" alt="arduino for a remote plane" title="schematic of electronic" width="300" height="197" class="alignnone size-medium wp-image-111" /></a></p>
<p>On the arduino site you need two of the PWM output channels to control the speed of the motors via the mos-fet.<br />
<code><br />
  analogWrite(motorPin, motorValue);<br />
</code><br />
Two digital input pins on the arduino are needet to read the two controlling channels of the receiver. To read a channel you basically measure the time between a low/high change on the pin and get the value of your rc. You can try something like pulseIn() or<br />
for better results use an existing code like the one who is used in the MultiWiiCopter.</p>
<p>The only thing left is to mix the rc values to your motors, but this is easy. Something like<br />
<code><br />
  motor_left  = power + (direction - direction_center)<br />
  motor_right = power - (direction - direction_center)<br />
</code><br />
will do the work, but keep in mind that your PWM output only can handle values between 0 to 255.</p>
<p>Now you can control the direction and the altitude of your plane. So you can also extend this vehicle with some other sensors to<br />
stabilize it, or give your &#8220;robot&#8221; more autonomously behaviour. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Or you can just enjoy your plane with a light fpv cam+video tx combination, like me on this video.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/24131979' width='400' height='300' frameborder='0'></iframe></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=110&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2011/05/24/very-simple-and-basic-use-of-an-arduino-on-a-remote-plane/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2011/05/arduinorc.jpg?w=300" medium="image">
			<media:title type="html">schematic of electronic</media:title>
		</media:content>
	</item>
		<item>
		<title>Arduino based RC</title>
		<link>http://ygramulqc.wordpress.com/2011/02/08/arduino-based-rc/</link>
		<comments>http://ygramulqc.wordpress.com/2011/02/08/arduino-based-rc/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 17:41:10 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[SimUAV]]></category>
		<category><![CDATA[uav]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=98</guid>
		<description><![CDATA[For a better controlling of the plane I reused a old rc from my silverlit x-ufo. Changed the electronic of the rc to an arduino based and used a wi232 module for the transmission of the control commands. The old &#8220;mousepad approach&#8221; I used is not very handy if the environment and especially the plane [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=98&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For a better controlling of the plane I reused a old rc from my silverlit x-ufo. Changed the electronic of the rc to an arduino based and used a wi232 module for the transmission of the control commands. The old &#8220;mousepad approach&#8221; I used is not very handy if the environment and especially the plane is not in best condition.<br />
So it&#8217;s more comfortable to control the plane this way.<br />
The construction is not a big deal. I only used a 7805 to get 5 volt from the batteries and connect everything to this. You only have to remember to cross rx and tx between rc and plane. Also double check with one is the &#8220;middle&#8221; pin of the poti to connect to the analog input pin on the arduino.<br />
I also used the soft serial library to get a second serial interface. This is used for logging on the pc at the moment.</p>
<p>.<a href="http://ygramulqc.files.wordpress.com/2011/02/gcback.jpg"><img src="http://ygramulqc.files.wordpress.com/2011/02/gcback.jpg?w=595" alt="Selfmade RC rear side" title="gcBack"   class="alignnone size-full wp-image-101" /></a><a href="http://ygramulqc.files.wordpress.com/2011/02/gcfront.jpg"><img src="http://ygramulqc.files.wordpress.com/2011/02/gcfront.jpg?w=595" alt="Selfmade RC front side" title="gcFront"   class="alignnone size-full wp-image-100" /></a></p>
<p>Advantages of this are</p>
<ul>
<li>Small device to control the plane</li>
<li>No limit on &#8220;channels&#8221; compared to a traditional rc</li>
<li>Back-channel for telematic or other information</li>
<li>Resolution up to 1000 steps on a poti</li>
<li>Free programmable</li>
<li>Optional logging capabilities</li>
</ul>
<p>You can also use the normal rc that you get with such a plane like mine. I use the &#8220;bigger&#8221; x-ufo rc because of the two way control of every stick. In this way I have the option to test this also on other vehicles like a copter.</p>
<p>First testflights on a gusty day:<br />
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/19708624' width='400' height='300' frameborder='0'></iframe></div></p>
<p>On the last flight the plane &#8220;landed&#8221; in the water channel.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=98&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2011/02/08/arduino-based-rc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2011/02/gcback.jpg" medium="image">
			<media:title type="html">gcBack</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2011/02/gcfront.jpg" medium="image">
			<media:title type="html">gcFront</media:title>
		</media:content>
	</item>
		<item>
		<title>OSP Quadrocopter ACC/stable mode</title>
		<link>http://ygramulqc.wordpress.com/2011/01/15/osp-quadrocopter-accstable-mode/</link>
		<comments>http://ygramulqc.wordpress.com/2011/01/15/osp-quadrocopter-accstable-mode/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 19:23:40 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[OSP]]></category>
		<category><![CDATA[quadrocopter]]></category>
		<category><![CDATA[uav]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=93</guid>
		<description><![CDATA[Today I did my first outdoor testflight with the newly implemented ACC/stable-mode. ACC means it uses a accelerator sensor to level the quadrocopter if nick/roll stick is in middle position. Another mode is Heading Hold (HH) which means the copter hold its attitude if nick/roll stick is in middle position. For the HH mode only [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=93&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I did my first outdoor testflight with the newly implemented ACC/stable-mode. ACC means it uses a accelerator sensor to level the quadrocopter if nick/roll stick is in middle position. Another mode is Heading Hold (HH) which means the copter hold its attitude if nick/roll stick is in middle position. For the HH mode only gyros are nessesary and the copter do not need to know where the bottom is. On the OSP you can switch between both modes while flying.</p>
<p>This is an easy and basic implementation of the ACC mode. Fusion of the gyro and acc sensor values are done with the following code.<br />
<code><br />
int angle_diff_nick=IMU_CalcData.acc_angle_nick-CTRL_FlightParams.reserved[ACC_TRIM_NICK]-IMU_CalcData.angle_nick;<br />
angle_diff_nick*=CTRL_FlightParams.approach_speed;<br />
angle_diff_nick/=1000;<br />
IMU_CalcData.angle_nick+=angle_diff_nick;<br />
</code></p>
<p>A pd controller is responsible to get the correct attitude.</p>
<p><code><br />
perror_nick = (-real_nick * CTRL_FlightParams.K_stick_nick) + IMU_CalcData.angle_nick;<br />
derror_nick = perror_nick - old_error_nick;<br />
CTRL_InternalOut.nick= (CTRL_FlightParams.Kp_nick*perror_nick)+(CTRL_FlightParams.Kd_nick*derror_nick);<br />
old_error_nick = perror_nick;<br />
</code></p>
<p>And here is the video of the first outdoor testflight.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/18819049' width='400' height='300' frameborder='0'></iframe></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=93&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2011/01/15/osp-quadrocopter-accstable-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>
	</item>
		<item>
		<title>SimUAV &#8211; New Ground Tool</title>
		<link>http://ygramulqc.wordpress.com/2011/01/07/simuav-new-ground-tool/</link>
		<comments>http://ygramulqc.wordpress.com/2011/01/07/simuav-new-ground-tool/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 20:07:42 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[gps]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[SimUAV]]></category>
		<category><![CDATA[uav]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=88</guid>
		<description><![CDATA[On my little uav plane project I started with a new tool for the laptop. It should be possible to create a waypoint map and to track the current position of the plane. I tried to keep things simple as possible but also that it is useable. As alsways it should be usable on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=88&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On my little uav plane project I started with a new tool for the laptop. It should be possible to create a waypoint map and to track the current position of the plane. I tried to keep things simple as possible but also that it is useable. As alsways it should be usable on the most popular operation systems. In the end it&#8217;s a java swing application created with netbeans.</p>
<p>Most things are configurable, like maps, size of waypoint, default map position on earth and other things.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/18323511' width='400' height='300' frameborder='0'></iframe></div>
<p>Tracking the current position is also tested with my gps simulator on the plane. The plane send this position wireless to the ground application which displays the position in the map.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/18505593' width='400' height='300' frameborder='0'></iframe></div>
<p>The next two tasks are to extend the plane/arduino firmware with waypoint flight function and to create a simple plane simulation on the laptop. This way it&#8217;s much better and saver to test, especially at winter time. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The code is available as usual on the <a href="http://sf.net/p/simuav/">project page</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=88&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2011/01/07/simuav-new-ground-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>
	</item>
		<item>
		<title>New electronic build-up for SimUAV</title>
		<link>http://ygramulqc.wordpress.com/2010/12/08/new-electronic-build-up-for-simuav/</link>
		<comments>http://ygramulqc.wordpress.com/2010/12/08/new-electronic-build-up-for-simuav/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 20:44:46 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[SimUAV]]></category>
		<category><![CDATA[uav]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=85</guid>
		<description><![CDATA[After the nice testflight of my simple uav plane I decide to rebuild the electronic part for some improvements: Size &#8211; should fit into the plane cargo bay Easy reflash the arduino &#8211; not reconnect wires every time Remove unnecessary parts &#8211; AnyVolt Micro is not needed GPS connection &#8211; just plug in the GPS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=85&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After the nice testflight of my simple uav plane I decide to rebuild the electronic part for some improvements:</p>
<ul>
<li>Size &#8211; should fit into the plane cargo bay</li>
<li>Easy reflash the arduino &#8211; not reconnect wires every time</li>
<li>Remove unnecessary parts &#8211; AnyVolt Micro is not needed</li>
<li>GPS connection &#8211; just plug in the GPS module</li>
</ul>
<p>On the picture you see three electronic build-ups. The original AirAce electronic on the left. In the middle it&#8217;s the electronic of the successful maiden flight and on the right side the new one which fit into the plane and should be also more robust.</p>
<p><a href="http://ygramulqc.files.wordpress.com/2010/12/electronics.jpg"><img src="http://ygramulqc.files.wordpress.com/2010/12/electronics.jpg?w=300&#038;h=161" alt="" title="Electronic modules for SimUAV plane" width="300" height="161" class="alignnone size-medium wp-image-86" /></a></p>
<p>Next steps are to test all functions of the electronic and play a little bit with the new Firmware 0.2. Especially if the GPS data is received and interpreted correctly. This can be done with the GPS module itself or by my &#8220;GPS Simulator&#8221;. If these things work well a new testflight will show if the flight behaviour is stable enough or if I need an additional sensor to stabilize the plane.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=85&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2010/12/08/new-electronic-build-up-for-simuav/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2010/12/electronics.jpg?w=300" medium="image">
			<media:title type="html">Electronic modules for SimUAV plane</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Simple UAV&#8221; maiden flight</title>
		<link>http://ygramulqc.wordpress.com/2010/11/30/simple-uav-maiden-flight/</link>
		<comments>http://ygramulqc.wordpress.com/2010/11/30/simple-uav-maiden-flight/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 19:10:10 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[SimUAV]]></category>
		<category><![CDATA[uav]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=80</guid>
		<description><![CDATA[On the last sunday I&#8217;d the maiden flight of my &#8220;Simple UAV&#8221; plane. The weather was not really perfect because it&#8217;s cold these days and also just a little bit wind, but after some tries I get more comfortable with the touchpad-controlling. Two flights are short, but not too bad and showed me what&#8217;s working [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=80&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On the last sunday I&#8217;d the maiden flight of my &#8220;Simple UAV&#8221; plane. The weather was not really perfect because it&#8217;s cold these days and also just a little bit wind, but after some tries I get more comfortable with the touchpad-controlling. Two flights are short, but not too bad and showed me what&#8217;s working and what&#8217;s to improve.</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/17260820' width='400' height='300' frameborder='0'></iframe></div>
<p>The value for both motor sides for straight and level flight are between 60 and 110 (maximum is 255). Control input to the left and right are not more than +/-50. Without checksum it&#8217;s possible on a distance of ca. 100m that single controlling signals went wrong and the plane do something &#8220;strange&#8221;. This happens only just for a part of a second but it&#8217;s enough .. to much I would say.</p>
<p>Battery minimum was about 6 Volt for a very short time with full loading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=80&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2010/11/30/simple-uav-maiden-flight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>
	</item>
		<item>
		<title>Some kind of &#8220;hardware in the loop&#8221;</title>
		<link>http://ygramulqc.wordpress.com/2010/11/13/some-kind-of-hardware-in-the-loop/</link>
		<comments>http://ygramulqc.wordpress.com/2010/11/13/some-kind-of-hardware-in-the-loop/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 18:43:26 +0000</pubDate>
		<dc:creator>ygramulqc</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[OSP]]></category>
		<category><![CDATA[quadrocopter]]></category>

		<guid isPermaLink="false">http://ygramulqc.wordpress.com/?p=74</guid>
		<description><![CDATA[Today I did my first &#8220;HIL-Test&#8221;. Ok, a real &#8220;Hardware in the loop&#8221; might be a little bit more complex. What I did was to connect my Quadrocopter with two serial interface to my computer. With the first connection I get the quadrocopter internal information to the mac. On the second connection &#8211; normally &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=74&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I did my first &#8220;HIL-Test&#8221;. Ok, a real &#8220;Hardware in the loop&#8221; might be a little bit more complex. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>What I did was to connect my Quadrocopter with two serial interface to my computer. With the first connection I get the quadrocopter internal information to the mac. On the second connection &#8211; normally &#8211; a gps receiver can be connected to the quadrocopter. Now I implemented a gps simulation on my mac and put these simulated gps data to the quadrocopter. The first connection is now used to see, if the quadrocopter use the gps information in a correct way.</p>
<p>Now I see that this works and on the next step I can check if calculating the home position or the next waypoint is correct. The nice thing is, that the gps simulation allow to get me a moving position without a time-consuming and risky testflight. The other point is, that winter time is not very nice for outdoor tests. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://ygramulqc.files.wordpress.com/2010/11/hil_screenshot.jpg"><img src="http://ygramulqc.files.wordpress.com/2010/11/hil_screenshot.jpg?w=300&#038;h=187" alt="OSPGroundControl to visualise quadrocopter data and GPSParser to simulate GPS" title="HIL Screenshot" width="300" height="187" class="alignnone size-medium wp-image-75" /></a></p>
<p><a href="http://ygramulqc.files.wordpress.com/2010/11/hil_hardware.jpg"><img src="http://ygramulqc.files.wordpress.com/2010/11/hil_hardware.jpg?w=300&#038;h=197" alt="X-BL Quadrocopter with OSP Firmware and two serial connections to the Mac" title="HIL Hardware" width="300" height="197" class="alignnone size-medium wp-image-76" /></a></p>
<p>All the code &#8211; simulation, quadrocopter firmware and data visualisation &#8211; is available on the subversion repository on the project website (http://sourceforge.net/p/opensourcepilot/).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygramulqc.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygramulqc.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygramulqc.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygramulqc.wordpress.com&amp;blog=12761648&amp;post=74&amp;subd=ygramulqc&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ygramulqc.wordpress.com/2010/11/13/some-kind-of-hardware-in-the-loop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/721c838114ebe6233868c941fee80b13?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ygramulqc</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2010/11/hil_screenshot.jpg?w=300" medium="image">
			<media:title type="html">HIL Screenshot</media:title>
		</media:content>

		<media:content url="http://ygramulqc.files.wordpress.com/2010/11/hil_hardware.jpg?w=300" medium="image">
			<media:title type="html">HIL Hardware</media:title>
		</media:content>
	</item>
	</channel>
</rss>
