<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danstah</id>
	<title>PaparazziUAV - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danstah"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/Danstah"/>
	<updated>2026-04-08T05:18:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=GCS_Configuration&amp;diff=8270</id>
		<title>GCS Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=GCS_Configuration&amp;diff=8270"/>
		<updated>2010-12-28T15:40:11Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Configuration Options */ Updated config options&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Control Panel ==&lt;br /&gt;
The control panel is launched with the following command:&lt;br /&gt;
 &amp;lt;tt&amp;gt;./sw/supervision/paparazzi.pl&amp;lt;/tt&amp;gt;&lt;br /&gt;
and is used to launch individual portions of the GCS (''Programs'') or the entire GCS (''Sessions'') with the modem and map settings defined in &amp;lt;tt&amp;gt;&amp;lt;b&amp;gt;/conf/control_panel.xml&amp;lt;/b&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Configuration Options===&lt;br /&gt;
&lt;br /&gt;
Here are the different Configuration Options for launching the GCS. They are a bit crude since they are simply pasted here from the code but give a good overview.&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-auto_ortho&amp;quot;, Arg.Set auto_ortho, &amp;quot;IGN tiles path&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-b&amp;quot;, Arg.String (fun x -&amp;gt; ivy_bus := x), &amp;quot;Bus\tDefault is 127.255.255.25:2010&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-center&amp;quot;, Arg.Set_string center, &amp;quot;Initial map center (e.g. 'WGS84 43.605 1.443')&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-center_ac&amp;quot;, Arg.Set auto_center_new_ac, &amp;quot;Centers the map on any new A/C&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-edit&amp;quot;, Arg.Unit (fun () -&amp;gt; edit := true; layout_file := &amp;quot;editor.xml&amp;quot;), &amp;quot;Flight plan editor&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-fullscreen&amp;quot;, Arg.Set fullscreen, &amp;quot;Fullscreen window&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-google_fill&amp;quot;, Arg.Set GM.auto, &amp;quot;Google maps auto fill&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-ign&amp;quot;, Arg.String (fun s -&amp;gt; ign:=true; IGN.data_path := s), &amp;quot;IGN tiles path&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-lambertIIe&amp;quot;, Arg.Unit (fun () -&amp;gt; projection:=G.LambertIIe),&amp;quot;Switch to LambertIIe projection&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-layout&amp;quot;, Arg.Set_string layout_file, (sprintf &amp;quot;&amp;lt;XML layout specification&amp;gt; GUI layout. Default: %s&amp;quot; !layout_file);&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-m&amp;quot;, Arg.String (fun x -&amp;gt; map_files := x :: !map_files), &amp;quot;Map XML description file&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-maximize&amp;quot;, Arg.Set maximize, &amp;quot;Maximize window&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-mercator&amp;quot;, Arg.Unit (fun () -&amp;gt; projection:=G.Mercator),&amp;quot;Switch to (Google Maps) Mercator projection, default&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-mplayer&amp;quot;, Arg.Set_string mplayer, &amp;quot;Launch mplayer with the given argument as X plugin&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-no_alarm&amp;quot;, Arg.Set no_alarm, &amp;quot;Disables alarm page&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-no_google_http&amp;quot;, Arg.Unit (fun () -&amp;gt; Gm.set_policy Gm.NoHttp), &amp;quot;Switch off Google Maps downloading&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-ortho&amp;quot;, Arg.Set_string get_bdortho, &amp;quot;IGN tiles path&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-osm&amp;quot;, Arg.Unit (fun () -&amp;gt; Gm.set_maps_source Gm.OSM), &amp;quot;Use OpenStreetMap database (default is Google)&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-particules&amp;quot;, Arg.Set display_particules, &amp;quot;Display particules&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
    &amp;quot;-plugin&amp;quot;, Arg.Set_string  plugin_window, &amp;quot;External X application (launched with the id of the plugin window as argument)&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-ref&amp;quot;, Arg.Set_string geo_ref, &amp;quot;Geographic ref (e.g. 'WGS84 43.605 1.443')&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-speech&amp;quot;, Arg.Set Speech.active, &amp;quot;Enable vocal messages&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-srtm&amp;quot;, Arg.Set srtm, &amp;quot;Enable SRTM elevation display&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-track_size&amp;quot;, Arg.Set_int Live.track_size, (sprintf &amp;quot;Default track length (%d)&amp;quot; !Live.track_size);&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-utm&amp;quot;, Arg.Unit (fun () -&amp;gt; projection:=G.UTM),&amp;quot;Switch to UTM local projection&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-wid&amp;quot;, Arg.String (fun s -&amp;gt; wid := Some (Int32.of_string s)), &amp;quot;&amp;lt;window id&amp;gt; Id of an existing window to be attached to&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
   &amp;quot;-zoom&amp;quot;, Arg.Set_float zoom, &amp;quot;Initial zoom&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Video plugin ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;-mplayer&amp;lt;/tt&amp;gt; option of GCS allows to the user to display a video stream in a window of the GCS.  The video window can also be exchanged with the map by clicking anywhere inside the frame.&lt;br /&gt;
Use the following line in your &amp;lt;tt&amp;gt;/conf/control_panel.xml&amp;lt;/tt&amp;gt; to enable the video window.&lt;br /&gt;
 &amp;lt;tt&amp;gt;path_to_ground_segment/cockpit/gcs -mplayer rtsp://localhost:7070/video&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
The layout of the different components (map, strips, ...) of the gcs is configurable through a ''style'' XML file located in &amp;lt;tt&amp;gt;conf/gcs/&amp;lt;/tt&amp;gt;. The specification is done via a combination of rows and columns. The default layout is given in the &amp;lt;tt&amp;gt;horizontal.xml&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE layout SYSTEM &amp;quot;layout.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;layout width=&amp;quot;1024&amp;quot; height=&amp;quot;768&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;rows&amp;gt;&lt;br /&gt;
  &amp;lt;widget size=&amp;quot;500&amp;quot; name=&amp;quot;map2d&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;columns&amp;gt;&lt;br /&gt;
   &amp;lt;rows size=&amp;quot;350&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;widget size=&amp;quot;120&amp;quot; name=&amp;quot;strips&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;widget name=&amp;quot;alarms&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;/rows&amp;gt;&lt;br /&gt;
   &amp;lt;widget size=&amp;quot;400&amp;quot; name=&amp;quot;aircraft&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;widget size=&amp;quot;00&amp;quot; name=&amp;quot;plugin&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/columns&amp;gt;&lt;br /&gt;
 &amp;lt;/rows&amp;gt;&lt;br /&gt;
 &amp;lt;/layout&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default size ('''1024x768''') of the whole window is specified in the root of the tree. The window is then divided in two rows: &lt;br /&gt;
* the &amp;lt;tt&amp;gt;map2d&amp;lt;/tt&amp;gt; with a requested height of '''500'''&lt;br /&gt;
* a set of columns containing&lt;br /&gt;
** a set of rows of width '''350''' divided into&lt;br /&gt;
**: the '''strips''' frame of height '''120'''&lt;br /&gt;
**: the '''alarms''' frame&lt;br /&gt;
** the notebook frame ('''aircraft''') of width '''400'''&lt;br /&gt;
** the video plugin frame&lt;br /&gt;
&lt;br /&gt;
This second example (&amp;lt;tt&amp;gt;left_col.xml&amp;lt;/tt&amp;gt;) sets the map and the notebook on the right and the other frames in a left column:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE layout SYSTEM &amp;quot;layout.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;layout width=&amp;quot;1024&amp;quot; height=&amp;quot;768&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;columns&amp;gt;&lt;br /&gt;
   &amp;lt;rows size=&amp;quot;360&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;widget size=&amp;quot;120&amp;quot; name=&amp;quot;strips&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;widget size=&amp;quot;300&amp;quot; name=&amp;quot;plugin&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;widget name=&amp;quot;alarms&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;/rows&amp;gt;&lt;br /&gt;
   &amp;lt;rows&amp;gt;&lt;br /&gt;
     &amp;lt;widget name=&amp;quot;map2d&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;widget name=&amp;quot;aircraft&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;/rows&amp;gt;&lt;br /&gt;
 &amp;lt;/columns&amp;gt;&lt;br /&gt;
 &amp;lt;/layout&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This layout file is chosen with the &amp;lt;tt&amp;gt;-layout&amp;lt;/tt&amp;gt; option:&lt;br /&gt;
 &amp;lt;tt&amp;gt;path_to_ground_segment/cockpit/gcs -layout left_col.xml&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=8200</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=8200"/>
		<updated>2010-12-21T19:12:19Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* u-Blox C04-5H Reference Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[[Twog_v1|TWOG]]''', '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external GPS module and antenna.  The '''[[Tiny]]''' features an integrated receiver and antenna.  Either type is designed for [http://www.u-blox.com/ u-blox] 4 and 5 series GPS receivers and the proprietary UBX binary protocol.  An external battery or capacitor is typically used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4 and LEA-5 series receivers can be used including the less expensive LEA-4A, 4S, 5A and 5S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
*Low position [http://paparazzi.enac.fr/wiki_images/Gps_rx_noise.pdf noise] figure&lt;br /&gt;
[[Image:Lea5htiny13.jpg|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Ppzgps13med01.jpg|Top&lt;br /&gt;
Image:Ppzgps13_lrg_02.jpg|Bottom&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Paparazzi CVS provides a design for an external GPS board (required for TWOG and Classix Autopilots).&lt;br /&gt;
Programming it is similar to the Tiny2.11 GPS configuration. If you build your own you will want to upload the latest u-blox firmware before you configure. See &amp;quot;Getting Hardware&amp;quot; for sources of assembled boards.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The Paparazzi design in http://svn.savannah.nongnu.org/viewvc/paparazzi-hardware/trunk/sensors/gps_13/?root=paparazzi. The board is very small and light as it has only the components required. It is powered from the 5v line on the &amp;quot;downloads&amp;quot; connector of a TWOG. Also note it is a 4-layer PCB that means better noise resistance. The board has pins for USB connection but requires a different cable and a solder jumper to be move from the ground (default) to 3.3v input to enable the USB port on the module. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM.xls]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output.txt]&amp;lt;br&amp;gt;&lt;br /&gt;
See [[Get_Hardware|Get Hardware]] page for suppliers.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
==== Wiring Diagram ====&lt;br /&gt;
[[Image:TWOG to GPS.jpg|thumb|left]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===3rd Party u-blox reference design boards:===&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[[Image:LEA5HExternalModulePinout.jpg|100px|thumb|right|LEA-5H Full Board Pinout]]&lt;br /&gt;
The only other GPS board in use seems to be u-blox reference designs or similar to it. They have either LEA-4P or LEA-5H (typically) and several interfaces. Often a larger antenna as well. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NAVILOCK NL-507ETTL===&lt;br /&gt;
[[Image:Navilock NL-507ETTL.jpg|thumb|left|NAVILOCK NL-507TTL]]&lt;br /&gt;
The NAVILOCK NL-507TTL u-blox TTL Modul 60416 features an LEA-4 series receiver and 25mm patch antenna on a 30mm x 30mm board.&lt;br /&gt;
* Datasheet: [http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481 http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481]&lt;br /&gt;
* Purchase:  Available for 28€ at [http://www.amazon.de/Navilock-NL-507TTL-u-blox-TTL-Modul/dp/B0011E6VQG www.amazon.de]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SPK GS406===&lt;br /&gt;
[[Image:GS406.jpg|thumb|left|SPK GS406 with LEA-5]]&lt;br /&gt;
[http://www.sparkfun.com/commerce/product_info.php?products_id=8889 Sparkfun] sells a nice small module featuring the newer 5-series receiver and the highly rated Sarantel antenna for about $90.  The design is based around the active version of the Sarantel instead of the more appropriate passive model and there's some potentially tricky soldering involved to get around the ribbon cable but the price is great for this hardware.&lt;br /&gt;
&lt;br /&gt;
[http://store.diydrones.com/ProductDetails.asp?ProductCode=BR-0008-01 DIYDrones] has build a adapter board for this GPS module. It looks like a great solution to use this GPS module with Paparazzi.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===u-Blox C04-6H Reference Design===&lt;br /&gt;
[[Image:abavimage.jpg|100px|thumb|left|u-blox C04-5H]]&lt;br /&gt;
u-Blox sells a complete module with antenna for around $200 and will also provide complete schematics, BOM, and PCB files for free if you wish to make your own.  Two versions are offered, one with an 18mm patch antenna and the other with the Sarantel P2 helical antenna.&lt;br /&gt;
See [http://www.ublox.com/en/evaluation-tools-a-software/reference-designs/for-gps-chips/c04-6h.html http://www.ublox.com/en/evaluation-tools-a-software/reference-designs/for-gps-chips/c04-6h.html] for more info.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.[http://www.u-blox.com/products/Data_Sheets/TIM-LL_Data_Sheet(GPS.G3-MS3-04035).pdf]  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
To open the casing on a SAM-LS, remove the bottom of the casing by pulling gently, then work around popping off the solder joints (they are fairly weak) by pressing a small screwdriver against each tab in turn until it pops off.  You should then be able to access the GPS chip directly.&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore )&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/en/evaluation-tools-a-software/u-center/u-center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note 1: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
&lt;br /&gt;
* Note 2: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
&lt;br /&gt;
* Note 3: You can run u-center on Linux by installing &amp;quot;Wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and set up COM1 as /dev/ttyUSB0. You need to create a symbolic link from the COM device to TTY like this: &lt;br /&gt;
 ln -s /dev/ttyUSB0 ~/.wine/dosdevices/COM1&lt;br /&gt;
&lt;br /&gt;
or what worked in Ubuntu 9.10&lt;br /&gt;
 &lt;br /&gt;
 ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1&lt;br /&gt;
This command will create the symbolic link from ttyUSB0 to COM1. See Info on Wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with Wine, follow prompts. This has been tested with Ubuntu7.10 and Ubuntu 8.04 so far.&lt;br /&gt;
&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.zip LEA-5H (For Use w/ Firmware V5 ONLY!)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Text on top of the tree and choose '''disable child messages'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV5(Navigation 5) - set it to use '''Airborne 8 &amp;lt;4G'''. This tells the Kalman filter to expect significant changes in direction. &lt;br /&gt;
    Note that this setting is only good for faster moving airplanes. For a fixed position hovering heli, 'pedestrian' setting is better&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' This gives a 4 Hz position update since 4 x 250ms is one second.&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]]) also make sure you set tiny_2_1_1.h if you have the latest boards Tiny/TinyWOG)&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.esa.int/esaNA/ESAF530VMOC_egnos_1.html WAAS, EGNOS, and MSAS regions] though only WAAS and EGNOS are officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS officially became operational on 1 October 2009. ESA claims that it can determine position to within 2 metres compared with about 20 metres for GPS alone. Note that the service is currently provided only in western Europe. For further information see [http://www.esa.int/esaNA/egnos.html ESA EGNOS website].&lt;br /&gt;
&lt;br /&gt;
According to the [http://ec.europa.eu/transport/egnos/programme/doc/2009_egnos_sdd_os_v1.pdf EC] the EGNOS transmission will keep the &amp;quot;Do not use&amp;quot; type0/2 flag until it is certified for safety of life operations in (hopfefully) mid 2010. So you will have to enable the &amp;quot;Allow test mode use (Msg 0)&amp;quot; switch in the u-center under UBX-CFG-SBAS together with the correction to try EGNOS.&lt;br /&gt;
&lt;br /&gt;
The [http://www.u-blox.com/en/faq.html u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. The data transmitted by EGNOS in the past were usually good and valuable although sometimes unreliable, e.g. when system tests were performed. u-blox does not guarantee performance and status of EGNOS system. For the latest update about functionality of EGNOS please check the website: [http://www.gsa.europa.eu European GNSS Supervisory Authority]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
&lt;br /&gt;
Problem: I keep getting this error with my nice shiny Tiny v2.1 with a LEA-5H:&lt;br /&gt;
Invalid_argument(&amp;quot;Latlong.of_utm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Solution: Add the flag -DGPS_USE_LATLONG to your airframe file.&lt;br /&gt;
&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spectrum Control Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:PDC_Tiny21_S1.jpg|thumb|Spectrum Control 25mm]]&lt;br /&gt;
25mm patch testing on Tiny v2.1. Manufacturer Part Number [http://www.specemc.com/docs/antenna_catalog.pdf PA251575008SALF]. These are available from Mouser for about $3: [http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMukjKvgqb7HxzmcutVCLrkxFUj/3HCdKwE%3d 657-PA251575008SALF]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Compiling&amp;diff=8185</id>
		<title>Compiling</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Compiling&amp;diff=8185"/>
		<updated>2010-12-16T12:58:43Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Added Firmware Architecture to this- feel free to change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The goal of this part of the documentation is to give you insight in how to give your Autopilot board a ''Brain''. Airborne autopilot code, flight plans and configuration settings are compiled into a single file, sometimes referred to as a ''binary image''. After compilation this file is transferred to the Autopilot board micro-controller flash ROM through use of an USB cable. Note that most tuning and flight plan parameters can be changed in-flight but after each power cycle, the autopilot reverts to the original settings. Permanent changes are made by recompiling the airborne code and it's new configurations settings, and re-upload this to the autopilot board. It may sound complicated but in fact it is quite simple if you follow the steps below.&lt;br /&gt;
&lt;br /&gt;
== Get access to your computers USB port ==&lt;br /&gt;
&lt;br /&gt;
Regular users, (also known as Non-Root) by default, as security measure, can not access and interact with hardware in- and output- devices (I/O), USB ports included. To make it possible, the user you are using to program the autopilot board must be a member of the ''plugdev'' group. Note that usually the original username you used when you installed your Linux OS is already a member. &lt;br /&gt;
&lt;br /&gt;
If you are '''not''' already a member, add yourself to this ''plugdev'' group with the following command:&lt;br /&gt;
&lt;br /&gt;
  $ sudo adduser $USER plugdev&lt;br /&gt;
&lt;br /&gt;
It will be effective only on your next login or after the command&lt;br /&gt;
&lt;br /&gt;
  $ newgrp plugdev&lt;br /&gt;
&lt;br /&gt;
== USB flashing ==&lt;br /&gt;
&lt;br /&gt;
The Paparazzi device rules are required for USB flashing.  Copy them into place if you haven't already done so:&lt;br /&gt;
 &lt;br /&gt;
  $ sudo cp $PAPARAZZI_HOME/conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/&lt;br /&gt;
&lt;br /&gt;
If you are using Ubuntu with a version '''lower''' than v9.10, the [http://mielke.cc/brltty/ Braille TTY] driver interferes with FTDI USB Serial adapters and should be removed by running the following in the command prompt&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get remove brltty&lt;br /&gt;
&lt;br /&gt;
[[Image:Tiny_test_wiring.jpg|thumb|Example wiring for programming and telemetry]]&lt;br /&gt;
If the autopilot senses a connected USB cable during power-on, it will wait to receive a firmware image rather than booting normally.  The firmware can be compiled and flashed by several means, '''the simplest way using the [[Paparazzi_Center|Paparazzi Center]]''', the traditional way being:&lt;br /&gt;
 make AIRCRAFT=''myplane'' clean_ac ap.upload&lt;br /&gt;
 (where ''myplane'' is the name of your airframe as defined in &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
This command erases any compiled autopilot code from the PC, recompiles everything from scratch, and then sends it to the autopilot.  &lt;br /&gt;
Variations include:&lt;br /&gt;
* make AIRCRAFT=''myplane'' sim&lt;br /&gt;
*: Compiles your code for use in the simulator - note that &amp;quot;clean_ac&amp;quot; will remove this code, so the simulator code must be rebuilt each time a clean has been performed.&lt;br /&gt;
* make AIRCRAFT=''myplane'' fbw.upload&lt;br /&gt;
*: This is needed when configuring the separate &amp;quot;fly by wire&amp;quot; MCU on the [[Classix]] autopilot.&lt;br /&gt;
* make AIRCRAFT=''myplane'' ap&lt;br /&gt;
*: This will simply build the portions of autopilot code that have changed since the last compile without attempting to flash.  Note: this method may not detect certain changes (i.e. changes to the airframe makefile section or CVS updated code).&lt;br /&gt;
* make AIRCRAFT=''myplane'' ap.upload FLASH_MODE=IAP&lt;br /&gt;
*: Specifies USB flashing.  This should be specified at the top of the makefile section of your airframe file but can be overridden here.  Use FLASH_MODE=IAS for serial flashing.&lt;br /&gt;
&lt;br /&gt;
=== Verify that above upload works ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1 ====&lt;br /&gt;
&lt;br /&gt;
Connect an USB cable to the USB port on the autopilot board.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Fase2_Insert_Flightplan_A.jpg|Board to mini USB connect&lt;br /&gt;
Image:Fase2_Insert_Flightplan_B.jpg|Make sure you have a connector for power ('''Don't''' power up yet!)&lt;br /&gt;
Image:Fase2_Insert_Flightplan_C.jpg|Connect USB to PC '''and''' Board&lt;br /&gt;
Image:Fase2_Insert_Flightplan_D.jpg|only '''now''', power up the board&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now if you type the following command in your terminal...&lt;br /&gt;
&lt;br /&gt;
 $ dmesg | tail -5&lt;br /&gt;
&lt;br /&gt;
..you should see messages that look like:&lt;br /&gt;
&lt;br /&gt;
 [79212.484187] pl2303 1-2.3:1.0: device disconnected&lt;br /&gt;
 [82312.463077] usb 5-1: new high speed USB device using ehci_hcd and address 23&lt;br /&gt;
 [82327.555770] usb 5-1: device descriptor read/64, error -110&lt;br /&gt;
 [82342.752307] usb 5-1: device descriptor read/64, error -110&lt;br /&gt;
 [82342.968031] usb 5-1: new high speed USB device using ehci_hcd and address 24&lt;br /&gt;
&lt;br /&gt;
Which confirms that your device is powered up and working, and ready to accept new airborne code. In case you do not see this message, check your battery voltage and connections and make sure the cables are not broken.&lt;br /&gt;
&lt;br /&gt;
==== Step 2 ====&lt;br /&gt;
&lt;br /&gt;
Upload the compiled Autopilot code a.k.a, firmware&lt;br /&gt;
&lt;br /&gt;
   $ make AIRCRAFT=DEMO demo2.upload&lt;br /&gt;
&lt;br /&gt;
     make[1]: Leaving directory `/usr/share/paparazzi'&lt;br /&gt;
    cd sw/airborne; make PAPARAZZI_SRC=/usr/share/paparazzi PAPARAZZI_HOME=/home/dirkx/paparazzi TARGET=demo2 all&lt;br /&gt;
    make[1]: Entering directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    /home/dirkx/paparazzi/var/demo/demo2/demo2.elf  :&lt;br /&gt;
    section    size         addr&lt;br /&gt;
    .text       956        16384&lt;br /&gt;
    .ctors        0        17340&lt;br /&gt;
    .dtors        0        17340&lt;br /&gt;
    .data         0   1073741824&lt;br /&gt;
    .bss         12   1073741824&lt;br /&gt;
    .stack     4096   1073742080&lt;br /&gt;
    .comment     54            0&lt;br /&gt;
    Total      5118&lt;br /&gt;
    make[1]: Leaving directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    cd sw/airborne; make PAPARAZZI_SRC=/usr/share/paparazzi PAPARAZZI_HOME=/home/dirkx/paparazzi TARGET=demo2 upload&lt;br /&gt;
    make[1]: Entering directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    /usr/share/paparazzi/sw/ground_segment/lpc21iap/lpc21iap  /home/dirkx/paparazzi/var/demo/demo2/demo2.elf&lt;br /&gt;
    .&lt;br /&gt;
    Found USB device&lt;br /&gt;
    BootROM code: 2.12&lt;br /&gt;
    Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)&lt;br /&gt;
    BootLoader version: 1.3&lt;br /&gt;
    #&lt;br /&gt;
    Starting software at 0x00004000&lt;br /&gt;
    make[1]: Leaving directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    make: Leaving directory `/usr/share/paparazzi'&lt;br /&gt;
&lt;br /&gt;
Which confirms that your device has the bootloader functioning. The important bit of output is:&lt;br /&gt;
&lt;br /&gt;
    Found USB device&lt;br /&gt;
    BootROM code: 2.12&lt;br /&gt;
    Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)&lt;br /&gt;
    BootLoader version: 1.3&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
In the rare case your autopilot board does not have a bootloader, [http://paparazzi.enac.fr/wiki/BootloaderUploadHowTo read and follow the instruction on how to install a bootloader first]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: In the above example we're using a modified [http://paparazzi.enac.fr/wiki/Using_demo_programs_in_sw/airborne| demo] - which flashes the LEDs with a Tiny2.1 board): Be aware that the demos involving serial ports do not currently work with Tiny V2's.&lt;br /&gt;
&lt;br /&gt;
==== Step 3 ====&lt;br /&gt;
&lt;br /&gt;
Observe the LEDs flashing.&lt;br /&gt;
&lt;br /&gt;
==== Step 4 ====&lt;br /&gt;
&lt;br /&gt;
Disconnect the USB cable, Disconnect the power and reconnect the power of the autopilot board. The LED's should flash again.&lt;br /&gt;
&lt;br /&gt;
==== Step 5 ====&lt;br /&gt;
&lt;br /&gt;
Select aircraft MJ5, build and upload.&lt;br /&gt;
&lt;br /&gt;
Select airframe funjet1.xml (if you have a Tiny V2)&lt;br /&gt;
&lt;br /&gt;
Connect the serial port of your tiny to your PC using a level converter and select session Flight USB serial@9600.&lt;br /&gt;
&lt;br /&gt;
If you are using funjet1.xml:&lt;br /&gt;
*Stop all the processes but do not remove them.&lt;br /&gt;
*Edit the line Data Link and add &amp;quot;-s 57600&amp;quot; to the end, to tell the data link the baud rate of the MJ5.&lt;br /&gt;
*Restart Data Link, Server and GCS in that order.&lt;br /&gt;
&lt;br /&gt;
If all went well, it should work and you should see messages coming in from the Tiny!&lt;br /&gt;
&lt;br /&gt;
== Installing the tunnel for direct access to the GPS ==&lt;br /&gt;
&lt;br /&gt;
This completely replaces the normal autopilot code (leaving the USB bootloader intact) with a simple serial-to-serial pass-thru that essentially connects the GPS serial port directly to the modem serial port or a USB-to-serial connection that creates a USB serial port that goes to GPS port or modem port. Use this only to gain direct access to the GPS for testing/configuration with [[GPS#GPS_configuration_using_U-Center|U-Center]] or other software.&lt;br /&gt;
&lt;br /&gt;
==== UART tunnel ====&lt;br /&gt;
&lt;br /&gt;
Use this if you have a serial cable to connect. The LEDs will blink when data is transferred. Type the following command from your paparazzi folder, substituting the name of your airframe and paying attention to case sensitivity:&lt;br /&gt;
 make AIRCRAFT=''myplane'' tunnel.upload&lt;br /&gt;
Connect the USB cable and power on the autopilot to receive the code.&lt;br /&gt;
&lt;br /&gt;
This can be done without the USB bootloader by appending ''FLASH_MODE=ISP'' to the command line (specifying ISP serial loading).  This will require a serial cable connection (i.e. FTDI USB-to-TTL). '''WARNING!''' Installing tunnel code with the ISP method will erase any USB bootloader code. Make sure you are able to install a bootloader yourself.&lt;br /&gt;
&lt;br /&gt;
==== USB tunnel ====&lt;br /&gt;
&lt;br /&gt;
This can be done without a serial cable just by having USB. The LEDs will blink when data is transferred. It can connect to either serial port on the autopilot (for Tiny 2.11: uart0=gps, uart1=modem). To connect USB to the gps type the following command from your paparazzi folder, substituting the name of your airframe and paying attention to case sensitivity:&lt;br /&gt;
 make AIRCRAFT=''myplane'' usb_tunnel_0.upload&lt;br /&gt;
Connect the usb cable and power on the autopilot to receive the code. The code will switch the USB to emulate a serial port that you can access at '''/dev/ttyACMx'''. Windows user can extract the usbser.sys file from .cab file in C:\WINDOWS\Driver Cache\i386 and store it somewhere (C:\temp is a good place) along with the [[Media:Usbser.zip|usbser.inf]] file. Windows then creates an extra COMx port that you can use in a terminal program or with ucenter.&lt;br /&gt;
To use the USB tunnel make sure you first power the autopilot before connecting USB not to end up in the USB bootloader.&lt;br /&gt;
&lt;br /&gt;
== Firmware Architecture ===&lt;br /&gt;
More info on the firmware architecture &amp;lt;br&amp;gt;&lt;br /&gt;
[[FirmwareArchitecture]] &lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
As a rapidly evolving open-source project, on occasion your software may fail to compile after a [[Installation#Software_Updates|SVN Update]]. This is most likely due to a new or changed variable name that is now required in your airframe, flight plan or somewhere else. Since the user-configured files are not updated automatically you may need to view the most recently changed sample airframe or flight plan files to find the required changes.&amp;lt;br&amp;gt;&lt;br /&gt;
See the [[Software_Troubleshooting|Software Troubleshooting]] page for help with common compilation errors.&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Compiling&amp;diff=8184</id>
		<title>Compiling</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Compiling&amp;diff=8184"/>
		<updated>2010-12-16T12:58:08Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The goal of this part of the documentation is to give you insight in how to give your Autopilot board a ''Brain''. Airborne autopilot code, flight plans and configuration settings are compiled into a single file, sometimes referred to as a ''binary image''. After compilation this file is transferred to the Autopilot board micro-controller flash ROM through use of an USB cable. Note that most tuning and flight plan parameters can be changed in-flight but after each power cycle, the autopilot reverts to the original settings. Permanent changes are made by recompiling the airborne code and it's new configurations settings, and re-upload this to the autopilot board. It may sound complicated but in fact it is quite simple if you follow the steps below.&lt;br /&gt;
&lt;br /&gt;
== Get access to your computers USB port ==&lt;br /&gt;
&lt;br /&gt;
Regular users, (also known as Non-Root) by default, as security measure, can not access and interact with hardware in- and output- devices (I/O), USB ports included. To make it possible, the user you are using to program the autopilot board must be a member of the ''plugdev'' group. Note that usually the original username you used when you installed your Linux OS is already a member. &lt;br /&gt;
&lt;br /&gt;
If you are '''not''' already a member, add yourself to this ''plugdev'' group with the following command:&lt;br /&gt;
&lt;br /&gt;
  $ sudo adduser $USER plugdev&lt;br /&gt;
&lt;br /&gt;
It will be effective only on your next login or after the command&lt;br /&gt;
&lt;br /&gt;
  $ newgrp plugdev&lt;br /&gt;
&lt;br /&gt;
== USB flashing ==&lt;br /&gt;
&lt;br /&gt;
The Paparazzi device rules are required for USB flashing.  Copy them into place if you haven't already done so:&lt;br /&gt;
 &lt;br /&gt;
  $ sudo cp $PAPARAZZI_HOME/conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/&lt;br /&gt;
&lt;br /&gt;
If you are using Ubuntu with a version '''lower''' than v9.10, the [http://mielke.cc/brltty/ Braille TTY] driver interferes with FTDI USB Serial adapters and should be removed by running the following in the command prompt&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get remove brltty&lt;br /&gt;
&lt;br /&gt;
[[Image:Tiny_test_wiring.jpg|thumb|Example wiring for programming and telemetry]]&lt;br /&gt;
If the autopilot senses a connected USB cable during power-on, it will wait to receive a firmware image rather than booting normally.  The firmware can be compiled and flashed by several means, '''the simplest way using the [[Paparazzi_Center|Paparazzi Center]]''', the traditional way being:&lt;br /&gt;
 make AIRCRAFT=''myplane'' clean_ac ap.upload&lt;br /&gt;
 (where ''myplane'' is the name of your airframe as defined in &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
This command erases any compiled autopilot code from the PC, recompiles everything from scratch, and then sends it to the autopilot.  &lt;br /&gt;
Variations include:&lt;br /&gt;
* make AIRCRAFT=''myplane'' sim&lt;br /&gt;
*: Compiles your code for use in the simulator - note that &amp;quot;clean_ac&amp;quot; will remove this code, so the simulator code must be rebuilt each time a clean has been performed.&lt;br /&gt;
* make AIRCRAFT=''myplane'' fbw.upload&lt;br /&gt;
*: This is needed when configuring the separate &amp;quot;fly by wire&amp;quot; MCU on the [[Classix]] autopilot.&lt;br /&gt;
* make AIRCRAFT=''myplane'' ap&lt;br /&gt;
*: This will simply build the portions of autopilot code that have changed since the last compile without attempting to flash.  Note: this method may not detect certain changes (i.e. changes to the airframe makefile section or CVS updated code).&lt;br /&gt;
* make AIRCRAFT=''myplane'' ap.upload FLASH_MODE=IAP&lt;br /&gt;
*: Specifies USB flashing.  This should be specified at the top of the makefile section of your airframe file but can be overridden here.  Use FLASH_MODE=IAS for serial flashing.&lt;br /&gt;
&lt;br /&gt;
=== Verify that above upload works ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1 ====&lt;br /&gt;
&lt;br /&gt;
Connect an USB cable to the USB port on the autopilot board.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Fase2_Insert_Flightplan_A.jpg|Board to mini USB connect&lt;br /&gt;
Image:Fase2_Insert_Flightplan_B.jpg|Make sure you have a connector for power ('''Don't''' power up yet!)&lt;br /&gt;
Image:Fase2_Insert_Flightplan_C.jpg|Connect USB to PC '''and''' Board&lt;br /&gt;
Image:Fase2_Insert_Flightplan_D.jpg|only '''now''', power up the board&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now if you type the following command in your terminal...&lt;br /&gt;
&lt;br /&gt;
 $ dmesg | tail -5&lt;br /&gt;
&lt;br /&gt;
..you should see messages that look like:&lt;br /&gt;
&lt;br /&gt;
 [79212.484187] pl2303 1-2.3:1.0: device disconnected&lt;br /&gt;
 [82312.463077] usb 5-1: new high speed USB device using ehci_hcd and address 23&lt;br /&gt;
 [82327.555770] usb 5-1: device descriptor read/64, error -110&lt;br /&gt;
 [82342.752307] usb 5-1: device descriptor read/64, error -110&lt;br /&gt;
 [82342.968031] usb 5-1: new high speed USB device using ehci_hcd and address 24&lt;br /&gt;
&lt;br /&gt;
Which confirms that your device is powered up and working, and ready to accept new airborne code. In case you do not see this message, check your battery voltage and connections and make sure the cables are not broken.&lt;br /&gt;
&lt;br /&gt;
==== Step 2 ====&lt;br /&gt;
&lt;br /&gt;
Upload the compiled Autopilot code a.k.a, firmware&lt;br /&gt;
&lt;br /&gt;
   $ make AIRCRAFT=DEMO demo2.upload&lt;br /&gt;
&lt;br /&gt;
     make[1]: Leaving directory `/usr/share/paparazzi'&lt;br /&gt;
    cd sw/airborne; make PAPARAZZI_SRC=/usr/share/paparazzi PAPARAZZI_HOME=/home/dirkx/paparazzi TARGET=demo2 all&lt;br /&gt;
    make[1]: Entering directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    /home/dirkx/paparazzi/var/demo/demo2/demo2.elf  :&lt;br /&gt;
    section    size         addr&lt;br /&gt;
    .text       956        16384&lt;br /&gt;
    .ctors        0        17340&lt;br /&gt;
    .dtors        0        17340&lt;br /&gt;
    .data         0   1073741824&lt;br /&gt;
    .bss         12   1073741824&lt;br /&gt;
    .stack     4096   1073742080&lt;br /&gt;
    .comment     54            0&lt;br /&gt;
    Total      5118&lt;br /&gt;
    make[1]: Leaving directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    cd sw/airborne; make PAPARAZZI_SRC=/usr/share/paparazzi PAPARAZZI_HOME=/home/dirkx/paparazzi TARGET=demo2 upload&lt;br /&gt;
    make[1]: Entering directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    /usr/share/paparazzi/sw/ground_segment/lpc21iap/lpc21iap  /home/dirkx/paparazzi/var/demo/demo2/demo2.elf&lt;br /&gt;
    .&lt;br /&gt;
    Found USB device&lt;br /&gt;
    BootROM code: 2.12&lt;br /&gt;
    Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)&lt;br /&gt;
    BootLoader version: 1.3&lt;br /&gt;
    #&lt;br /&gt;
    Starting software at 0x00004000&lt;br /&gt;
    make[1]: Leaving directory `/usr/share/paparazzi/sw/airborne'&lt;br /&gt;
    make: Leaving directory `/usr/share/paparazzi'&lt;br /&gt;
&lt;br /&gt;
Which confirms that your device has the bootloader functioning. The important bit of output is:&lt;br /&gt;
&lt;br /&gt;
    Found USB device&lt;br /&gt;
    BootROM code: 2.12&lt;br /&gt;
    Part ID: 0x0402FF25 (LPC2148, 512k Flash, 32k+8k RAM)&lt;br /&gt;
    BootLoader version: 1.3&lt;br /&gt;
    #&lt;br /&gt;
&lt;br /&gt;
In the rare case your autopilot board does not have a bootloader, [http://paparazzi.enac.fr/wiki/BootloaderUploadHowTo read and follow the instruction on how to install a bootloader first]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE: In the above example we're using a modified [http://paparazzi.enac.fr/wiki/Using_demo_programs_in_sw/airborne| demo] - which flashes the LEDs with a Tiny2.1 board): Be aware that the demos involving serial ports do not currently work with Tiny V2's.&lt;br /&gt;
&lt;br /&gt;
==== Step 3 ====&lt;br /&gt;
&lt;br /&gt;
Observe the LEDs flashing.&lt;br /&gt;
&lt;br /&gt;
==== Step 4 ====&lt;br /&gt;
&lt;br /&gt;
Disconnect the USB cable, Disconnect the power and reconnect the power of the autopilot board. The LED's should flash again.&lt;br /&gt;
&lt;br /&gt;
==== Step 5 ====&lt;br /&gt;
&lt;br /&gt;
Select aircraft MJ5, build and upload.&lt;br /&gt;
&lt;br /&gt;
Select airframe funjet1.xml (if you have a Tiny V2)&lt;br /&gt;
&lt;br /&gt;
Connect the serial port of your tiny to your PC using a level converter and select session Flight USB serial@9600.&lt;br /&gt;
&lt;br /&gt;
If you are using funjet1.xml:&lt;br /&gt;
*Stop all the processes but do not remove them.&lt;br /&gt;
*Edit the line Data Link and add &amp;quot;-s 57600&amp;quot; to the end, to tell the data link the baud rate of the MJ5.&lt;br /&gt;
*Restart Data Link, Server and GCS in that order.&lt;br /&gt;
&lt;br /&gt;
If all went well, it should work and you should see messages coming in from the Tiny!&lt;br /&gt;
&lt;br /&gt;
== Installing the tunnel for direct access to the GPS ==&lt;br /&gt;
&lt;br /&gt;
This completely replaces the normal autopilot code (leaving the USB bootloader intact) with a simple serial-to-serial pass-thru that essentially connects the GPS serial port directly to the modem serial port or a USB-to-serial connection that creates a USB serial port that goes to GPS port or modem port. Use this only to gain direct access to the GPS for testing/configuration with [[GPS#GPS_configuration_using_U-Center|U-Center]] or other software.&lt;br /&gt;
&lt;br /&gt;
==== UART tunnel ====&lt;br /&gt;
&lt;br /&gt;
Use this if you have a serial cable to connect. The LEDs will blink when data is transferred. Type the following command from your paparazzi folder, substituting the name of your airframe and paying attention to case sensitivity:&lt;br /&gt;
 make AIRCRAFT=''myplane'' tunnel.upload&lt;br /&gt;
Connect the USB cable and power on the autopilot to receive the code.&lt;br /&gt;
&lt;br /&gt;
This can be done without the USB bootloader by appending ''FLASH_MODE=ISP'' to the command line (specifying ISP serial loading).  This will require a serial cable connection (i.e. FTDI USB-to-TTL). '''WARNING!''' Installing tunnel code with the ISP method will erase any USB bootloader code. Make sure you are able to install a bootloader yourself.&lt;br /&gt;
&lt;br /&gt;
==== USB tunnel ====&lt;br /&gt;
&lt;br /&gt;
This can be done without a serial cable just by having USB. The LEDs will blink when data is transferred. It can connect to either serial port on the autopilot (for Tiny 2.11: uart0=gps, uart1=modem). To connect USB to the gps type the following command from your paparazzi folder, substituting the name of your airframe and paying attention to case sensitivity:&lt;br /&gt;
 make AIRCRAFT=''myplane'' usb_tunnel_0.upload&lt;br /&gt;
Connect the usb cable and power on the autopilot to receive the code. The code will switch the USB to emulate a serial port that you can access at '''/dev/ttyACMx'''. Windows user can extract the usbser.sys file from .cab file in C:\WINDOWS\Driver Cache\i386 and store it somewhere (C:\temp is a good place) along with the [[Media:Usbser.zip|usbser.inf]] file. Windows then creates an extra COMx port that you can use in a terminal program or with ucenter.&lt;br /&gt;
To use the USB tunnel make sure you first power the autopilot before connecting USB not to end up in the USB bootloader.&lt;br /&gt;
&lt;br /&gt;
== Firmware Architecture ===&lt;br /&gt;
More info on the firmware architecture &amp;lt;br&amp;gt;&lt;br /&gt;
[[FirmwareArchitecture]]&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
As a rapidly evolving open-source project, on occasion your software may fail to compile after a [[Installation#Software_Updates|SVN Update]]. This is most likely due to a new or changed variable name that is now required in your airframe, flight plan or somewhere else. Since the user-configured files are not updated automatically you may need to view the most recently changed sample airframe or flight plan files to find the required changes.&amp;lt;br&amp;gt;&lt;br /&gt;
See the [[Software_Troubleshooting|Software Troubleshooting]] page for help with common compilation errors.&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8163</id>
		<title>Talk:ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8163"/>
		<updated>2010-12-05T03:53:18Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please post info on magnetometer installation... Has this been done already? Is the code in the git repo?&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
What is the max polling rate we can use?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Looking at the code and it seems to be version 1.7 which is old.. Can you give documentation on how to integrate the changes that were made to make the arduimu code work for pprz?&lt;br /&gt;
&amp;lt;BR&amp;gt;--Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8162</id>
		<title>Talk:ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8162"/>
		<updated>2010-12-05T03:53:02Z</updated>

		<summary type="html">&lt;p&gt;Danstah: New version of ArduIMU code... Update?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please post info on magnetometer installation... Has this been done already? Is the code in the git repo?&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
What is the max polling rate we can use?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Looking at the code and it seems to be version 1.7 which is old.. Can you give documentation on how to integrate the changes that were made to make the arduimu code work for pprz?&lt;br /&gt;
--Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:HB_v1&amp;diff=8161</id>
		<title>Talk:HB v1</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:HB_v1&amp;diff=8161"/>
		<updated>2010-12-05T03:16:29Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Progress on this effort?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is this working? Any update on progress of this effort? &lt;br /&gt;
&amp;lt;br&amp;gt; --Danstah (12/4/2010)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=8160</id>
		<title>Talk:Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=8160"/>
		<updated>2010-12-05T02:35:41Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Anybody use LEA-6 Series?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who have used the 4P and 5H (or even just one) what were the differences in the reported accuracy? Please post your results &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
My Results are: &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
tiny13-4P 4-6m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
TWOG W/gps13-5H 8-10m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Anybody try to use the new [http://www.u-blox.com/en/gps-modules/pvt-modules/lea-6-family.html| LEA-6 series]?&lt;br /&gt;
&amp;lt;br&amp;gt;--Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:HB_v1&amp;diff=8159</id>
		<title>Talk:HB v1</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:HB_v1&amp;diff=8159"/>
		<updated>2010-12-05T02:17:14Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is this working? Any update on progress of this effort? &lt;br /&gt;
&amp;lt;br&amp;gt; --Danstah (12/4/2010)&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=8157</id>
		<title>Software Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=8157"/>
		<updated>2010-12-04T19:46:59Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Other */ Issue with lack of RC control through data modem&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|__TOC__&lt;br /&gt;
|Please use the [[Talk:Software_Wish_List|Discussion]] tab at the top of the page, as appropriate&lt;br /&gt;
|}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After you played around with the GCS, the Airborne code, tested it and used all it's possibilities, sometimes you get this feeling... &amp;quot;''I would like to have '''more'''!''&amp;quot;. The first thing to do is to ask in the mailinglist if it is already possible. The next great thing would be to create what you think is lacking and give it back to the community so it could be part of the project in the future. If you are not that gifted yet, you could present your ideas here. Other enthusiastic Paparazzi developers could read this and think: &amp;quot;''YEAH, now that is a really cool idea and I will start working on it right away!''&amp;quot;. Therefore, since everyone can improve a part of the project, note here what you would like to see added or improved in the software.&lt;br /&gt;
&lt;br /&gt;
== Ground Station Suggestions ==&lt;br /&gt;
&lt;br /&gt;
# Integration with modue for OpenJAUS, see for already available code http://code.google.com/p/openjaus/ [[User:OpenUAS|(Suggested by OpenUAS)]]&lt;br /&gt;
# Support for stanag 4586 compliance, see http://www.innuvativesystems.com/stanag_4586_primer.html [[User:OpenUAS|(Suggested by OpenUAS)]]&lt;br /&gt;
# Support for standard map files like GeoTiff, .tab and .map. Using the .xml method manually is rather time consuming and frustrating when you already have standard georeferenced images.&lt;br /&gt;
# Divide the flight plan into 3 separate files [[User:Jeremy|(Suggested by Jeremy)]]&lt;br /&gt;
#* Takeoff/Landing - flight plan blocks describing the complex routines and using altitudes and waypoints from the ''User'' file&lt;br /&gt;
#* Generic - a file that users should never need to edit, containing circles, rectangles, figure-8's, and surveys that appear on command when GCS buttons are pressed.  Altitude/locations could be relative to the ''User'' file&lt;br /&gt;
#* User - Here we can specify fixed or dynamic ''Home'' point and add complex routines or simply save certain basic routines. &lt;br /&gt;
#*('''NOTE:''' All of this is already possible, investigate time in discovering what paparazzi already can do now e.g. see [http://paparazzi.enac.fr/wiki/Flight_Plans#Procedures Flight Plan Procedures])&lt;br /&gt;
# The possibility to use multiple ground modem connected to a single ground station. The RSSI could be use to dynamically choose which currently has the best signal. This would allow the use of different antennas on each of the modems or have antenna pointing in different directions(?Possibly more hardware related)&lt;br /&gt;
# PFD - the horizon and the sky shouldn't move only the main line. Because we are on the '''ground''' and we really need to see the roll angle of the UAS and not the real PFD like on a real airplane. And we could also see, the pitch angle, to see if the UAS is climbing or going down. Another way this could be done is to use a 3D model of the plane like procerus does on there ap. For those unfamiliar with this it is like you are in the view point of like 5m behind the plane. This might give the user just enough of a model to help fly back under manual control or at least have a better understanding of the orientation. This idea is good one but it should not replace the current pfd but rather be an option to use in the gcs. ('''NOTE:''' Already possible, via [http://paparazzi.enac.fr/wiki/GCS#Papgets Papgets] it is possible to add all kinds of such types of information. Also for a 3D plane view this is already possible, just bind you output to [http://paparazzi.enac.fr/wiki/Simulation#View_the_simulation_in_Flight_Gear FlightGear])&lt;br /&gt;
# Language packs for the GCS - English, French, German, Italian, Spanish, Portuguese, ...&lt;br /&gt;
# Flashing via modems - ('''NOTE:''' Already [http://lists.gnu.org/archive/html/paparazzi-devel/2010-06/msg00138.html possible])&lt;br /&gt;
&lt;br /&gt;
== Airborne Software Suggestions ==&lt;br /&gt;
&lt;br /&gt;
Add your ideas here what you would like to see added or improved in the airborne software&lt;br /&gt;
&lt;br /&gt;
=== Stability ===&lt;br /&gt;
* Auto-tuning of gains&lt;br /&gt;
*: It would make paparazzi very user friendly if the airframe could tune itself. It should be possible to set the gains on the ground to some generic value and let the autopilot do the tuning in the air. The autopilot would give step functions on different inputs (actuators, target values) and measure the response of the airframe. One at a time, of course. Based on this response measurement the autopilot can tune the control gains itself. For safety reasons this auto-tuning function would run only on safe flight altitude.&lt;br /&gt;
&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
* Flight plan stage sensing &lt;br /&gt;
*: Carrot should continue past the waypoint toward the next point, but the point should not be officially acknowledged until the plane has passed it.  This way we can have smooth, intelligent navigation while still considering waypoint triggers such as still-photo, sensor drop, or throttle off. &lt;br /&gt;
'''NOTE:''' Can already be done by setting the approaching_time attribute. This value helps to decide when the target is reached. It can be set to 0 to go over the target waypoint. see [http://paparazzi.enac.fr/wiki/Flight_Plans#Go Flightplan documentation]&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
# '''Revised autopilot modes''' [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
#* I propose a restructuring of the modes as follows - create 3 top-level modes: '''Man, Stab,'''and '''Auto''', each with an appended autonomous sub-mode (i.e. '''Man'''/''Climb'', '''Stab'''/''Kill'', '''Auto'''/''Landing'', etc.)  This will give the operator much more information and a much better indication of what the plane will do when switched to autonomous mode in a concise manner.  Furthermore, I see an advantage in having simple behaviors like ''Climb, Landing'', etc. be defined as sub-modes so that operator is always alerted of changes such as ''Descent'' or can easily configure trim, gains, and payload options in the airframe file (i.e. if mode = ''Landing'' then retract camera, turn off video system, use landing trim, etc.)&lt;br /&gt;
#* ''Sub-modes''&lt;br /&gt;
#* ''Ground'' - The default boot mode.  In this mode the throttle is locked at 0% or not armed at all (no PWM signal), stability is disabled (servos locked in neutral position), and video power is off, but flight plan blocks are processed.  This will improve safety and aid in lost plane retreival as the servos, and video will not drain the battery if landing detection is implemented.  ''Ground'' mode should exit '''only''' if ''Takeoff'' is manually triggered.&lt;br /&gt;
#* ''Takeoff'' - 3 possible triggers: GCS button, GPIO button, or R/C throttle.  Checks for error modes and desired climb, then arms/unlocks throttle, initates &amp;quot;Takeoff&amp;quot; flight plan block, and instantly deroutes to ''Climb'' mode.  Deroutes to ''Descent'' mode without unlocking throttle if not OK.  ''Takeoff'' could simply be a flag rather than a &amp;quot;mode&amp;quot;.&lt;br /&gt;
#* ''Climb'' - Triggered anytime &amp;quot;aggressive climb&amp;quot; is active&lt;br /&gt;
#* ''Descent'' - Triggered anytime &amp;quot;aggressive descent&amp;quot; is active&lt;br /&gt;
#* ''Nav'' - Normal level flight&lt;br /&gt;
#* ''Landing'' - Same as ''Nav'' but using the &amp;quot;Landing&amp;quot; flight plan block and any airframe gains/trims/payload options as defined in airframe.xml&lt;br /&gt;
#* ''Kill'' - Triggered manually - locks throttle at 0% and uses pitch/roll settings from Airframe.xml.  &lt;br /&gt;
# ''Error sub-modes''&lt;br /&gt;
#* ''No GPS'' - A temporary mode using pitch/roll settings from airframe.xml&lt;br /&gt;
#* ''Home'' - Triggered by distance in '''Auto''' mode or by distance/RC loss in '''Stab''' mode (after ''n'' seconds, as defined in airframe.xml).  Exits upon manual block/mode change requests from the GCS and cannot be re-initiated for 30 seconds.&lt;br /&gt;
# '''Continually broadcast last known location'''&lt;br /&gt;
#* AP should continue to broadcast the last known GPS coordinate in the event of GPS loss. (i.e. upside-down crashed plane should continue to send last known position in case it was out of data range prior to the crash.)&lt;br /&gt;
#* ('''NOTE:''' Possible by adding for example a module that ''grabs'' current coordinates at e.g. .1 Hz and if in flightplan &amp;lt;while cond=&amp;quot;!GpsFixValid()&amp;quot;/&amp;gt; send whatever you want)&lt;br /&gt;
# '''Ability to upload waypoints in flight'''&lt;br /&gt;
#* I know this has been discussed a few times but it would be nice to at least have the option to upload waypoints and blocks and be able to change blocks in flight. This is risky but most Autopilot's do have this feature now and it would be nice if the user could make this decision. &lt;br /&gt;
#* ('''NOTE:''' A possible current solution is by adding duplicate waypoints very close and if needed move these while in flight.)&lt;br /&gt;
# '''Radio Control of UAS through Data Link'''&lt;br /&gt;
#* This simply means that instead of hacking an RC receiver to output it to the autopilot board why not hook your RC transmitter up through your computer and use the data link for RC. This would be nice especially with all the new RC range issues the 2 layer tiny 2.11 has brought on. Also it would be nice because RC interference would be eliminated. Please comment on this and tell me what you think&lt;br /&gt;
#* ('''NOTE:''' Already possible)&lt;br /&gt;
#* ('''Response:''' Sort of possible. The only work that has been done in this direction is by Martin and was done with a Joystick which only worked in Auto1 mode (setting the set points for the AP). This is not a full solution. What i am proposing is that the RC Radio is plugged into the GCS directly and then sends the command (PPM) signals directly to the AP. This would allow for the user to control the aircraft in manual and AUTO1. Consult any commercial AP and you will notice that this is the one glaring feature which is missing from PPRZ. In addition adding this feature would allow for longer range FPV flying. Please correct me (with links) if i am wrong. &lt;br /&gt;
&lt;br /&gt;
# '''Precision Surveying'''&lt;br /&gt;
#* It would be nice to have a survey function that could survey a sector and also be told what coordinates to begin the survey on. Another useful feature would be to have the plane sense when it is done surveying the whole area so it could move to the next block. I know that the entering the survey can be done in a roundabout method by defining a waypoint at the entry point and then going to it but defining it in the survey function would allow for more precise survey since that first sweep would already be defined and then would not be affected by if the plane went into the survey function at weird spot or something.&lt;br /&gt;
#* ('''NOTE:''' Already possible, see the [http://paparazzi.enac.fr/wiki/Advanced_Navigation_Routines '''Polygon Survey'''] and use it smartly&lt;br /&gt;
&lt;br /&gt;
== Current Code and Build ==&lt;br /&gt;
&lt;br /&gt;
If you have any suggestions to improve the current:&lt;br /&gt;
&lt;br /&gt;
* Sourcecode&lt;br /&gt;
* Build process&lt;br /&gt;
* Code repository&lt;br /&gt;
* Tools used&lt;br /&gt;
&lt;br /&gt;
...give your suggestions here. Better still, start working on what you can, and add your information to the Wiki and start a discussion in the mailing list.&lt;br /&gt;
&lt;br /&gt;
=== GIT ===&lt;br /&gt;
# By using GIT make it easier for other to improve code without need to submit already to the SVN codebase&lt;br /&gt;
&lt;br /&gt;
=== IVY ===&lt;br /&gt;
# Make Paparazzi compatible with IVY-C from SVN at this moment 3.11&lt;br /&gt;
# Make Paparazzi compile and compatible with with IVY-Ocaml library from SVN at this moment 1.1.11&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8156</id>
		<title>ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8156"/>
		<updated>2010-12-04T16:16:31Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Tiny13wIMU_001.jpg|thumb|right|Tiny13 w/IMU]]&lt;br /&gt;
This page describes how to integrate an [http://code.google.com/p/ardu-imu/wiki/HomePage?tm=6 ArduIMU+ V2 (flat)] into an existing Airframe/Paparazzi-Code.&lt;br /&gt;
#The ArduIMU communicates over i2c with the Paparazzi-AP. The wiring is pretty easy to do. Connect SDA, SCL, ground and supply the IMU with 5V. Do not connect 3.3V from the Paparazzi-AP to the ArduIMU as it internally generates it's own stable 3.3v supply.&lt;br /&gt;
#Integration into the Paparazzi software is realized as a module. This is an easy way to connect and test the software. &lt;br /&gt;
#This description shows how to use the ArduIMU without a separate GPS-Receiver and without a Compass/Magnetometer. The GPS-Data is sent by the Paparazzi-AP over i2c to the ArduIMU.&lt;br /&gt;
#There is an other airframe/main-AP we wrote which uses a magnetometer for yaw-drift compensation. We haven't written an installation guide for this configuration yet. But we will try to do this as soon as possible. &lt;br /&gt;
&lt;br /&gt;
The Code has been integrated into the Paparazzi build system. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Airframe Adjustments ==&lt;br /&gt;
&lt;br /&gt;
conf/airframes:	&amp;quot;MyAirframe.xml&amp;quot;&lt;br /&gt;
* (1) '''Insert''' the module:&lt;br /&gt;
 &amp;lt;modules&amp;gt;&lt;br /&gt;
   &amp;lt;load name=&amp;quot;ins_arduimu.xml&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/modules&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (2) Activate &amp;quot;i2c&amp;quot;&lt;br /&gt;
 &amp;lt;target name=&amp;quot;ap&amp;quot;    board=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
   &amp;lt;define name=&amp;quot;USE_I2C0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/target&amp;gt;&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;i2c&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* (3) '''Insert''' INS neutrals&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;section name=&amp;quot;INS&amp;quot; prefix=&amp;quot;INS_&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;ROLL_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;PITCH_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (4) Use this &amp;quot;Settings&amp;quot; file: settings/tuning_ins.xml&lt;br /&gt;
&lt;br /&gt;
* (5) '''Remove''' the infrared estimation&lt;br /&gt;
&lt;br /&gt;
 remove this:&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;attitude&amp;quot;         type=&amp;quot;infrared&amp;quot;/&amp;gt;&lt;br /&gt;
== Magnetometer ==&lt;br /&gt;
Please post Magnetometer integration guide&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Flash the ArduIMU ==&lt;br /&gt;
&lt;br /&gt;
* (6) Flash the ArduIMU with the adapted software in '''sw/airborne/firmwares/non_ap/arduimu_Firmware_WithGps'''. For information concerning flashing of the ArduIMU, read:  http://code.google.com/p/ardu-imu/wiki/Code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can find the original ZHAW code [https://home.zhaw.ch/~schmiemi/Arduimu4Paprazzi.rar here].&lt;br /&gt;
&lt;br /&gt;
== Hardware Considerations ==&lt;br /&gt;
&lt;br /&gt;
So far, this setup has been successfully flown in the Maja and EasyStar aircraft. For faster more agile aircraft such as the Merlin or Funjet, the polling rate needs to be changed from 15 Hz to 40 Hz in the '''/conf/modules/ins_arduimu.xml''' file.&lt;br /&gt;
&lt;br /&gt;
The ArduIMU is sensitive to vibrations. Mount it on a thick piece of foam to dampen the vibrations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have Fun !&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Please Post Results Here... Issues?&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Inertial_Measurement_Units&amp;diff=8155</id>
		<title>Inertial Measurement Units</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Inertial_Measurement_Units&amp;diff=8155"/>
		<updated>2010-12-04T16:15:01Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* DIYDrones ArduIMU+ V2 (Flat) */ More user friendly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Paparazzi Booz IMU ==&lt;br /&gt;
&lt;br /&gt;
Work is underway to use Kalman code from the Booz project with the Tiny autopilots. The first IMU have been assembled and are being calibrated. Look for updates soon.&lt;br /&gt;
&lt;br /&gt;
The IMU will communicate over SPI with the TWOG/Tiny2.11&lt;br /&gt;
&lt;br /&gt;
[[Image:IMU001.jpg|240px]]&lt;br /&gt;
&lt;br /&gt;
The hardware description is [[BoozIMU|here]].&lt;br /&gt;
&lt;br /&gt;
Available at [https://mini.ppzuav.com/osc/product_info.php?cPath=15&amp;amp;products_id=122&amp;amp;osCsid=bq9cget2u5c7ksa6kd9ssdf03lisuksq PPZUAV].&lt;br /&gt;
&lt;br /&gt;
== 3rd Party IMU ==&lt;br /&gt;
&lt;br /&gt;
IMU's measure rotation rates, acceleration (6DOF) and some also magnetic fields (9DOF). This data is used by an autopilot to estimate the state of the aircraft. They that can be used with a Paparazzi autopilot based UAS. If you happen to have such a device, we really would love to see that you share your IMU paparazzi autopilot integration projects information on this Wiki.&lt;br /&gt;
&lt;br /&gt;
=== SparkFun Razor 6DOF IMU ===&lt;br /&gt;
&lt;br /&gt;
[[Image:RazzorIMU.jpg|thumb|left|Razor IMU (top) with the tiny13 autopilot]]&lt;br /&gt;
&lt;br /&gt;
[[Image:RazzorIMUb.jpg|thumb|left|Razor IMU in the tiny13 autopilot box]]&lt;br /&gt;
&lt;br /&gt;
[http://www.sparkfun.com/commerce/product_info.php?products_id=10010  Official website]&lt;br /&gt;
&lt;br /&gt;
6DOF - Ultra-Thin IMU&lt;br /&gt;
&lt;br /&gt;
Very cheap, currently 62-72 Euro.  [http://www.watterott.com/de/Sensoren/IMU Shop in Europe]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Has been integrated in Paparazzi by Hochschule Bremen, Germany.&lt;br /&gt;
&lt;br /&gt;
Remove the high pass filters of the RazorIMU to get better results.&lt;br /&gt;
&lt;br /&gt;
For the Twog and Tiny 2.2 autopilots you have also remove the resistors to GND of the 5V analog inputs.  &lt;br /&gt;
&lt;br /&gt;
More infos are in the branch HB in the paparazzi SVN.&lt;br /&gt;
&lt;br /&gt;
[[Media:Wiring_Razor_IMU.pdf|Connections and wiring to the tiny13]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cloudcap Crista IMU ===&lt;br /&gt;
[[Image:crista_sensorhead.jpg|thumb|left|Christa IMU]]&lt;br /&gt;
&lt;br /&gt;
[http://www.cloudcaptech.com/crista_sensorhead.shtm Official website]&lt;br /&gt;
&lt;br /&gt;
More infos soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3rd Party INS ==&lt;br /&gt;
&lt;br /&gt;
INS measure rates with their sensors and run algorithms to estimate the state on their own. They give this information the the autopilot (e.g. Euler angles) that can then use it for navigation.&lt;br /&gt;
&lt;br /&gt;
===[http://diydrones.com/profiles/blogs/arduimu-v2-flat-now-available|DIYDrones ArduIMU+ V2 (Flat)] ===&lt;br /&gt;
[[Image:ArduIMU.jpg|thumb|left|ArduIMU]]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/ardu-imu/wiki/HomePage?tm=6 Official website]&lt;br /&gt;
3 axis Accelerometer + 3 axis Gyroscope.&lt;br /&gt;
&lt;br /&gt;
Very cheap&lt;br /&gt;
Has been integrated in Paparazzi by ZHAW, Winterthur, Switzerland.&lt;br /&gt;
* A magnetometer has been integrated in the software to compensate drift in yaw.&lt;br /&gt;
* GPS from the Tiny is passed over I2C to the AHRS on the IMU&lt;br /&gt;
More info on integration can be found [[ArduIMU|here]].&lt;br /&gt;
Where can I buy ArduIMU?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.sparkfun.com/products/9956|Sparkfun]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://store.diydrones.com/ProductDetails.asp?ProductCode=KT-ArduIMU-20|DIYDrones Store]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Vector-Nav VN-100 ===&lt;br /&gt;
[[Image:VN-100.jpg|thumb|left|Vector-Nav VN-100]]&lt;br /&gt;
&lt;br /&gt;
[http://www.vectornav.com/vn-100-features Official website]&lt;br /&gt;
&lt;br /&gt;
More infos soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MicroStrain 3DM-GX2 === &lt;br /&gt;
[[Image:3DM-GX2.jpg|thumb|left|MicroStrain 3DM-GX2]]&lt;br /&gt;
&lt;br /&gt;
[http://www.microstrain.com/3dm-gx2.aspx Official website]&lt;br /&gt;
&lt;br /&gt;
More info soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xsens MTi and MTi-G (with GPS) ===&lt;br /&gt;
[[Image:MTi.jpeg|thumb|left|Xsens MTi]]&lt;br /&gt;
&lt;br /&gt;
[[Image:MTi-G.jpeg|thumb|left|Xsens MTi-G (with GPS)]]&lt;br /&gt;
&lt;br /&gt;
[http://www.xsens.com/en/general/mti Official website MTi]&lt;br /&gt;
&lt;br /&gt;
[http://www.xsens.com/en/general/mti-g Official website MTi-G]&lt;br /&gt;
&lt;br /&gt;
More info soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Very Short Essential Introduction To Inertial Attitude Estimation ==&lt;br /&gt;
&lt;br /&gt;
The only physical entity related to attitude (pitch and roll) is the earth gravity vector (unless you use a multi-antenna phase-measuring GPS... $$$$). Unfortunately, the sensors that measure gravity (=accelerometers) also measure so-called kinematic accelerations or in other words: changes in speed: like centrifugal forces, Coriolis forces, linear accelerations etc... The sum of all these litteraly is &amp;quot;what you feel&amp;quot; and is called &amp;quot;specific force&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
so &lt;br /&gt;
&lt;br /&gt;
  accelerometer_value (specific force) = earth_gravity + change in velocity (linear accelerations) + velocity times turn rate (centrifugal etc)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  A = B + C + D  &lt;br /&gt;
&lt;br /&gt;
You measure A and want to know B. What all &amp;quot;gyroscopes and accelerometer only&amp;quot; AHRS projects are doing in some way or another is to neglect the last 2 (C and D). In many situations this is not bad: for instance: when testing the AHRS attached to your computer: it can not accelerate for a very long time (at most a few meters: so if you accerate to the left, then you need to accelerate to the right directly after so the average is zero) and can not rotate to much either (or your cable gets strangled). This is why all AHRS videos on youtube look perfect. And on the desk they are perfect: you neglected 2 terms in the equation that in that situation are perfectly neglect-able. Also with a quadrotor that hovers and keeps its nose in the same direction all the time, these neglected terms are small.&lt;br /&gt;
&lt;br /&gt;
Now what about the gyroscopes you might ask. I deliberately keep them only second as gyroscopes (turn rate or rotation speed sensors) do NOT give you attitude but ONLY HELP TO SOLVE SHORT TERM errors in the previous part. If gyroscopes would measure turn-rate perfectly, then they would help more but all MEMS/PIEZZO sensors are more or less sensitive to 1) temperature, 2) turnrate, 3) vibrations, 4) accelerations, 5) radiation, 6) power supply quality 7) non-linearity 8) ADC-quality 9) dynamic range and saturation problems, ... so if you integrate gyroscopes, sooner or later errors build up (drift). I put this list here so you know what to pay attention for: if using gyroscopes: always try to keep the temperature as constant as possible or let the temperature settle, reduce vibrations (dampers), use better ADC (e.g. 10bit ADC with +/- 1200 deg/sec gyros have a resolution of 2.4 degrees/s per ADC tick, so your phi/theta might drift 1.2deg/sec without noticing) and power supply filtering and shielding etc to start with. All of these define for how long (seconds!/minutes?) gyroscope integration is useful.&lt;br /&gt;
&lt;br /&gt;
If you convert the accelerometer directly to attitude and plot it, it will vibrate a lot and will show errors when you accelerate the AHRS on your desk. During a coordinated turn of a fixedwing plane, the force you feel is perpendicular to the plane (not pointing to earth). The accelerometer only clearly is insufficient to know your attitude. One solution is to use gyroscopes that are so good that you can predict for many minutes (then the average acceleration during several turns would still point to earth). But if your gyros can only help for shorter terms (like all MEMS sensors of less than 500euro/each) then extra information is required. E.g: if you add GPS data or airspeed data however, from the flightpath you can quite accurately reconstruct the missing C and D terms. Together with the accelerometer you can know &amp;quot;where the earth is&amp;quot; even when you keep accelerating and turning. Here questions like latency, update rate, noisy derivatives (linear acceleration) are of importance. &lt;br /&gt;
&lt;br /&gt;
Finally there is the heading... GPS ground-track is not the same as nose direction. Gyroscopes measure how much the nose has been turning, so using GPS to correct it induces errors that increase with corsswind. Magnetometers can help here, and become necessary whenever you do not move enough anymore (hovering).&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Inertial_Measurement_Units&amp;diff=8154</id>
		<title>Inertial Measurement Units</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Inertial_Measurement_Units&amp;diff=8154"/>
		<updated>2010-12-04T16:09:15Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* DIYDrones ArduIMU+ V2 (Flat) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Paparazzi Booz IMU ==&lt;br /&gt;
&lt;br /&gt;
Work is underway to use Kalman code from the Booz project with the Tiny autopilots. The first IMU have been assembled and are being calibrated. Look for updates soon.&lt;br /&gt;
&lt;br /&gt;
The IMU will communicate over SPI with the TWOG/Tiny2.11&lt;br /&gt;
&lt;br /&gt;
[[Image:IMU001.jpg|240px]]&lt;br /&gt;
&lt;br /&gt;
The hardware description is [[BoozIMU|here]].&lt;br /&gt;
&lt;br /&gt;
Available at [https://mini.ppzuav.com/osc/product_info.php?cPath=15&amp;amp;products_id=122&amp;amp;osCsid=bq9cget2u5c7ksa6kd9ssdf03lisuksq PPZUAV].&lt;br /&gt;
&lt;br /&gt;
== 3rd Party IMU ==&lt;br /&gt;
&lt;br /&gt;
IMU's measure rotation rates, acceleration (6DOF) and some also magnetic fields (9DOF). This data is used by an autopilot to estimate the state of the aircraft. They that can be used with a Paparazzi autopilot based UAS. If you happen to have such a device, we really would love to see that you share your IMU paparazzi autopilot integration projects information on this Wiki.&lt;br /&gt;
&lt;br /&gt;
=== SparkFun Razor 6DOF IMU ===&lt;br /&gt;
&lt;br /&gt;
[[Image:RazzorIMU.jpg|thumb|left|Razor IMU (top) with the tiny13 autopilot]]&lt;br /&gt;
&lt;br /&gt;
[[Image:RazzorIMUb.jpg|thumb|left|Razor IMU in the tiny13 autopilot box]]&lt;br /&gt;
&lt;br /&gt;
[http://www.sparkfun.com/commerce/product_info.php?products_id=10010  Official website]&lt;br /&gt;
&lt;br /&gt;
6DOF - Ultra-Thin IMU&lt;br /&gt;
&lt;br /&gt;
Very cheap, currently 62-72 Euro.  [http://www.watterott.com/de/Sensoren/IMU Shop in Europe]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Has been integrated in Paparazzi by Hochschule Bremen, Germany.&lt;br /&gt;
&lt;br /&gt;
Remove the high pass filters of the RazorIMU to get better results.&lt;br /&gt;
&lt;br /&gt;
For the Twog and Tiny 2.2 autopilots you have also remove the resistors to GND of the 5V analog inputs.  &lt;br /&gt;
&lt;br /&gt;
More infos are in the branch HB in the paparazzi SVN.&lt;br /&gt;
&lt;br /&gt;
[[Media:Wiring_Razor_IMU.pdf|Connections and wiring to the tiny13]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cloudcap Crista IMU ===&lt;br /&gt;
[[Image:crista_sensorhead.jpg|thumb|left|Christa IMU]]&lt;br /&gt;
&lt;br /&gt;
[http://www.cloudcaptech.com/crista_sensorhead.shtm Official website]&lt;br /&gt;
&lt;br /&gt;
More infos soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3rd Party INS ==&lt;br /&gt;
&lt;br /&gt;
INS measure rates with their sensors and run algorithms to estimate the state on their own. They give this information the the autopilot (e.g. Euler angles) that can then use it for navigation.&lt;br /&gt;
&lt;br /&gt;
===[[ArduIMU|DIYDrones ArduIMU+ V2 (Flat)]] ===&lt;br /&gt;
[[Image:ArduIMU.jpg|thumb|left|ArduIMU]]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/ardu-imu/wiki/HomePage?tm=6 Official website]&lt;br /&gt;
3 axis Accelerometer + 3 axis Gyroscope.&lt;br /&gt;
&lt;br /&gt;
Very cheap&lt;br /&gt;
Has been integrated in Paparazzi by ZHAW, Winterthur, Switzerland.&lt;br /&gt;
* A magnetometer has been integrated in the software to compensate drift in yaw.&lt;br /&gt;
* GPS from the Tiny is passed over I2C to the AHRS on the IMU&lt;br /&gt;
More info on integration can be found [[ArduIMU|here]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Vector-Nav VN-100 ===&lt;br /&gt;
[[Image:VN-100.jpg|thumb|left|Vector-Nav VN-100]]&lt;br /&gt;
&lt;br /&gt;
[http://www.vectornav.com/vn-100-features Official website]&lt;br /&gt;
&lt;br /&gt;
More infos soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MicroStrain 3DM-GX2 === &lt;br /&gt;
[[Image:3DM-GX2.jpg|thumb|left|MicroStrain 3DM-GX2]]&lt;br /&gt;
&lt;br /&gt;
[http://www.microstrain.com/3dm-gx2.aspx Official website]&lt;br /&gt;
&lt;br /&gt;
More info soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Xsens MTi and MTi-G (with GPS) ===&lt;br /&gt;
[[Image:MTi.jpeg|thumb|left|Xsens MTi]]&lt;br /&gt;
&lt;br /&gt;
[[Image:MTi-G.jpeg|thumb|left|Xsens MTi-G (with GPS)]]&lt;br /&gt;
&lt;br /&gt;
[http://www.xsens.com/en/general/mti Official website MTi]&lt;br /&gt;
&lt;br /&gt;
[http://www.xsens.com/en/general/mti-g Official website MTi-G]&lt;br /&gt;
&lt;br /&gt;
More info soon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Very Short Essential Introduction To Inertial Attitude Estimation ==&lt;br /&gt;
&lt;br /&gt;
The only physical entity related to attitude (pitch and roll) is the earth gravity vector (unless you use a multi-antenna phase-measuring GPS... $$$$). Unfortunately, the sensors that measure gravity (=accelerometers) also measure so-called kinematic accelerations or in other words: changes in speed: like centrifugal forces, Coriolis forces, linear accelerations etc... The sum of all these litteraly is &amp;quot;what you feel&amp;quot; and is called &amp;quot;specific force&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
so &lt;br /&gt;
&lt;br /&gt;
  accelerometer_value (specific force) = earth_gravity + change in velocity (linear accelerations) + velocity times turn rate (centrifugal etc)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
  A = B + C + D  &lt;br /&gt;
&lt;br /&gt;
You measure A and want to know B. What all &amp;quot;gyroscopes and accelerometer only&amp;quot; AHRS projects are doing in some way or another is to neglect the last 2 (C and D). In many situations this is not bad: for instance: when testing the AHRS attached to your computer: it can not accelerate for a very long time (at most a few meters: so if you accerate to the left, then you need to accelerate to the right directly after so the average is zero) and can not rotate to much either (or your cable gets strangled). This is why all AHRS videos on youtube look perfect. And on the desk they are perfect: you neglected 2 terms in the equation that in that situation are perfectly neglect-able. Also with a quadrotor that hovers and keeps its nose in the same direction all the time, these neglected terms are small.&lt;br /&gt;
&lt;br /&gt;
Now what about the gyroscopes you might ask. I deliberately keep them only second as gyroscopes (turn rate or rotation speed sensors) do NOT give you attitude but ONLY HELP TO SOLVE SHORT TERM errors in the previous part. If gyroscopes would measure turn-rate perfectly, then they would help more but all MEMS/PIEZZO sensors are more or less sensitive to 1) temperature, 2) turnrate, 3) vibrations, 4) accelerations, 5) radiation, 6) power supply quality 7) non-linearity 8) ADC-quality 9) dynamic range and saturation problems, ... so if you integrate gyroscopes, sooner or later errors build up (drift). I put this list here so you know what to pay attention for: if using gyroscopes: always try to keep the temperature as constant as possible or let the temperature settle, reduce vibrations (dampers), use better ADC (e.g. 10bit ADC with +/- 1200 deg/sec gyros have a resolution of 2.4 degrees/s per ADC tick, so your phi/theta might drift 1.2deg/sec without noticing) and power supply filtering and shielding etc to start with. All of these define for how long (seconds!/minutes?) gyroscope integration is useful.&lt;br /&gt;
&lt;br /&gt;
If you convert the accelerometer directly to attitude and plot it, it will vibrate a lot and will show errors when you accelerate the AHRS on your desk. During a coordinated turn of a fixedwing plane, the force you feel is perpendicular to the plane (not pointing to earth). The accelerometer only clearly is insufficient to know your attitude. One solution is to use gyroscopes that are so good that you can predict for many minutes (then the average acceleration during several turns would still point to earth). But if your gyros can only help for shorter terms (like all MEMS sensors of less than 500euro/each) then extra information is required. E.g: if you add GPS data or airspeed data however, from the flightpath you can quite accurately reconstruct the missing C and D terms. Together with the accelerometer you can know &amp;quot;where the earth is&amp;quot; even when you keep accelerating and turning. Here questions like latency, update rate, noisy derivatives (linear acceleration) are of importance. &lt;br /&gt;
&lt;br /&gt;
Finally there is the heading... GPS ground-track is not the same as nose direction. Gyroscopes measure how much the nose has been turning, so using GPS to correct it induces errors that increase with corsswind. Magnetometers can help here, and become necessary whenever you do not move enough anymore (hovering).&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Theory_of_Operation&amp;diff=8153</id>
		<title>Theory of Operation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Theory_of_Operation&amp;diff=8153"/>
		<updated>2010-12-04T04:07:06Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Control Loops Writeup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal Methods ==&lt;br /&gt;
The critical core of the Paparazzi code has been proven by [http://en.wikipedia.org/wiki/Formal_methods formal methods] to ensure absolute reliability of the servo, R/C, and manual control portions of the code using the same tools and methods used for full-scale autopilots, nuclear power plants, and other critical control systems.  See our page on [[Lustre|formally proving critical Paparazzi code using Lustre]].  &lt;br /&gt;
== Control Loops Writeup ==&lt;br /&gt;
Excellent explanation of the [[Control Loops]]&lt;br /&gt;
&lt;br /&gt;
== PID ==&lt;br /&gt;
Paparazzi uses common Proportional Integral Derivative (PID) control for stability and navigation.  PID is probably the most commonly used feedback control design as it is simple to implement and intuitive to operate.  PID controllers use three terms operating on the measured error to produce a control output. If ''u(t)'' is the control signal sent to the system, ''y(t)'' is the measured output and ''r(t)'' is the desired output, and tracking error &amp;lt;math&amp;gt;e(t)=r(t)- y(t)&amp;lt;/math&amp;gt;, a PID controller has the general form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u(t) =  K_P e(t) + K_I \int e(t)dt + K_D \dot{e}(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The desired closed loop dynamics are obtained by adjusting the three parameters &amp;lt;math&amp;gt; K_P&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; K_I&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; K_D&amp;lt;/math&amp;gt;, often iteratively by &amp;quot;tuning&amp;quot; and without specific knowledge of a plant model. Stability can often be ensured using only the proportional term in well damped systems. The integral term compensates for steady long-term errors, and the derivative term is used to provide damping to reduce oscillation.&lt;br /&gt;
&lt;br /&gt;
See more on Wikipedia: [http://en.wikipedia.org/wiki/PID_controller PID Controller]&lt;br /&gt;
&lt;br /&gt;
Paparazzi uses PID controllers on all loops but many of the I and D terms are not fully implemented as they are often unnecessary or difficult to tune.  Below are some examples of the PID implementations in Paparazzi. There is a [[Control Loops|graphical description of the control loops]] as well.&lt;br /&gt;
&lt;br /&gt;
=== Roll Rate ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the roll rate loop:|&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; throttle_dep_pgain * ( err + h_ctl_roll_rate_igain * roll_rate_sum_err / H_CTL_ROLL_RATE_SUM_NB_SAMPLES + h_ctl_roll_rate_dgain * d_err);&lt;br /&gt;
}}&lt;br /&gt;
Note that the roll Pgain is variable with throttle and multiplies through the entire equation affecting the I and D terms as well for ease of tuning.&lt;br /&gt;
&lt;br /&gt;
=== Roll Attitude ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the roll attitude gain loop:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_phi - h_ctl_roll_setpoint;&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; - h_ctl_roll_attitude_gain * err- h_ctl_roll_rate_gain * estimator_p+ v_ctl_throttle_setpoint * h_ctl_aileron_of_throttle;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Pitch Angle ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the pitch angle loop:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_theta - h_ctl_pitch_setpoint;&lt;br /&gt;
 float d_err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; err - last_err;&lt;br /&gt;
 last_err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; err;&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; h_ctl_pitch_pgain * (err + h_ctl_pitch_dgain * d_err) + h_ctl_elevator_of_roll * fabs(estimator_phi);&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here we use only Proportional as the Derivative is always set to zero.  An integral term could prove useful here.  Aircraft pitch response is normally very well damped.  Those with &amp;quot;plank&amp;quot; style aircraft or other pitch-sensitive designs may benefit from implementing a gyro-based D term.&lt;br /&gt;
&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the navigation loop:|&lt;br /&gt;
  float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_hspeed_dir - h_ctl_course_setpoint;&lt;br /&gt;
  NormRadAngle(err);&lt;br /&gt;
  float speed_depend_nav &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_hspeed_mod/NOMINAL_AIRSPEED; &lt;br /&gt;
  Bound(speed_depend_nav, 0.66, 1.5);&lt;br /&gt;
  float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; h_ctl_course_pgain * err * speed_depend_nav;&lt;br /&gt;
}}&lt;br /&gt;
Here we only use the Proportional term though a Derivative would be useful as navigation is not well damped.  Note that an Integral term cannot be used for navigation without accurate and reliable wind information and the necessary implementation of wind data.  Note however that we increase/reduce the commanded bank angle for navigation based on the ground speed.  This reduces &amp;quot;hunting&amp;quot; on upwind legs, keeps the navigation tight on fast downwind legs and helps keep circles round in a crosswind.&lt;br /&gt;
&lt;br /&gt;
=== Climb Rate ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_v_ctl.c&amp;lt;/b&amp;gt; we compute the desired climb rate:|&lt;br /&gt;
 v_ctl_altitude_error &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_z - v_ctl_altitude_setpoint;&lt;br /&gt;
 v_ctl_climb_setpoint &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_altitude_pgain * v_ctl_altitude_error + v_ctl_altitude_pre_climb;&lt;br /&gt;
}}&lt;br /&gt;
Here we only use the Proportional term though a Derivative would be useful as climb rate is not well damped.  An integral term may prove useful if well-implemented.  The last term &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;v_ctl_altitude_pre_climb&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; represents the desired constant climb rate needed to follow a 3-dimensional navigation path.  This term is zero for level flight, altitude maintenance, and commanded altitude changes.&lt;br /&gt;
{{Box Code|Then we compute the throttle response:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_z_dot - v_ctl_climb_setpoint;&lt;br /&gt;
 float controlled_throttle &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_auto_throttle_cruise_throttle + v_ctl_auto_throttle_climb_throttle_increment * v_ctl_climb_setpoint &lt;br /&gt;
 + v_ctl_auto_throttle_pgain * (err + v_ctl_auto_throttle_igain * v_ctl_auto_throttle_sum_err);&lt;br /&gt;
and pitch response&lt;br /&gt;
 float v_ctl_pitch_of_vz &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_climb_setpoint * v_ctl_auto_throttle_pitch_of_vz_pgain;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Infrared Sensors ==&lt;br /&gt;
[[Image:Electromagnetic-Spectrum.png|thumb|Electromagnetic Spectrum]]&lt;br /&gt;
The infrared spectrum spans the gap between red light and microwave radiation and consists of a very large range of wavelengths from 0.75µm to 1000µm (compare to 0.38µm to 0.75µm for the entire range of visible light).  With such a broad range, it is not surprising that the properties of IR radiation vary widely with wavelength and therefore are usually categorized as follows:&lt;br /&gt;
* near infrared (NIR, IR-A): 0.75–1.4&amp;amp;nbsp;µm, this range is defined by the water absorption properties and is commonly used in fiber optic communication because of low attenuation losses in the SiO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; glass (silica) fiber.&lt;br /&gt;
* short wavelength IR (SWIR, IR-B): 1.4–3&amp;amp;nbsp;µm, water absorption is substantial in this range.&lt;br /&gt;
* mid wavelength IR (MWIR, IR-C) also intermediate-IR (IIR): 3–8&amp;amp;nbsp;µm&lt;br /&gt;
* long wavelength IR (LWIR, IR-C): 8&amp;amp;ndash;15&amp;amp;nbsp;µm (The wavelength used by the Paparazzi IR sensors)&lt;br /&gt;
* far infrared (FIR): 15–1,000&amp;amp;nbsp;µm (FIR lasers are used to detect explosives and chemical agents by infrared spectroscopy)&lt;br /&gt;
Near IR behaves much like red light, and can be focused in a glass lens or used to illuminate objects and is commonly used for dramatic effects in photography.  Digital cameras are highly sensitive to NIR and typically include a filter to prevent this light from degrading the quality of the visible range.&lt;br /&gt;
[[Image:IR_skyline.jpg|thumb|left|Landscape in NIR]]&lt;br /&gt;
[[Image:IR_chinook.jpg|thumb|left|Sea Knight helicopter in LWIR]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
LWIR is more similar to microwave, and is a form of radiation emitted from within any material of any temperature above absolute zero.  The emitted frequency is dependent on the temperature of the material and objects of common &amp;quot;earthly&amp;quot; temperatures typically emit radiation in the range of 8-12µm.  The IR sensors used by Paparazzi are sensitive only to this range and therefore are not affected by objects of higher temperature, such as the sun.  This range of IR passes easily through smoke and rain but can be blocked with a simple piece of clear tape.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ir_sensor_bot_small.jpg|thumb|IR sensor board]]&lt;br /&gt;
The IR thermopiles used for attitude detection use the thermoelectric effect to convert heat to voltage.  They require no power and the voltage produced is extremely low ~ 40µV/K^4.  To convert this low voltage into something that can be measured by the autopilot we first connect the sensors in geometrically opposed pairs and wire them together backwards - output-to-output, such that the system will produce 0V if the sensors are of equal temperature, and any difference between temperatures creates either a positive or negative voltage.  Next we amplify this voltage by a factor of 500x and add a 1.65V DC offset.  The result is that for normal earthly temperatures, the sensor pair will output a voltage of 0V - 3.3V at extreme temperature differences and 1.65V at equilibrium.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ir_response_curve.gif|thumb|IR voltage vs. angle]]&lt;br /&gt;
As the Earth emits substantially more IR radiation than the sky, we can always measure the difference between Earth and sky - even in cloudy/rainy weather, over snow covered land, or at night.  The voltage produced by the sensor pair is proportional to two factors:&lt;br /&gt;
* The angle of the aircraft&lt;br /&gt;
* The local ground/sky temperature difference&lt;br /&gt;
The sensors typically have a 100 degree field of view and produce a somewhat sinusoidal voltage response relative to their angle orientation. as seen in the plot to the right.  By combining the data from 3 orthogonal pairs of sensors (X, Y, Z axes) we can compute the exact bank and pitch angles of the aircraft in any weather/terrain conditions with the following caveats:&lt;br /&gt;
* Thermopile response is not perfectly sinusoidal so some approximate correction factors must be manually tuned&lt;br /&gt;
* Thermopiles react slowly (~25ms time constant), producing a phase delay that can cause oscillation on agile airplanes if a gyro is not implemented&lt;br /&gt;
* Thermopiles must be dry. A water drop on the sensor will degrade its function. It is therefore not recommended to fly in precipitation or in heavy fog/clouds.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For simple stable aircraft, a 2-axis IR system can be employed by simply measuring the absolute earth/sky temperature difference prior to flight and storing this value.  The software has a function to make this easy - when enabled the user simply holds the aircraft nose-down and moves the aileron stick to store the value.  This method can produce satisfactory results but will severely reduce navigation consistency as all bank angles will be computed relative to the patch of ground and cloud conditions of the launch site. &lt;br /&gt;
[[Image:IR_example2.jpg|thumb|left|2-axis IR angle measurement]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
Further infrared sensor information:&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.ctie.monash.edu.au/hargrave/horizon_sensing_autopilot.pdf &amp;quot;Horizon Sensing Attitude Stabilisation: A VMC Autopilot&amp;quot;]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://hdl.handle.net/2060/19720009937 &amp;quot;NASA Tech Note TN D-6616&amp;quot;] and other [http://ntrs.nasa.gov/search.jsp NASA reports].&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Theory_of_Operation&amp;diff=8152</id>
		<title>Theory of Operation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Theory_of_Operation&amp;diff=8152"/>
		<updated>2010-12-04T04:03:48Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Formal Methods ==&lt;br /&gt;
The critical core of the Paparazzi code has been proven by [http://en.wikipedia.org/wiki/Formal_methods formal methods] to ensure absolute reliability of the servo, R/C, and manual control portions of the code using the same tools and methods used for full-scale autopilots, nuclear power plants, and other critical control systems.  See our page on [[Lustre|formally proving critical Paparazzi code using Lustre]].  &lt;br /&gt;
== Control Loops Writeup ==&lt;br /&gt;
[[Control Loops]]&lt;br /&gt;
== PID ==&lt;br /&gt;
Paparazzi uses common Proportional Integral Derivative (PID) control for stability and navigation.  PID is probably the most commonly used feedback control design as it is simple to implement and intuitive to operate.  PID controllers use three terms operating on the measured error to produce a control output. If ''u(t)'' is the control signal sent to the system, ''y(t)'' is the measured output and ''r(t)'' is the desired output, and tracking error &amp;lt;math&amp;gt;e(t)=r(t)- y(t)&amp;lt;/math&amp;gt;, a PID controller has the general form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u(t) =  K_P e(t) + K_I \int e(t)dt + K_D \dot{e}(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The desired closed loop dynamics are obtained by adjusting the three parameters &amp;lt;math&amp;gt; K_P&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt; K_I&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; K_D&amp;lt;/math&amp;gt;, often iteratively by &amp;quot;tuning&amp;quot; and without specific knowledge of a plant model. Stability can often be ensured using only the proportional term in well damped systems. The integral term compensates for steady long-term errors, and the derivative term is used to provide damping to reduce oscillation.&lt;br /&gt;
&lt;br /&gt;
See more on Wikipedia: [http://en.wikipedia.org/wiki/PID_controller PID Controller]&lt;br /&gt;
&lt;br /&gt;
Paparazzi uses PID controllers on all loops but many of the I and D terms are not fully implemented as they are often unnecessary or difficult to tune.  Below are some examples of the PID implementations in Paparazzi. There is a [[Control Loops|graphical description of the control loops]] as well.&lt;br /&gt;
&lt;br /&gt;
=== Roll Rate ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the roll rate loop:|&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; throttle_dep_pgain * ( err + h_ctl_roll_rate_igain * roll_rate_sum_err / H_CTL_ROLL_RATE_SUM_NB_SAMPLES + h_ctl_roll_rate_dgain * d_err);&lt;br /&gt;
}}&lt;br /&gt;
Note that the roll Pgain is variable with throttle and multiplies through the entire equation affecting the I and D terms as well for ease of tuning.&lt;br /&gt;
&lt;br /&gt;
=== Roll Attitude ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the roll attitude gain loop:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_phi - h_ctl_roll_setpoint;&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; - h_ctl_roll_attitude_gain * err- h_ctl_roll_rate_gain * estimator_p+ v_ctl_throttle_setpoint * h_ctl_aileron_of_throttle;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Pitch Angle ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the pitch angle loop:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_theta - h_ctl_pitch_setpoint;&lt;br /&gt;
 float d_err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; err - last_err;&lt;br /&gt;
 last_err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; err;&lt;br /&gt;
 float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; h_ctl_pitch_pgain * (err + h_ctl_pitch_dgain * d_err) + h_ctl_elevator_of_roll * fabs(estimator_phi);&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here we use only Proportional as the Derivative is always set to zero.  An integral term could prove useful here.  Aircraft pitch response is normally very well damped.  Those with &amp;quot;plank&amp;quot; style aircraft or other pitch-sensitive designs may benefit from implementing a gyro-based D term.&lt;br /&gt;
&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_h_ctl.c&amp;lt;/b&amp;gt; we define the navigation loop:|&lt;br /&gt;
  float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_hspeed_dir - h_ctl_course_setpoint;&lt;br /&gt;
  NormRadAngle(err);&lt;br /&gt;
  float speed_depend_nav &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_hspeed_mod/NOMINAL_AIRSPEED; &lt;br /&gt;
  Bound(speed_depend_nav, 0.66, 1.5);&lt;br /&gt;
  float cmd &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; h_ctl_course_pgain * err * speed_depend_nav;&lt;br /&gt;
}}&lt;br /&gt;
Here we only use the Proportional term though a Derivative would be useful as navigation is not well damped.  Note that an Integral term cannot be used for navigation without accurate and reliable wind information and the necessary implementation of wind data.  Note however that we increase/reduce the commanded bank angle for navigation based on the ground speed.  This reduces &amp;quot;hunting&amp;quot; on upwind legs, keeps the navigation tight on fast downwind legs and helps keep circles round in a crosswind.&lt;br /&gt;
&lt;br /&gt;
=== Climb Rate ===&lt;br /&gt;
{{Box Code|In &amp;lt;b&amp;gt;sw/airborne/fw_v_ctl.c&amp;lt;/b&amp;gt; we compute the desired climb rate:|&lt;br /&gt;
 v_ctl_altitude_error &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_z - v_ctl_altitude_setpoint;&lt;br /&gt;
 v_ctl_climb_setpoint &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_altitude_pgain * v_ctl_altitude_error + v_ctl_altitude_pre_climb;&lt;br /&gt;
}}&lt;br /&gt;
Here we only use the Proportional term though a Derivative would be useful as climb rate is not well damped.  An integral term may prove useful if well-implemented.  The last term &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;v_ctl_altitude_pre_climb&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; represents the desired constant climb rate needed to follow a 3-dimensional navigation path.  This term is zero for level flight, altitude maintenance, and commanded altitude changes.&lt;br /&gt;
{{Box Code|Then we compute the throttle response:|&lt;br /&gt;
 float err &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; estimator_z_dot - v_ctl_climb_setpoint;&lt;br /&gt;
 float controlled_throttle &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_auto_throttle_cruise_throttle + v_ctl_auto_throttle_climb_throttle_increment * v_ctl_climb_setpoint &lt;br /&gt;
 + v_ctl_auto_throttle_pgain * (err + v_ctl_auto_throttle_igain * v_ctl_auto_throttle_sum_err);&lt;br /&gt;
and pitch response&lt;br /&gt;
 float v_ctl_pitch_of_vz &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; v_ctl_climb_setpoint * v_ctl_auto_throttle_pitch_of_vz_pgain;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Infrared Sensors ==&lt;br /&gt;
[[Image:Electromagnetic-Spectrum.png|thumb|Electromagnetic Spectrum]]&lt;br /&gt;
The infrared spectrum spans the gap between red light and microwave radiation and consists of a very large range of wavelengths from 0.75µm to 1000µm (compare to 0.38µm to 0.75µm for the entire range of visible light).  With such a broad range, it is not surprising that the properties of IR radiation vary widely with wavelength and therefore are usually categorized as follows:&lt;br /&gt;
* near infrared (NIR, IR-A): 0.75–1.4&amp;amp;nbsp;µm, this range is defined by the water absorption properties and is commonly used in fiber optic communication because of low attenuation losses in the SiO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; glass (silica) fiber.&lt;br /&gt;
* short wavelength IR (SWIR, IR-B): 1.4–3&amp;amp;nbsp;µm, water absorption is substantial in this range.&lt;br /&gt;
* mid wavelength IR (MWIR, IR-C) also intermediate-IR (IIR): 3–8&amp;amp;nbsp;µm&lt;br /&gt;
* long wavelength IR (LWIR, IR-C): 8&amp;amp;ndash;15&amp;amp;nbsp;µm (The wavelength used by the Paparazzi IR sensors)&lt;br /&gt;
* far infrared (FIR): 15–1,000&amp;amp;nbsp;µm (FIR lasers are used to detect explosives and chemical agents by infrared spectroscopy)&lt;br /&gt;
Near IR behaves much like red light, and can be focused in a glass lens or used to illuminate objects and is commonly used for dramatic effects in photography.  Digital cameras are highly sensitive to NIR and typically include a filter to prevent this light from degrading the quality of the visible range.&lt;br /&gt;
[[Image:IR_skyline.jpg|thumb|left|Landscape in NIR]]&lt;br /&gt;
[[Image:IR_chinook.jpg|thumb|left|Sea Knight helicopter in LWIR]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
LWIR is more similar to microwave, and is a form of radiation emitted from within any material of any temperature above absolute zero.  The emitted frequency is dependent on the temperature of the material and objects of common &amp;quot;earthly&amp;quot; temperatures typically emit radiation in the range of 8-12µm.  The IR sensors used by Paparazzi are sensitive only to this range and therefore are not affected by objects of higher temperature, such as the sun.  This range of IR passes easily through smoke and rain but can be blocked with a simple piece of clear tape.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ir_sensor_bot_small.jpg|thumb|IR sensor board]]&lt;br /&gt;
The IR thermopiles used for attitude detection use the thermoelectric effect to convert heat to voltage.  They require no power and the voltage produced is extremely low ~ 40µV/K^4.  To convert this low voltage into something that can be measured by the autopilot we first connect the sensors in geometrically opposed pairs and wire them together backwards - output-to-output, such that the system will produce 0V if the sensors are of equal temperature, and any difference between temperatures creates either a positive or negative voltage.  Next we amplify this voltage by a factor of 500x and add a 1.65V DC offset.  The result is that for normal earthly temperatures, the sensor pair will output a voltage of 0V - 3.3V at extreme temperature differences and 1.65V at equilibrium.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ir_response_curve.gif|thumb|IR voltage vs. angle]]&lt;br /&gt;
As the Earth emits substantially more IR radiation than the sky, we can always measure the difference between Earth and sky - even in cloudy/rainy weather, over snow covered land, or at night.  The voltage produced by the sensor pair is proportional to two factors:&lt;br /&gt;
* The angle of the aircraft&lt;br /&gt;
* The local ground/sky temperature difference&lt;br /&gt;
The sensors typically have a 100 degree field of view and produce a somewhat sinusoidal voltage response relative to their angle orientation. as seen in the plot to the right.  By combining the data from 3 orthogonal pairs of sensors (X, Y, Z axes) we can compute the exact bank and pitch angles of the aircraft in any weather/terrain conditions with the following caveats:&lt;br /&gt;
* Thermopile response is not perfectly sinusoidal so some approximate correction factors must be manually tuned&lt;br /&gt;
* Thermopiles react slowly (~25ms time constant), producing a phase delay that can cause oscillation on agile airplanes if a gyro is not implemented&lt;br /&gt;
* Thermopiles must be dry. A water drop on the sensor will degrade its function. It is therefore not recommended to fly in precipitation or in heavy fog/clouds.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For simple stable aircraft, a 2-axis IR system can be employed by simply measuring the absolute earth/sky temperature difference prior to flight and storing this value.  The software has a function to make this easy - when enabled the user simply holds the aircraft nose-down and moves the aileron stick to store the value.  This method can produce satisfactory results but will severely reduce navigation consistency as all bank angles will be computed relative to the patch of ground and cloud conditions of the launch site. &lt;br /&gt;
[[Image:IR_example2.jpg|thumb|left|2-axis IR angle measurement]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
Further infrared sensor information:&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.ctie.monash.edu.au/hargrave/horizon_sensing_autopilot.pdf &amp;quot;Horizon Sensing Attitude Stabilisation: A VMC Autopilot&amp;quot;]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://hdl.handle.net/2060/19720009937 &amp;quot;NASA Tech Note TN D-6616&amp;quot;] and other [http://ntrs.nasa.gov/search.jsp NASA reports].&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8151</id>
		<title>Talk:ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8151"/>
		<updated>2010-12-04T03:43:26Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please post info on magnetometer installation... Has this been done already? Is the code in the git repo?&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
What is the max polling rate we can use?&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8150</id>
		<title>ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8150"/>
		<updated>2010-12-04T03:42:13Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Tiny13wIMU_001.jpg|thumb|right|Tiny13 w/IMU]]&lt;br /&gt;
This page describes how to integrate an [http://code.google.com/p/ardu-imu/wiki/HomePage?tm=6 ArduIMU+ V2 (flat)] into an existing Airframe/Paparazzi-Code.&lt;br /&gt;
#The ArduIMU communicates over i2c with the Paparazzi-AP. The wiring is pretty easy to do. Connect SDA, SCL, ground and supply the IMU with 5V. Do not connect 3.3V from the Paparazzi-AP to the ArduIMU as it internally generates it's own stable 3.3v supply.&lt;br /&gt;
#Integration into the Paparazzi software is realized as a module. This is an easy way to connect and test the software. &lt;br /&gt;
#This description shows how to use the ArduIMU without a separate GPS-Receiver and without a Compass/Magnetometer. The GPS-Data is sent by the Paparazzi-AP over i2c to the ArduIMU.&lt;br /&gt;
#There is an other airframe/main-AP we wrote which uses a magnetometer for yaw-drift compensation. We haven't written an installation guide for this configuration yet. But we will try to do this as soon as possible. &lt;br /&gt;
&lt;br /&gt;
The Code has been integrated into the Paparazzi build system. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Airframe Adjustments ==&lt;br /&gt;
&lt;br /&gt;
conf/airframes:	&amp;quot;MyAirframe.xml&amp;quot;&lt;br /&gt;
* (1) '''Insert''' the module:&lt;br /&gt;
 &amp;lt;modules&amp;gt;&lt;br /&gt;
   &amp;lt;load name=&amp;quot;ins_arduimu.xml&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/modules&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (2) Activate &amp;quot;i2c&amp;quot;&lt;br /&gt;
 &amp;lt;target name=&amp;quot;ap&amp;quot;    board=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
   &amp;lt;define name=&amp;quot;USE_I2C0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/target&amp;gt;&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;i2c&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* (3) '''Insert''' INS neutrals&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;section name=&amp;quot;INS&amp;quot; prefix=&amp;quot;INS_&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;ROLL_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;PITCH_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (4) Use this &amp;quot;Settings&amp;quot; file: settings/tuning_ins.xml&lt;br /&gt;
&lt;br /&gt;
* (5) '''Remove''' the infrared estimation&lt;br /&gt;
&lt;br /&gt;
 remove this:&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;attitude&amp;quot;         type=&amp;quot;infrared&amp;quot;/&amp;gt;&lt;br /&gt;
== Magnetometer ==&lt;br /&gt;
Please post use of Magnetometer guide&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Flash the ArduIMU ==&lt;br /&gt;
&lt;br /&gt;
* (6) Flash the ArduIMU with the adapted software in '''sw/airborne/firmwares/non_ap/arduimu_Firmware_WithGps'''. For information concerning flashing of the ArduIMU, read:  http://code.google.com/p/ardu-imu/wiki/Code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can find the original ZHAW code [https://home.zhaw.ch/~schmiemi/Arduimu4Paprazzi.rar here].&lt;br /&gt;
&lt;br /&gt;
== Hardware Considerations ==&lt;br /&gt;
&lt;br /&gt;
So far, this setup has been successfully flown in the Maja and EasyStar aircraft. For faster more agile aircraft such as the Merlin or Funjet, the polling rate needs to be changed from 15 Hz to 40 Hz in the '''/conf/modules/ins_arduimu.xml''' file.&lt;br /&gt;
&lt;br /&gt;
The ArduIMU is sensitive to vibrations. Mount it on a thick piece of foam to dampen the vibrations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have Fun !&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Please Post Results Here... Issues?&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8149</id>
		<title>ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=ArduIMU&amp;diff=8149"/>
		<updated>2010-12-04T03:40:20Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Tiny13wIMU_001.jpg|thumb|right|Tiny13 w/IMU]]&lt;br /&gt;
This page describes how to integrate an [http://code.google.com/p/ardu-imu/wiki/HomePage?tm=6 ArduIMU+ V2 (flat)] into an existing Airframe/Paparazzi-Code.&lt;br /&gt;
#The ArduIMU communicates over i2c with the Paparazzi-AP. The wiring is pretty easy to do. Connect SDA, SCL, ground and supply the IMU with 5V. Do not connect 3.3V from the Paparazzi-AP to the ArduIMU as it internally generates it's own stable 3.3v supply.&lt;br /&gt;
#Integration into the Paparazzi software is realized as a module. This is an easy way to connect and test the software. &lt;br /&gt;
#This description shows how to use the ArduIMU without a separate GPS-Receiver and without a Compass/Magnetometer. The GPS-Data is sent by the Paparazzi-AP over i2c to the ArduIMU.&lt;br /&gt;
#There is an other airframe/main-AP we wrote which uses a magnetometer for yaw-drift compensation. We haven't written an installation guide for this configuration yet. But we will try to do this as soon as possible. &lt;br /&gt;
&lt;br /&gt;
The Code has been integrated into the Paparazzi build system. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Airframe Adjustments ==&lt;br /&gt;
&lt;br /&gt;
conf/airframes:	&amp;quot;MyAirframe.xml&amp;quot;&lt;br /&gt;
* (1) '''Insert''' the module:&lt;br /&gt;
 &amp;lt;modules&amp;gt;&lt;br /&gt;
   &amp;lt;load name=&amp;quot;ins_arduimu.xml&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/modules&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (2) Activate &amp;quot;i2c&amp;quot;&lt;br /&gt;
 &amp;lt;target name=&amp;quot;ap&amp;quot;    board=&amp;quot;...&amp;quot;&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
   &amp;lt;define name=&amp;quot;USE_I2C0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/target&amp;gt;&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;i2c&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* (3) '''Insert''' INS neutrals&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;section name=&amp;quot;INS&amp;quot; prefix=&amp;quot;INS_&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;ROLL_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;PITCH_NEUTRAL_DEFAULT&amp;quot; value=&amp;quot;0&amp;quot; unit=&amp;quot;deg&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (4) Use this &amp;quot;Settings&amp;quot; file: settings/tuning_ins.xml&lt;br /&gt;
&lt;br /&gt;
* (5) '''Remove''' the infrared estimation&lt;br /&gt;
&lt;br /&gt;
 remove this:&lt;br /&gt;
 &amp;lt;subsystem name=&amp;quot;attitude&amp;quot;         type=&amp;quot;infrared&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Flash the ArduIMU ==&lt;br /&gt;
&lt;br /&gt;
* (6) Flash the ArduIMU with the adapted software in '''sw/airborne/firmwares/non_ap/arduimu_Firmware_WithGps'''. For information concerning flashing of the ArduIMU, read:  http://code.google.com/p/ardu-imu/wiki/Code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can find the original ZHAW code [https://home.zhaw.ch/~schmiemi/Arduimu4Paprazzi.rar here].&lt;br /&gt;
&lt;br /&gt;
== Hardware Considerations ==&lt;br /&gt;
&lt;br /&gt;
So far, this setup has been successfully flown in the Maja and EasyStar aircraft. For faster more agile aircraft such as the Merlin or Funjet, the polling rate needs to be changed from 15 Hz to 40 Hz in the '''/conf/modules/ins_arduimu.xml''' file.&lt;br /&gt;
&lt;br /&gt;
The ArduIMU is sensitive to vibrations. Mount it on a thick piece of foam to dampen the vibrations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have Fun !&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Please Post Results Here... Issues?&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8148</id>
		<title>Talk:ArduIMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:ArduIMU&amp;diff=8148"/>
		<updated>2010-12-04T03:25:00Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please post info on magnetometer installation... Has this been done already? Is the code in the git repo?&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
--Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Antenna_Tracker&amp;diff=8133</id>
		<title>Talk:Antenna Tracker</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Antenna_Tracker&amp;diff=8133"/>
		<updated>2010-11-30T01:49:58Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Can you add some info about what the Pan/Tilt Hardware you used were?&lt;br /&gt;
--Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Installation/Linux&amp;diff=4740</id>
		<title>Installation/Linux</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Installation/Linux&amp;diff=4740"/>
		<updated>2009-03-26T17:20:14Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Precompiled binaries can be downloaded and executed with the ''paparazzi-bin'' package but to maintain the power and flexibility of open-source code, most operations within Paparazzi involve recompilation of autopilot and/or ground station code.  Therefore the typical installation requires all of the necessary C and OCaml compilers as well as some XML and [http://www.tls.cena.fr/products/ivy/ Ivy] handlers. These tools are provided by the ''paparazzi-dev'' package.&lt;br /&gt;
&lt;br /&gt;
The Paparazzi sources are hosted by [http://savannah.nongnu.org/cvs/?group=paparazzi Savannah].&lt;br /&gt;
&lt;br /&gt;
The Paparazzi packages are hosted at the [http://www.recherche.enac.fr/paparazzi/debian ENAC repository].&lt;br /&gt;
&lt;br /&gt;
== Installation on Debian based distributions ==&lt;br /&gt;
&lt;br /&gt;
Paparazzi is packaged for Debian as well as all of its dependencies. The [http://www.recherche.enac.fr/paparazzi/debian repository] hosted at ENAC holds their latest version.&lt;br /&gt;
&lt;br /&gt;
=== Installation from the Command Line===&lt;br /&gt;
Just add the following lines to your repository list (&amp;lt;b&amp;gt;/etc/apt/sources.list&amp;lt;/b&amp;gt;) and then&lt;br /&gt;
uncomment the line relevant to your operating system (e.g. one of etch, gutsy or hardy):&lt;br /&gt;
&lt;br /&gt;
{{Box Code|/etc/apt/sources.list|&lt;br /&gt;
 # Uncomment just _one_ of the following lines - depending on your OS version&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/debian&amp;lt;/nowiki&amp;gt; etch main&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/debian&amp;lt;/nowiki&amp;gt; lenny main&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/ubuntu&amp;lt;/nowiki&amp;gt; gutsy main&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/ubuntu&amp;lt;/nowiki&amp;gt; hardy main&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/ubuntu&amp;lt;/nowiki&amp;gt; intrepid main&lt;br /&gt;
 # deb &amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/ubuntu&amp;lt;/nowiki&amp;gt; jaunty main&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note: It is not recommended to install both &amp;lt;tt&amp;gt;paparazzi-bin&amp;lt;/tt&amp;gt; &amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt; &amp;lt;tt&amp;gt;paparazzi-dev&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, update your sources and '''either''' install the precompiled &amp;lt;b&amp;gt;bin&amp;lt;/b&amp;gt;aries&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install paparazzi-bin&lt;br /&gt;
&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt; the dependencies needed for recompiling from the source (&amp;lt;b&amp;gt;dev&amp;lt;/b&amp;gt;), and the cross-compiler (&amp;lt;b&amp;gt;arm7&amp;lt;/b&amp;gt;) :&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install paparazzi-dev&lt;br /&gt;
 sudo apt-get install paparazzi-arm7&lt;br /&gt;
&lt;br /&gt;
As stated before it is not recommended to install both &amp;lt;tt&amp;gt;paparazzi-bin&amp;lt;/tt&amp;gt; &amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt; &amp;lt;tt&amp;gt;paparazzi-dev&amp;lt;/tt&amp;gt;. While the &amp;lt;b&amp;gt;bin&amp;lt;/b&amp;gt; package is self-contained and should be sufficient for users who do not want to patch the code, the &amp;lt;b&amp;gt;dev&amp;lt;/b&amp;gt; meta-package provides only the tools to compile the source code which must be separately downloaded, from an archive or the CVS repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Optional/Obsolete Packages ====&lt;br /&gt;
Users of older AVR based boards will also need the paparazzi-avr package.&lt;br /&gt;
&lt;br /&gt;
==== Extra for Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
The Braille TTY driver interferes with FTDI USB Serial adapters and should be removed:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get remove brltty&lt;br /&gt;
&lt;br /&gt;
=== Installation thru Synaptic Package Manager ===&lt;br /&gt;
* Launch ''Synaptic Package Manager'' (''Applications/System'' Tools Menu)&lt;br /&gt;
* In '''Settings/Repositories''', add a new repository on URI = '''&amp;lt;nowiki&amp;gt;http://paparazzi.enac.fr/debian&amp;lt;/nowiki&amp;gt;''', Distribution = '''etch''', Section = '''main''' . For Ubuntu, replace '''debian''' by '''ubuntu''' and '''etch''' by '''gutsy''' (or '''hardy''')&lt;br /&gt;
* Search for &amp;lt;tt&amp;gt;paparazzi-bin&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;paparazzi-dev&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;paparazzi-arm7&amp;lt;/tt&amp;gt; packages (use the ''Search'' button)&lt;br /&gt;
* Mark them for installation (right-click on package names)&lt;br /&gt;
* Left-click on ''Apply''&lt;br /&gt;
&lt;br /&gt;
== Manual Installation of Individual Packages ==&lt;br /&gt;
Users of other Linux flavors or anyone needing manual control of each individual package can install them independently.  The list of dependencies of the Debian package is located in the [http://cvs.savannah.gnu.org/viewvc/paparazzi/paparazzi3/debian/control.etch?revision=1.16&amp;amp;view=markup &amp;lt;tt&amp;gt; debian/control.etch&amp;lt;/tt&amp;gt;] file and may help users of other distributions.&lt;br /&gt;
&lt;br /&gt;
The binary packages and some corresponding source tarballs can be downloaded from&lt;br /&gt;
&lt;br /&gt;
 http://paparazzi.enac.fr/debian/dists/etch/main/binary-i386/&lt;br /&gt;
&lt;br /&gt;
For distributions using RPM packaging, the [http://packages.debian.org/unstable/source/alien alien] tool can be used to translate a .deb package into a .rpm package.&lt;br /&gt;
&lt;br /&gt;
For Fedora (Core8) users, you can install the following packages from standard repository:&lt;br /&gt;
* ocaml.i386&lt;br /&gt;
* ocaml-camlimages-devel.i386&lt;br /&gt;
* ocaml-lablgtk-devel.i386&lt;br /&gt;
* ocaml-xml-light-devel.i386&lt;br /&gt;
* boa.i386&lt;br /&gt;
* libgnomecanvas-devel.i386&lt;br /&gt;
* libusb-devel.i386&lt;br /&gt;
* pcre-devel.i386&lt;br /&gt;
* arm-gp2x-linux-gcc.i386&lt;br /&gt;
* arm-gp2x-linux-binutils.i386&lt;br /&gt;
* glade2.i386&lt;br /&gt;
* and gcc, make, cvs, gnuplot, imagemagik...&lt;br /&gt;
&lt;br /&gt;
Then you need [http://packages.debian.org/unstable/source/alien alien] tool to convert packages from the paparazzi repository:&lt;br /&gt;
* ivy-c&lt;br /&gt;
* ivy-c-dev&lt;br /&gt;
* ivy-ocaml (WARNING: debian and fedora have different path for ocaml (/usr/lib/ocaml/&amp;lt;version&amp;gt; vs. /usr/lib/ocaml), so you need to move by hand the files in /usr/lib/ocaml/&amp;lt;version&amp;gt; to /usr/lib/ocaml)&lt;br /&gt;
* lpc21isp&lt;br /&gt;
&lt;br /&gt;
== Installing the Source Code (not needed with paparazzi-bin) ==&lt;br /&gt;
After the &amp;lt;tt&amp;gt;paparazzi-dev&amp;lt;/tt&amp;gt; package is installed the complete source code should be downloaded from the CVS repository.  See the [http://savannah.nongnu.org/cvs/?group=paparazzi project page] at Savannah for more details.  From the directory of your choice type:&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3&lt;br /&gt;
This will download all of the code and install it into &amp;lt;tt&amp;gt;paparazzi3/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you cannot use the CVS install, dayly updated tarballs can also be fetched from the [[Downloads|Downloads]] page.&lt;br /&gt;
&lt;br /&gt;
== Launching the Software ==&lt;br /&gt;
&lt;br /&gt;
If you are using the &amp;lt;tt&amp;gt;paparazzi-bin&amp;lt;/tt&amp;gt; package or the Live-CD, just launch the &amp;lt;tt&amp;gt;paparazzi&amp;lt;/tt&amp;gt; binary application and you will be guided through the installation of your personal configuration files.&lt;br /&gt;
&lt;br /&gt;
If you are using the source code, the first step is to compile it. From the &amp;lt;tt&amp;gt;paparazzi3&amp;lt;/tt&amp;gt; directory (&amp;lt;tt&amp;gt;cd paparazzi3&amp;lt;/tt&amp;gt;), run&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You will have to run this command after each update of the source (&amp;lt;tt&amp;gt;cvs update&amp;lt;/tt&amp;gt; command).&lt;br /&gt;
Launch the software from the &amp;lt;tt&amp;gt;paparazzi3&amp;lt;/tt&amp;gt; directory with&lt;br /&gt;
&lt;br /&gt;
 ./paparazzi&lt;br /&gt;
&lt;br /&gt;
From the [[Paparazzi_Center|Paparazzi Center]] interface, select the ''MJ5'' aircraft, select the ''sim'' target and ''Build'' it. Then ''Execute'' the ''Simulation'' session.&lt;br /&gt;
&lt;br /&gt;
If ('''and only if''') you want to directly launch some Paparazzi agents (the ''Tools'' of the [[Paparazzi_Center|Paparazzi Center]]), without using the Paparazzi Center, you must have the Paparazzi source and home environment variables set correctly in your shell. These variables can be automatically set in your shell by adding the following lines to your .bashrc file:&lt;br /&gt;
{{Box Code|/home/your_username/.bashrc|&lt;br /&gt;
 export PAPARAZZI_HOME&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;''your paparazzi3 directory''&lt;br /&gt;
 export PAPARAZZI_SRC&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;''your paparazzi3 directory''&lt;br /&gt;
}}&lt;br /&gt;
If you wish to manually set the env variables (i.e. when compiling a backup copy of your code in a different folder) execute the following command from the folder you wish to set as your active paparazzi folder:&lt;br /&gt;
 export PAPARAZZI_HOME=`pwd`;export PAPARAZZI_SRC=`pwd`&lt;br /&gt;
Verify that your variables are set correctly with the following command:&lt;br /&gt;
 env | grep PAPARAZZI&lt;br /&gt;
which should return the following:&lt;br /&gt;
 PAPARAZZI_HOME&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;''your paparazzi3 directory''&lt;br /&gt;
 PAPARAZZI_SRC&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;''your paparazzi3 directory''&lt;br /&gt;
&lt;br /&gt;
== Setting access rights for USB download ==&lt;br /&gt;
&lt;br /&gt;
This may be required to flash the Paparazzi-boards directly thru USB. For flashing details, see [[Compiling]].&lt;br /&gt;
&lt;br /&gt;
Default linux rights may not allow standard (non root) users to directly access the USB bus. You will need to make yourself a member of the plugdev &amp;quot;group&amp;quot; and then create a &amp;quot;rule&amp;quot;, associated with that &amp;quot;group&amp;quot;. &amp;lt;br&amp;gt;&lt;br /&gt;
Make yourself a member of the ''plugdev'' group:&lt;br /&gt;
&lt;br /&gt;
 sudo adduser &amp;lt;your login&amp;gt; plugdev&lt;br /&gt;
&lt;br /&gt;
Logout and login again. Then add the appropriate rule (available ine fhe file ''10-paparazzi.rules'') to the USB handler.  Simply copy as root &amp;lt;tt&amp;gt;$PAPARAZZI_HOME/conf/system/udev/rules/10-paparazzi.rules&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;/etc/udev/rules.d/&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 sudo cp $PAPARAZZI_HOME/conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/&lt;br /&gt;
&lt;br /&gt;
== Software Updates ==&lt;br /&gt;
Paparazzi is a very rapidly evolving project and as such, you will find that variables and functions are frequently added, changed, or removed.  Update your software with care and caution, and always test the functionality on the ground and in the air as some updates will affect tuning parameters.  Your airframe file will not be updated by the CVS system and therefore any new or modified variable names will need to be added manually.  The compiler will usually identify the problem variables at which point you can look at some of the most recent airframe files on the CVS to find the proper syntax.  See the [[Compiling]] page for more help if needed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
That said, keeping your software up to date is easy with the CVS system.  The system will compare all source code files with the server and update any that are needed, automatically merging any minor changes that you have incorporated along the way.&lt;br /&gt;
&lt;br /&gt;
To download and automatically merge any updated source files, run the following command from your Paparazzi directory&lt;br /&gt;
 cvs update -d&lt;br /&gt;
where the &amp;lt;tt&amp;gt;-d&amp;lt;/tt&amp;gt; is needed to get any new directories.&lt;br /&gt;
&lt;br /&gt;
After any CVS update or source code modification the code can be recompiled from ''your paparazzi3 directory'' with the following command:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
The ''make'' command will only recompile portions of the software where changed have been detected.  If it does not behave as expected you can deleted all compiled files and recompile from scratch with the following commands:&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
See the [[Compiling]] page for more info.&lt;br /&gt;
&lt;br /&gt;
Users making changes to their code structure may prefer to have more control over the updating and merging process and may wish to install and use '''tkcvs''' instead which provides highlighted comparisons of any files that differ between your code and the CVS server and allows for a file by file update.&lt;br /&gt;
&lt;br /&gt;
To update your Linux distribution as well as any dependencies of Paparazzi (seldom necessary), run the following as root:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
== LiveCd ==&lt;br /&gt;
&lt;br /&gt;
The LiveCD is an easy way to test Paparazzi: no installation is required and no changes are made to your computer.  Simply burn the image as a boot CD and reboot!  The LiveCD includes Linux and the complete paparazzi binary package (code source, tools and cross compilers).  It is intended for demonstration only and not frequently updated but it contains the complete system and can store changed files on a pen drive or compressed file on your hard drive so that it can compile, flash, and operate any aircraft, albeit slowly.  &lt;br /&gt;
 &lt;br /&gt;
The CD image and a howto on [[Using the Boot CD]] is available from the [[Downloads|Downloads]] page.&lt;br /&gt;
&lt;br /&gt;
The Paparazzi demo is launchable on the Live CD from the Paparazzi icon.&lt;br /&gt;
&lt;br /&gt;
Knoppix allows for all the user data to be saved on a hard disk partition (most file systems are supported) or on a removable device (typically a USB pendrive). Note that this action is not destructive: the user data tree is compressed and stored on your file system as a single file (&amp;lt;tt&amp;gt;knoppix.img&amp;lt;/tt&amp;gt;).&lt;br /&gt;
* From the Knoppix menu (second from bottom left), choose '''Configure''', '''Create a persistent KNOPPIX disk image'''&lt;br /&gt;
* Choose your media (be sure to connect your USB pendrive before booting!)&lt;br /&gt;
* Choose if you want an encrypted filesystem (to protect your flight plan designed for the next MAV competition :-) )&lt;br /&gt;
* Choose the size of your home directory (100Mb is recommended)&lt;br /&gt;
On the next reboot, this saved state will be automatically located and loaded.&lt;br /&gt;
&lt;br /&gt;
Using this persistent feature, the Paparazzix Live CD can really be used to configure, simulate and fly an aircraft with the Paparazzi system.&lt;br /&gt;
&lt;br /&gt;
The Live CD can also be used to install a Debian system on the hard disk, using the &amp;lt;tt&amp;gt;knoppix-installer&amp;lt;/tt&amp;gt; command. Be sure to backup the hard disk before trying ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Lightscribe_CD_Cover_1.JPG|thumb|320px|LightScribe CD Cover]] A LiveCD needs some looks... In color or in LightScribe format, your CD will always look cool. &lt;br /&gt;
* Get the PDF version for download here [http://paparazzi.enac.fr/wiki_images/Lightscribe_CD_Cover_1.pdf LightScribe CD Cover 1].&lt;br /&gt;
&lt;br /&gt;
* The LightScribe version is in Nero Cover Design format (.ncd) and it's here for download [http://paparazzi.enac.fr/wiki_images/Lightscribe_CD_Cover_1.zip LightScribe CD Cover 1]&lt;br /&gt;
&lt;br /&gt;
* Better is ofcourse to use it on an OpenSource OS, some Linux software to be found here: [http://www.lightscribe.com/downloadSection/linux/index.aspx?id=815]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Ar7000.jpg&amp;diff=4645</id>
		<title>File:Ar7000.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Ar7000.jpg&amp;diff=4645"/>
		<updated>2009-03-08T22:44:16Z</updated>

		<summary type="html">&lt;p&gt;Danstah: AR7000 Receiver&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;AR7000 Receiver&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:DX7.jpg&amp;diff=4643</id>
		<title>File:DX7.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:DX7.jpg&amp;diff=4643"/>
		<updated>2009-03-08T22:25:38Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Picture of DX-7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Picture of DX-7&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4623</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4623"/>
		<updated>2009-03-02T19:18:06Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Added video link to UAS competition highlight video&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;border-spacing:8px;margin:0px -8px&amp;quot; class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:100%;border:1px solid #9999bf;background-color:#f5fffa;vertical-align:top;color:#000; text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#82add9;font-size:150%;font-weight:bold;border:1px solid #a3bfb1;text-align:center;color:#ffffff;padding:0.2em 0.4em;&amp;quot;&amp;gt;Welcome To Paparazzi&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[General|General]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{General}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Hardware|Hardware]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Hardware}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Software|Software]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Software}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Miscellaneous|Miscellaneous]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Miscellaneous}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- Start of right-column --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:70%;border:1px solid #cedff2;background-color:#f5faff;vertical-align:top&amp;quot;|&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi Project&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|[http://www.nongnu.org/paparazzi/ Paparazzi] is a free and open-source hardware and software project intended to create an exceptionally powerful and versatile autopilot system by allowing and encouraging input from the community. The project includes not only the airborne hardware and software, from voltage regulators and GPS receivers to [http://en.wikipedia.org/wiki/Kalman_filtering Kalman filtering] code, but also a powerful and ever-expanding array of ground hardware and software including modems, antennas, and a highly evolved user-friendly ground control software interface.&lt;br /&gt;
|-&lt;br /&gt;
|All hardware and software is open-source and freely available to anyone under the [http://www.gnu.org GNU] licencing agreement. [[Get_Hardware| Several vendors]] are currently producing and selling Paparazzi autopilots and popular accessories, making the system easy and affordable to all.&lt;br /&gt;
|-&lt;br /&gt;
|The key feature of the paparazzi autopilot is its unique combination of infrared thermopiles and inertial measurement for attitude sensing, providing a robust and accurate attitude estimate that requires no ground calibration and can recover from any launch attitude.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi project at ENAC&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|The Paparazzi mini [http://en.wikipedia.org/wiki/Unmanned_Aircraft_System UAS] project is now being used and developed at [http://www.enac.fr/ ENAC University].&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
* A [http://www.debian.org debian] [http://www.recherche.enac.fr/paparazzi/debian/ repository] containing some packages not in the official distribution and required to run Paparazzi.&lt;br /&gt;
* PaparazziX [http://www.ubuntu.com/ Ubuntu] based live CD is available from the [http://www.recherche.enac.fr/paparazzi/paparazzix/ paparazzix directory].&lt;br /&gt;
* Nightly and release [http://www.recherche.enac.fr/paparazzi/tarball/ tarballs].&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#faf5ff;border:1px solid #ddcef2; text-align: justify;&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#ddcef2;font-size:120%;font-weight:bold;border:1px solid #afa3bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;News&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;February 16th, 2009&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| We have a new forum to talk about this project. Please visit and participate http://www.azoreanuav.com/forum . Please, vote in the next link to continue with the forum or not. http://www.azoreanuav.com/forum/viewtopic.php?f=2&amp;amp;t=7 &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;February 9th, 2009&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 3 ENAC students have released a Graphical control application for Paparazzi on Mobile phone using Java technoligies. Check the [[Ipodrom]] project page for more details.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 19, 2009&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
Paparazzi Developers,&amp;lt;br&amp;gt;&lt;br /&gt;
This is to announce a Call for Papers for the 2009 ASME/IEEE International Conference on Mechatronic and Embedded Systems and Applications (MESA09), part of ASME IDETC09. The conference is to be held August 30 - September 2, 2009 at  San Diego Convention Center.  This Call for Papers is specific to the Session chaired by myself, Antoine Drouin , and Anton Kochevar. This topic of this session is &amp;quot; Open Source UAV Autopilots: Status and Progression&amp;quot;, part of a symposium of MESA09 called &amp;quot;Small Unmanned Aerial Vehicle Technologies and Applications (SUAVTA)&amp;quot;. This Technical Session is meant to be a session that will focus on Paparazzi, the topics can include specific features developed for Paparazzi or applications using Paparazzi along with other innovative aspects or uses of Paparazzi. We hope to make this one of the largest and best conferences dealing with Paparazzi. Please help us to promote Paparazzi and bring this amazing project to even more people. Full paper deadline is Feb. 27, 2009 using the online submission system.&lt;br /&gt;
&lt;br /&gt;
Conference Website: https://www.asmeconferences.org/IDETC09/  (click MESA09, then, UAV Symposium, then this dedicated session) or http://iel.ucdavis.edu/mesa/MESA09/&lt;br /&gt;
&lt;br /&gt;
If you have any further questions please email me at&lt;br /&gt;
daniel.morgan @ aggiemail.usu.edu (remove spaces)&lt;br /&gt;
Research Associate, Center for Self-Organizing and Intelligent Systems at Utah State University&lt;br /&gt;
http://www.engr.usu.edu/wiki/index.php/User:CSOIS &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;September 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:motodrone_08u.JPG|thumb|left]]&lt;br /&gt;
A paparazzi team took part in the [http://motodrone.org/ Motodrone] event held in Finowfurt near Berlin.&amp;lt;br&amp;gt;&lt;br /&gt;
It was fun, the beer was cool and barbecues worked flawlessly. And we flew funjets...&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://berlinvr.info/motodrone2008.html Video]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Targets auvsi 08.JPG|thumb|left]]  &lt;br /&gt;
The [http://www.engr.usu.edu/wiki/index.php/OSAM OSAM] Paparazzi team took 2nd place in the Sixth Annual Student Unmanned Aerial Systems Competition! The event is sponsored by AUVSI (Association for Unmanned Vehicle Systems International) and was held at Webster Field, St. Inigoes, Maryland. It should also be noted that this was Paparazzi's and the OSAM Paparazzi team's first time at the competition.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.navair.navy.mil/pma263/seafarers/default.htm Link to competition]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.navair.navy.mil/pma263/seafarers/video/video08.html Highlight Video of Competition] &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 13, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Twog_v1-00_top_side_3.jpg|thumb|left|'''T'''iny '''W'''ith'''O'''ut '''G'''ps]]  &lt;br /&gt;
The new baby autopilot is born.&amp;lt;br&amp;gt;&lt;br /&gt;
His name is TWOG, he weighs 8 grams and is 40.2 x 30.5mm long. He' in good health and looks a lot like his mother Tiny v2, except for the GPS receiver.&amp;lt;br&amp;gt;&lt;br /&gt;
The proud parents invite you to visit the [[Twog_v1|pictures and technical information album]]...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 26, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Heli_deck.jpg|thumb|left|Funjet on the helicopter deck]]  &lt;br /&gt;
Scientists from the [http://web.gfi.uib.no/index_e.html Geophysical Institute of the University of Bergen/Norway] flew Paparazzi controlled [[media:Funjet_spitsbergen.jpg|Funjet]] aircrafts equipped with meteorological sensors in the Arctic sea around Spitsbergen only with the help of a RC safety pilot and no Paparazzi team member nearby. They took off and landed on the helicopter deck of the Norwegian icebreaking coast guard vessel [http://www.jtashipphoto.dk/JTA-W303%20Svalbard.htm KV Svalbard] for one week and set a new Paparazzi low temperature record by flying at around -20°C and 15m/s wind in altitudes up to 1500m. For another two weeks they also collected data on Spitsbergen near Longyearbyen. See pictures in the gallery and a [http://www.youtube.com/watch?v=VWEa_4Hlm2s video].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 15, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Tiny_v2-1_3D_top.jpg|thumb|left|Tiny 2.11]]&lt;br /&gt;
A number of vendors are now offering assembled and unassembled autopilots, sensors and accessories.  The software is written, the hardware is built, what are you waiting for?  Getting started has never been easier!  More details on the [[Get_Hardware|Get Hardware]] page.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;February 6, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:eeePC.jpg|thumb|left|Paparazzi running on eeePC]]  &lt;br /&gt;
Looking for a small, light and cheap ground station ? Paparazzi runs on the [http://eeepc.asus.com ASUS eeePC] out of the box (after installing the Debian Paparazzi packages). Tested on the pre-installed Xandros distribution, on a standard Ubuntu and on the preconfigured [http://wiki.eeeuser.com/ubuntu:eeexubuntu:home eeeXubuntu].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 27, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:StormTV.jpg|thumb|left|Paparazzi's Storm on TV in Turkey]]  [http://www.showtvnet.com/haber/playerd.asp?ptype=haber&amp;amp;product=/270108/ucak.wmv Storm on TV], A Paparazzi aircraft is featured on the biggest Television station in Turkey. (Sorry, the audio is only in Turkish...)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;[[News Archives]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
[[Image:One_Small_Step.jpg|thumb|left|[[News Archives]]]] [[News Archives|Browse the archives]] for a look back at the earlier days of Paparazzi.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Infrared_Double_Small_Sensor_Board&amp;diff=4588</id>
		<title>Infrared Double Small Sensor Board</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Infrared_Double_Small_Sensor_Board&amp;diff=4588"/>
		<updated>2009-02-24T20:56:29Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Pinout */  Changed braun to brown. No french allowed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;background:white; color:red&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Removed warning message as I have been successfully using this board for months without issue.  If more testing is required, please specify. -CheBuzz&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
[[Image:IR_double_small_3D_top.jpg|300px|IR double small sensor board 3D top view]]&lt;br /&gt;
[[Image:IR_double_small_3D_bottom.jpg|300px|IR double small sensor board 3D bottom view]]&lt;br /&gt;
&lt;br /&gt;
== Dimensions ==&lt;br /&gt;
&lt;br /&gt;
[[Image:IR_double_small_size_top.png]]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
[[Image:IR double small pinout.png|frame|left|Pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;  cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;text-align:center&amp;quot; cellpadding=&amp;quot;6&amp;quot;&lt;br /&gt;
!''Pin #''!!width=&amp;quot;80&amp;quot;|''Name''!!''Type''!!width=&amp;quot;300&amp;quot;|''Description''!!width=&amp;quot;50&amp;quot;|''Suggested Color''&lt;br /&gt;
|-&lt;br /&gt;
|1|||IR2||OUT||IR Signal Axis 2||style=&amp;quot;background:grey; color:white&amp;quot;|Grey&lt;br /&gt;
|-&lt;br /&gt;
|2||GND||PWR||Ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|3||VCC||PWR||+3.3v Power Supply||style=&amp;quot;background:red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|4||IR1||OUT||IR Signal Axis 1||style=&amp;quot;background:sienna; color:white&amp;quot;|Brown&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
&lt;br /&gt;
[[Image:IR_double_small_schematic.png|left|600px|Wide Horizontal IR Sensor Schematic]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PCB ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:IR_double_small_PCB_top.jpg|PCB top side view (Olimex)&lt;br /&gt;
Image:IR_double_small_top_copper.png|Top copper side&lt;br /&gt;
Image:IR_double_small_PCB_bottom.jpg|PCB bottom side view (Olimex)&lt;br /&gt;
Image:IR_double_small_bottom_copper.png|Bottom copper side&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Gerber &amp;amp; Drill Files ===&lt;br /&gt;
&lt;br /&gt;
download ''[[Media:Gerber_for_IR_double_small.zip|IR double small sensor board gerber &amp;amp; drill files (zip)]]''&lt;br /&gt;
&lt;br /&gt;
RS274X, units = Inches, format = 2:5&lt;br /&gt;
&lt;br /&gt;
:*IR_double_small.GTO (Top Component Print Layer)&lt;br /&gt;
:*IR_double_small.GTS (Top Solder Mask)&lt;br /&gt;
:*IR_double_small.GTL (Top Copper Layer)&lt;br /&gt;
:*IR_double_small.GBL (Bottom Copper Layer)&lt;br /&gt;
:*IR_double_small.GBS (Bottom Solder Mask)&lt;br /&gt;
:*IR_double_small.DRI (NC XY coordinates &amp;amp; Drill tools sizes)&lt;br /&gt;
&lt;br /&gt;
== Assembly ==&lt;br /&gt;
&lt;br /&gt;
=== Components Layout ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:IR_double_small_2D_top.jpg|Top components Layout&lt;br /&gt;
Image:IR_double_small_top_components.png|Top components details&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bill Of Material ===&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;text-align:center&amp;quot; cellpadding=&amp;quot;2&amp;quot; valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|-style=&amp;quot;background:LightYellow; color:black&amp;quot;&lt;br /&gt;
!''Qty''!!''Manufacturer part #''!!width=&amp;quot;150pt&amp;quot;|''Schematic part name / value''!!''Designator''!!width=&amp;quot;150pt&amp;quot;|''Description''!!''Manufacturer''!!''Package''!!''Optional''!!''Digikey.com''!!width=&amp;quot;150pt&amp;quot;|''Other distributor''&lt;br /&gt;
|-style=&amp;quot;background:WhiteSmoke; color:black&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;10&amp;quot; align=&amp;quot;left&amp;quot;|''Resistors''&lt;br /&gt;
|-&lt;br /&gt;
|2||ERJ-3EKF2200V||220||R1,R2||1/16W, 5%||Panasonic||0603||||P220HCT-ND||&lt;br /&gt;
|-&lt;br /&gt;
|2||ERJ-3EKF1001V||1K||R3,R4||1/16W, 5%||Panasonic||0603||||P1.00KHCT-ND||&lt;br /&gt;
|-&lt;br /&gt;
|2||ERJ-3EKF4701V||4.7K||R7,R8||1/16W, 5%||Panasonic||0603||||P4.70KHCT-ND||&lt;br /&gt;
|-&lt;br /&gt;
|2||ERJ-3EKF8203V||820K||R5,R6||1/16W, 5%||Panasonic||0603||||P820KHCT-ND||&lt;br /&gt;
|- style=&amp;quot;background:WhiteSmoke; color:black&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;10&amp;quot; align=&amp;quot;left&amp;quot;|''Capacitors''&lt;br /&gt;
|-&lt;br /&gt;
|7||C0603C104K5RAC||100nF||C1 to C7||50V, 10%||Kemet||0603||||399-5089-1-ND||&lt;br /&gt;
|- style=&amp;quot;background:WhiteSmoke; color:black&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;10&amp;quot; align=&amp;quot;left&amp;quot;|Semiconductors&lt;br /&gt;
|-&lt;br /&gt;
|1||AD8552ARUZ||AD8552||IC1||Dual operational amplifier||Analog Devices||TSSOP8|||| AD8552ARUZ-ND||&lt;br /&gt;
|- style=&amp;quot;background:WhiteSmoke; color:black&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;10&amp;quot; align=&amp;quot;left&amp;quot;|''Other''&lt;br /&gt;
|-&lt;br /&gt;
|4||MLX90247-ESF-DSA||MLX90247||IR1 to IR4||Discrete Infrared Thermopile Detector||Melexis||TO-39||||MLX90247-ESF-DSA-ND||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PCB and assembled boards suppliers ==&lt;br /&gt;
&lt;br /&gt;
For private companies and enthusiast Paparazzi hardware suppliers, see [[Get_Hardware|Get Hardware]] page.&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
'''Source files'''&lt;br /&gt;
:*download ''[[Media:IR_double_small_protel_design.zip|IR double small sensor board Protel 99SE SP6 design (zipped Protel 99 ddb file)]]''&lt;br /&gt;
'''Gerber &amp;amp; Drill files'''&lt;br /&gt;
:*download ''[[Media:Gerber_for_IR_double_small.zip|IR double small sensor board gerber &amp;amp; drill files (zip)]]''&lt;br /&gt;
'''Assembly files'''&lt;br /&gt;
:*download ''[[Media:IR_double_small_components_layouts.pdf|IR double small sensor board Components layouts (pdf)]]''&lt;br /&gt;
:*download ''[[Media:IR_double_small_BOM.zip|IR double small sensor board Bill Of Material (zipped .xls file)]]''&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=4583</id>
		<title>Talk:Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=4583"/>
		<updated>2009-02-23T20:06:38Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who have used the 4P and 5H (or even just one) what were the differences in the reported accuracy? Please post your results &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
My Results are: &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
tiny13-4P 4-6m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
TWOG W/gps13-5H 8-10m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=4582</id>
		<title>Talk:Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Sensors/GPS&amp;diff=4582"/>
		<updated>2009-02-23T20:05:13Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those who have used the 4P and 5H what were the differences in the reported accuracy? &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
My Results are: &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
4P 4-6m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
5H 8-10m&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4476</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4476"/>
		<updated>2009-02-17T15:35:24Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Trials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Digi XBee modules ==&lt;br /&gt;
&lt;br /&gt;
Digi (formerly Maxstream) offers an increasing variety of Zigbee protocol modems well suited for Paparazzi in 2.4 GHz, 900MHz and 868Mhz frequencies.  The &amp;quot;Pro&amp;quot; series are long range, up to 40km!  Standard series are slightly smaller/lighter/lower power consumption and very short range.  All versions are all pin compatible and weigh around 2 grams with wire antennas.  All Digi modems can be operated in transparent mode (as a serial line replacement) or in &amp;quot;API mode&amp;quot; with hardware addressing, managed networking, and RSSI (signal strength) data with the Paparazzi &amp;quot;Xbee&amp;quot; option.  Three antenna options are offered: the SMA version is ideal for ground modems, wire antennas for aircraft, and chip antennas for those with very limited space.&lt;br /&gt;
&lt;br /&gt;
* XBee (PRO) ZB (the current series)&lt;br /&gt;
* XBee (PRO) ZNet 2.5 (formerly Series 2) (only legacy -&amp;gt; use XBee-PRO ZB)&lt;br /&gt;
The XBee &amp;amp; XBee-PRO ZB share hardware (ember stack) with XBee &amp;amp; XBee-PRO ZNet 2.5. As a result, modules can be &amp;quot;converted&amp;quot; from one platform to another by loading different firmware onto a given module.&lt;br /&gt;
&lt;br /&gt;
These two also share the same hardware and can be converted from one to another by flashing a different firmware:&lt;br /&gt;
* XBee-PRO 802.15.4 (formerly Series 1)&lt;br /&gt;
* XBee-PRO DigiMesh 2.4&lt;br /&gt;
&lt;br /&gt;
Note: Products based on XBee ZNet 2.5 (formerly Series 2) modules are not compatible with earlier XBee 802.15.4 (Series 1) modules.&lt;br /&gt;
&lt;br /&gt;
=== Module Comparison ===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''Module'''||'''Point-to-Multipoint'''||'''ZigBee/Mesh'''||'''Hardware'''|||'''Software stack'''||'''Frequency'''||'''TX Power normal/PRO'''||'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZB'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet PRO 3.1 (ZigBee 2007)&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZNet 2.5'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet 2.5 ZigBee&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|(only legacy -&amp;gt; use XBee-PRO ZB) coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee DigiMesh 2.4'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|all nodes equal (no special coordinators/routers/end-devices)&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee 802.15.4'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee-PRO 868'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|868 MHz&lt;br /&gt;
|500mW&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Pinout ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
Note : DTR and RTS need to be wired for upgrading firmware&lt;br /&gt;
&lt;br /&gt;
=== GCS Adaptation ===&lt;br /&gt;
&lt;br /&gt;
[[Image:xbeeadapter_LRG.jpg|thumb|left|Adafruit XBee adapter board)]][[Image:xbeeadapterftdi_LRG.jpg|thumb|Adafruit XBee adapter with FTDI cable)]]&lt;br /&gt;
[http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=29&amp;amp;products_id=126 Adafruit] (yes, that really is their name) offers a great adapter board kit for the Xbee modules that includes a 5-3.3V voltage regulator, power and activity LEDs, and pins to connect directly to your FTDI cable for $10!  Some assembly required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ===&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro ZB ===&lt;br /&gt;
&lt;br /&gt;
The low-power XBee ZB and extended-range XBee-PRO ZB use the ZigBee PRO Feature Set for advanced mesh networking.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Prd-xbeemoduleseries2.jpg|thumb|left|Maxstream XBee Pro ZB]]&lt;br /&gt;
|&lt;br /&gt;
* Low-cost, low-power mesh networking&lt;br /&gt;
* Interoperability with ZigBee PRO Feature Set devices from other vendors*&lt;br /&gt;
* Support for larger, more dense mesh networks&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* Frequency agility&lt;br /&gt;
* Over-the-air firmware updates (change firmware remotely)&lt;br /&gt;
* ISM 2.4 GHz operating frequency&lt;br /&gt;
* XBee: 2 mW (+3 dBm) power output (up to 400 ft RF LOS range)&lt;br /&gt;
* XBee-PRO: 50 mW (+17 dBm) power output (up to 1 mile RF LOS range)&lt;br /&gt;
* RPSMA connector, U.FL connector, Chip antenna, or Wired Whip antenna&lt;br /&gt;
* price : ~34 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
&lt;br /&gt;
For the ZigBee ZNet 2.5 and ZB modules to work one of the modules has to be flashed with the coordinator firmware. All the others in the same PAN can either run as routers or end-devices.&lt;br /&gt;
* Flash one module (ground station) with the coordinator AT firmware&lt;br /&gt;
* Flash aircraft module with router or end-device AT firmware&lt;br /&gt;
* Set PAN ID to some unique (but same) ID on both modules&lt;br /&gt;
* Set a Node Identifier for each module (e.g. ground, aircraft)&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp]&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 868 ===&lt;br /&gt;
&lt;br /&gt;
XBee-PRO 868 modules are long range embedded RF modules for European applications. Purpose-built for exceptional RF performance, XBee-PRO 868 modules are ideal for applications with challenging RF environments, such as urban deployments, or where devices are several kilometers apart.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro 868]]&lt;br /&gt;
|&lt;br /&gt;
* 868 MHz short range device (SRD) G3 band for Europe&lt;br /&gt;
* Software selectable Transmit Power&lt;br /&gt;
* 40 km RF LOS w/ dipole antennas&lt;br /&gt;
* 80 km RF LOS w/ high gain antennas (TX Power reduced)&lt;br /&gt;
* Simple to use peer-to-peer/point-to-mulitpoint topology&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* 500 mW EIRP&lt;br /&gt;
* 24 kbps RF data rate&lt;br /&gt;
* price : ~70 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro XSC 900Mhz ===&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
==== Trials ====&lt;br /&gt;
Tested one today and it worked great. Going to try a multiUAV test with it soon&lt;br /&gt;
--Danstah&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MultiUAV tests concluded this is probably not the best module to use. Even though it says you can change the baudrate inside x-ctu that is not the case, it is fixed at 9600 bps. This is a great modem however for single UAV's and I do recommend.&lt;br /&gt;
--Danstah&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is already implemented but some system integration is required. Full API more with addressed packets works well and was tested with AC4790-1x1 5mW low power modules. Maximim range achieved with a whip quater-wave antenna was 1Km.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny v1.1 Serial-1'''''||'''''Tiny v2.11 Serial'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1||1|| -&lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||3||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||?||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise as connected RTS/CTS sporadically leads to a reprogramming of the modem. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem (picture shows connection to Tiny 1.1)]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny v1.1&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4475</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4475"/>
		<updated>2009-02-17T15:35:07Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Trials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Digi XBee modules ==&lt;br /&gt;
&lt;br /&gt;
Digi (formerly Maxstream) offers an increasing variety of Zigbee protocol modems well suited for Paparazzi in 2.4 GHz, 900MHz and 868Mhz frequencies.  The &amp;quot;Pro&amp;quot; series are long range, up to 40km!  Standard series are slightly smaller/lighter/lower power consumption and very short range.  All versions are all pin compatible and weigh around 2 grams with wire antennas.  All Digi modems can be operated in transparent mode (as a serial line replacement) or in &amp;quot;API mode&amp;quot; with hardware addressing, managed networking, and RSSI (signal strength) data with the Paparazzi &amp;quot;Xbee&amp;quot; option.  Three antenna options are offered: the SMA version is ideal for ground modems, wire antennas for aircraft, and chip antennas for those with very limited space.&lt;br /&gt;
&lt;br /&gt;
* XBee (PRO) ZB (the current series)&lt;br /&gt;
* XBee (PRO) ZNet 2.5 (formerly Series 2) (only legacy -&amp;gt; use XBee-PRO ZB)&lt;br /&gt;
The XBee &amp;amp; XBee-PRO ZB share hardware (ember stack) with XBee &amp;amp; XBee-PRO ZNet 2.5. As a result, modules can be &amp;quot;converted&amp;quot; from one platform to another by loading different firmware onto a given module.&lt;br /&gt;
&lt;br /&gt;
These two also share the same hardware and can be converted from one to another by flashing a different firmware:&lt;br /&gt;
* XBee-PRO 802.15.4 (formerly Series 1)&lt;br /&gt;
* XBee-PRO DigiMesh 2.4&lt;br /&gt;
&lt;br /&gt;
Note: Products based on XBee ZNet 2.5 (formerly Series 2) modules are not compatible with earlier XBee 802.15.4 (Series 1) modules.&lt;br /&gt;
&lt;br /&gt;
=== Module Comparison ===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''Module'''||'''Point-to-Multipoint'''||'''ZigBee/Mesh'''||'''Hardware'''|||'''Software stack'''||'''Frequency'''||'''TX Power normal/PRO'''||'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZB'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet PRO 3.1 (ZigBee 2007)&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZNet 2.5'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet 2.5 ZigBee&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|(only legacy -&amp;gt; use XBee-PRO ZB) coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee DigiMesh 2.4'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|all nodes equal (no special coordinators/routers/end-devices)&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee 802.15.4'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee-PRO 868'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|868 MHz&lt;br /&gt;
|500mW&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Pinout ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
Note : DTR and RTS need to be wired for upgrading firmware&lt;br /&gt;
&lt;br /&gt;
=== GCS Adaptation ===&lt;br /&gt;
&lt;br /&gt;
[[Image:xbeeadapter_LRG.jpg|thumb|left|Adafruit XBee adapter board)]][[Image:xbeeadapterftdi_LRG.jpg|thumb|Adafruit XBee adapter with FTDI cable)]]&lt;br /&gt;
[http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=29&amp;amp;products_id=126 Adafruit] (yes, that really is their name) offers a great adapter board kit for the Xbee modules that includes a 5-3.3V voltage regulator, power and activity LEDs, and pins to connect directly to your FTDI cable for $10!  Some assembly required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ===&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro ZB ===&lt;br /&gt;
&lt;br /&gt;
The low-power XBee ZB and extended-range XBee-PRO ZB use the ZigBee PRO Feature Set for advanced mesh networking.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Prd-xbeemoduleseries2.jpg|thumb|left|Maxstream XBee Pro ZB]]&lt;br /&gt;
|&lt;br /&gt;
* Low-cost, low-power mesh networking&lt;br /&gt;
* Interoperability with ZigBee PRO Feature Set devices from other vendors*&lt;br /&gt;
* Support for larger, more dense mesh networks&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* Frequency agility&lt;br /&gt;
* Over-the-air firmware updates (change firmware remotely)&lt;br /&gt;
* ISM 2.4 GHz operating frequency&lt;br /&gt;
* XBee: 2 mW (+3 dBm) power output (up to 400 ft RF LOS range)&lt;br /&gt;
* XBee-PRO: 50 mW (+17 dBm) power output (up to 1 mile RF LOS range)&lt;br /&gt;
* RPSMA connector, U.FL connector, Chip antenna, or Wired Whip antenna&lt;br /&gt;
* price : ~34 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
&lt;br /&gt;
For the ZigBee ZNet 2.5 and ZB modules to work one of the modules has to be flashed with the coordinator firmware. All the others in the same PAN can either run as routers or end-devices.&lt;br /&gt;
* Flash one module (ground station) with the coordinator AT firmware&lt;br /&gt;
* Flash aircraft module with router or end-device AT firmware&lt;br /&gt;
* Set PAN ID to some unique (but same) ID on both modules&lt;br /&gt;
* Set a Node Identifier for each module (e.g. ground, aircraft)&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp]&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 868 ===&lt;br /&gt;
&lt;br /&gt;
XBee-PRO 868 modules are long range embedded RF modules for European applications. Purpose-built for exceptional RF performance, XBee-PRO 868 modules are ideal for applications with challenging RF environments, such as urban deployments, or where devices are several kilometers apart.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro 868]]&lt;br /&gt;
|&lt;br /&gt;
* 868 MHz short range device (SRD) G3 band for Europe&lt;br /&gt;
* Software selectable Transmit Power&lt;br /&gt;
* 40 km RF LOS w/ dipole antennas&lt;br /&gt;
* 80 km RF LOS w/ high gain antennas (TX Power reduced)&lt;br /&gt;
* Simple to use peer-to-peer/point-to-mulitpoint topology&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* 500 mW EIRP&lt;br /&gt;
* 24 kbps RF data rate&lt;br /&gt;
* price : ~70 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro XSC 900Mhz ===&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
==== Trials ====&lt;br /&gt;
Tested one today and it worked great. Going to try a multiUAV test with it soon&lt;br /&gt;
--Danstah&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MultiUAV tests concluded this is probably not the best module to use. Even though it says you can change the baudrate inside x-ctu that is not the case, it is fixed at 9600 bps. This is a great modem however for single UAV's and I do recommend.&lt;br /&gt;
--Danstah&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is already implemented but some system integration is required. Full API more with addressed packets works well and was tested with AC4790-1x1 5mW low power modules. Maximim range achieved with a whip quater-wave antenna was 1Km.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny v1.1 Serial-1'''''||'''''Tiny v2.11 Serial'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1||1|| -&lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||3||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||?||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise as connected RTS/CTS sporadically leads to a reprogramming of the modem. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem (picture shows connection to Tiny 1.1)]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny v1.1&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4474</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4474"/>
		<updated>2009-02-17T15:34:38Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Trials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Digi XBee modules ==&lt;br /&gt;
&lt;br /&gt;
Digi (formerly Maxstream) offers an increasing variety of Zigbee protocol modems well suited for Paparazzi in 2.4 GHz, 900MHz and 868Mhz frequencies.  The &amp;quot;Pro&amp;quot; series are long range, up to 40km!  Standard series are slightly smaller/lighter/lower power consumption and very short range.  All versions are all pin compatible and weigh around 2 grams with wire antennas.  All Digi modems can be operated in transparent mode (as a serial line replacement) or in &amp;quot;API mode&amp;quot; with hardware addressing, managed networking, and RSSI (signal strength) data with the Paparazzi &amp;quot;Xbee&amp;quot; option.  Three antenna options are offered: the SMA version is ideal for ground modems, wire antennas for aircraft, and chip antennas for those with very limited space.&lt;br /&gt;
&lt;br /&gt;
* XBee (PRO) ZB (the current series)&lt;br /&gt;
* XBee (PRO) ZNet 2.5 (formerly Series 2) (only legacy -&amp;gt; use XBee-PRO ZB)&lt;br /&gt;
The XBee &amp;amp; XBee-PRO ZB share hardware (ember stack) with XBee &amp;amp; XBee-PRO ZNet 2.5. As a result, modules can be &amp;quot;converted&amp;quot; from one platform to another by loading different firmware onto a given module.&lt;br /&gt;
&lt;br /&gt;
These two also share the same hardware and can be converted from one to another by flashing a different firmware:&lt;br /&gt;
* XBee-PRO 802.15.4 (formerly Series 1)&lt;br /&gt;
* XBee-PRO DigiMesh 2.4&lt;br /&gt;
&lt;br /&gt;
Note: Products based on XBee ZNet 2.5 (formerly Series 2) modules are not compatible with earlier XBee 802.15.4 (Series 1) modules.&lt;br /&gt;
&lt;br /&gt;
=== Module Comparison ===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''Module'''||'''Point-to-Multipoint'''||'''ZigBee/Mesh'''||'''Hardware'''|||'''Software stack'''||'''Frequency'''||'''TX Power normal/PRO'''||'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZB'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet PRO 3.1 (ZigBee 2007)&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZNet 2.5'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet 2.5 ZigBee&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|(only legacy -&amp;gt; use XBee-PRO ZB) coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee DigiMesh 2.4'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|all nodes equal (no special coordinators/routers/end-devices)&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee 802.15.4'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee-PRO 868'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|868 MHz&lt;br /&gt;
|500mW&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Pinout ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
Note : DTR and RTS need to be wired for upgrading firmware&lt;br /&gt;
&lt;br /&gt;
=== GCS Adaptation ===&lt;br /&gt;
&lt;br /&gt;
[[Image:xbeeadapter_LRG.jpg|thumb|left|Adafruit XBee adapter board)]][[Image:xbeeadapterftdi_LRG.jpg|thumb|Adafruit XBee adapter with FTDI cable)]]&lt;br /&gt;
[http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=29&amp;amp;products_id=126 Adafruit] (yes, that really is their name) offers a great adapter board kit for the Xbee modules that includes a 5-3.3V voltage regulator, power and activity LEDs, and pins to connect directly to your FTDI cable for $10!  Some assembly required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ===&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro ZB ===&lt;br /&gt;
&lt;br /&gt;
The low-power XBee ZB and extended-range XBee-PRO ZB use the ZigBee PRO Feature Set for advanced mesh networking.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Prd-xbeemoduleseries2.jpg|thumb|left|Maxstream XBee Pro ZB]]&lt;br /&gt;
|&lt;br /&gt;
* Low-cost, low-power mesh networking&lt;br /&gt;
* Interoperability with ZigBee PRO Feature Set devices from other vendors*&lt;br /&gt;
* Support for larger, more dense mesh networks&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* Frequency agility&lt;br /&gt;
* Over-the-air firmware updates (change firmware remotely)&lt;br /&gt;
* ISM 2.4 GHz operating frequency&lt;br /&gt;
* XBee: 2 mW (+3 dBm) power output (up to 400 ft RF LOS range)&lt;br /&gt;
* XBee-PRO: 50 mW (+17 dBm) power output (up to 1 mile RF LOS range)&lt;br /&gt;
* RPSMA connector, U.FL connector, Chip antenna, or Wired Whip antenna&lt;br /&gt;
* price : ~34 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
&lt;br /&gt;
For the ZigBee ZNet 2.5 and ZB modules to work one of the modules has to be flashed with the coordinator firmware. All the others in the same PAN can either run as routers or end-devices.&lt;br /&gt;
* Flash one module (ground station) with the coordinator AT firmware&lt;br /&gt;
* Flash aircraft module with router or end-device AT firmware&lt;br /&gt;
* Set PAN ID to some unique (but same) ID on both modules&lt;br /&gt;
* Set a Node Identifier for each module (e.g. ground, aircraft)&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp]&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 868 ===&lt;br /&gt;
&lt;br /&gt;
XBee-PRO 868 modules are long range embedded RF modules for European applications. Purpose-built for exceptional RF performance, XBee-PRO 868 modules are ideal for applications with challenging RF environments, such as urban deployments, or where devices are several kilometers apart.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro 868]]&lt;br /&gt;
|&lt;br /&gt;
* 868 MHz short range device (SRD) G3 band for Europe&lt;br /&gt;
* Software selectable Transmit Power&lt;br /&gt;
* 40 km RF LOS w/ dipole antennas&lt;br /&gt;
* 80 km RF LOS w/ high gain antennas (TX Power reduced)&lt;br /&gt;
* Simple to use peer-to-peer/point-to-mulitpoint topology&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* 500 mW EIRP&lt;br /&gt;
* 24 kbps RF data rate&lt;br /&gt;
* price : ~70 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro XSC 900Mhz ===&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
==== Trials ====&lt;br /&gt;
Tested one today and it worked great. Going to try a multiUAV test with it soon&lt;br /&gt;
--Danstah&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
MultiUAV tests concluded this is probably not the best module to use. Even though it says you can change the baudrate inside x-ctu that is not the case, it is fixed at 9600 bps. This is a great modem however for single UAV's and I do recommend.&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is already implemented but some system integration is required. Full API more with addressed packets works well and was tested with AC4790-1x1 5mW low power modules. Maximim range achieved with a whip quater-wave antenna was 1Km.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny v1.1 Serial-1'''''||'''''Tiny v2.11 Serial'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1||1|| -&lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||3||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||?||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise as connected RTS/CTS sporadically leads to a reprogramming of the modem. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem (picture shows connection to Tiny 1.1)]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny v1.1&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=4425</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=4425"/>
		<updated>2009-02-11T01:11:30Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[TWOG_v1|TWOG]''', '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external GPS module and antenna.  The '''[[Tiny]]''' features an integrated receiver and antenna.  Either type is designed for [http://www.u-blox.com/ u-blox] 4 and 5 series GPS receivers and the proprietary UBX binary protocol.  An external battery or capacitor is typically used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4 and LEA-5 series receivers can be used including the less expensive LEA-4A, 4S, 5A and 5S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
*Low position [http://paparazzi.enac.fr/wiki_images/Gps_rx_noise.pdf noise] figure&lt;br /&gt;
[[Image:TINY_1.3_MCU_BOTTOM.JPG|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
[[Image:Ppzgps13_800.jpg|100px|thumb|right|Paparazzi GPS13]]&lt;br /&gt;
&amp;lt;p&amp;gt;Paparazzi CVS provides a design for an external GPS board (required for TWOG and Classix Autopilots).&lt;br /&gt;
Programming it is similar to the Tiny2.11 GPS configuration. If you build your own you will want to upload the latest u-blox firmware before you configure. See &amp;quot;Getting Hardware&amp;quot; for sources of assembled boards.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The Paparazzi design in http://cvs.savannah.gnu.org/viewcvs/paparazzi/paparazzi3/hw/sensors/gps_13.brd is based on a u-blox LEA-4P however an LEA-5H seems to work just fine as well. The board is very small and light as it has only the components required. It is powered from the 5v line on the &amp;quot;downloads&amp;quot; connector of a TWOG. Also note it is a 4-layer PCB that means better noise resistance. The board has pins for USB connection but requires a different cable and a solder jumper to be move from the ground (default) to 3.3v input to enable the USB port on the module. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM.xls]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output.txt]&amp;lt;br&amp;gt;&lt;br /&gt;
sources for purchasing assembled: [http://ppzuav.com/osc/catalog/product_info.php?products_id=74 PPZUAV]&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
==== Wiring Diagram ====&lt;br /&gt;
[[Image:TWOG to GPS.jpg|thumb|left]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===3rd Party u-blox reference design boards:===&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[[Image:LEA5HExternalModulePinout.jpg|100px|thumb|right|LEA-5H Full Board Pinout]]&lt;br /&gt;
The only other GPS board in use seems to be u-blox reference designs or similar to it. They have either LEA-4P or LEA-5H (typically) and several interfaces. Often a larger antenna as well. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NAVILOCK NL-507ETTL===&lt;br /&gt;
[[Image:Navilock NL-507ETTL.jpg|thumb|left|NAVILOCK NL-507TTL]]&lt;br /&gt;
The NAVILOCK NL-507TTL u-blox TTL Modul 60416 features an LEA-4 series receiver and 25mm patch antenna on a 30mm x 30mm board.&lt;br /&gt;
* Datasheet: [http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481 http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481]&lt;br /&gt;
* Purchase:  Available for 28€ at [http://www.amazon.de/Navilock-NL-507TTL-u-blox-TTL-Modul/dp/B0011E6VQG www.amazon.de]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SPK GS406===&lt;br /&gt;
[[Image:GS406.jpg|thumb|left|SPK GS406 with LEA-5]]&lt;br /&gt;
[http://www.sparkfun.com/commerce/product_info.php?products_id=8889 Sparkfun] sells a nice small module featuring the newer 5-series receiver and the highly rated Sarantel antenna for about $90.  The design is based around the active version of the Sarantel instead of the more appropriate passive model and there's some potentially tricky soldering involved to get around the ribbon cable but the price is great for this hardware.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===u-Blox C04-5H Reference Design===&lt;br /&gt;
[[Image:abavimage.jpg|100px|thumb|left|u-blox C04-5H]]&lt;br /&gt;
u-Blox sells a complete module with antenna for around $200 and will also provide complete schematics, BOM, and PCB files for free if you wish to make your own.  Two versions are offered, one with an 18mm patch antenna and the other with the Sarantel P2 helical antenna.&lt;br /&gt;
See [http://www.u-blox.com/products/c04_5h.html http://www.u-blox.com/products/c04_5h.html] for more info.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.[http://www.u-blox.com/products/Data_Sheets/TIM-LL_Data_Sheet(GPS.G3-MS3-04035).pdf]  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
To open the casing on a SAM-LS, remove the bottom of the casing by pulling gently, then work around popping off the solder joints (they are fairly weak) by pressing a small screwdriver against each tab in turn until it pops off.  You should then be able to access the GPS chip directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore ) &lt;br /&gt;
*Halfbase removed by CheBuzz due to claims of fraud and non-response from the owner&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/products/u_center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
* Note: You can run u-center on Linux by installing &amp;quot;wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and setting up com1 as /dev/ttyUSB0 See Info on wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with wine, follow prompts. This has been tested with Ubuntu7.10 and Ubuntu 8.04 so far.&lt;br /&gt;
* Note: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.zip LEA-5H (For Use w/ Firmware V5 ONLY!)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Text on top of the tree and choose '''disable child messages'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV5(Navigation 5) - set it to use '''Airborne 8 &amp;lt;4G'''. This tells the Kalman filter to expect significant changes in direction. &lt;br /&gt;
    Note that this setting is only good for faster moving airplanes. For a fixed position hovering heli, 'pedestrian' setting is better&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' This gives a 4 Hz position update since 4 x 250ms is one second.&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]]) also make sure you set tiny_2_1_1.h if you have the latest boards Tiny/TinyWOG)&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.environmental-studies.de/Precision_Farming/EGNOS_WAAS__E/3E.html WAAS, EGNOS, and MSAS] though only WAAS is officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS is officially in &amp;quot;testing mode&amp;quot; and no claims of reliability are made.  The [http://www.u-blox.com/customersupport/faq_antaris u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. Although the data transmitted by the EGNOS satellites are usually good and valuable (e.g. during the solar storms in autumn 2003), they can sometimes be very unreliable, for example when system tests are performed. As an example, u-blox has noticed erroneous range information (up to three hundred kilometers) on various EGNOS satellite over the last few months [2006].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
&lt;br /&gt;
Problem: I keep getting this error with my nice shiny Tiny v2.1 with a LEA-5H:&lt;br /&gt;
Invalid_argument(&amp;quot;Latlong.of_utm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Solution: Add the flag -DGPS_USE_LATLONG to your airframe file, and next time read the manual properly.&lt;br /&gt;
Thanks to danstah and epictetus on IRC.&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spectrum Control Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:PDC_Tiny21_S1.jpg|thumb|Spectrum Control 25mm]]&lt;br /&gt;
25mm patch testing on Tiny v2.1. Manufacturer Part Number [http://www.specemc.com/docs/antenna_catalog.pdf PA251575008SALF]. These are available from Mouser for about $3: [http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMukjKvgqb7HxzmcutVCLrkxFUj/3HCdKwE%3d 657-PA251575008SALF]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=40&amp;amp;osCsid=709e839698120c5cd324072b77d67cc1 PPZUAV]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=4424</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=4424"/>
		<updated>2009-02-11T01:05:38Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Paparazzi Stand-alone GPS Receivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[TWOG_v1|TWOG]''', '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external GPS module and antenna.  The '''[[Tiny]]''' features an integrated receiver and antenna.  Either type is designed for [http://www.u-blox.com/ u-blox] 4 and 5 series GPS receivers and the proprietary UBX binary protocol.  An external battery or capacitor is typically used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4 and LEA-5 series receivers can be used including the less expensive LEA-4A, 4S, 5A and 5S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
*Low position [http://paparazzi.enac.fr/wiki_images/Gps_rx_noise.pdf noise] figure&lt;br /&gt;
[[Image:TINY_1.3_MCU_BOTTOM.JPG|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
[[Image:Ppzgps13_800.jpg|100px|thumb|right|Paparazzi GPS13]]&lt;br /&gt;
&amp;lt;p&amp;gt;Paparazzi CVS provides a design for an external GPS board (required for TWOG and Classix Autopilots).&lt;br /&gt;
Programming it is similar to the Tiny2.11 GPS configuration. If you build your own you will want to upload the latest u-blox firmware before you configure. See &amp;quot;Getting Hardware&amp;quot; for sources of assembled boards.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The Paparazzi design in http://cvs.savannah.gnu.org/viewcvs/paparazzi/paparazzi3/hw/sensors/gps_13.brd is based on a u-blox LEA-4P however an LEA-5H seems to work just fine as well. The board is very small and light as it has only the components required. It is powered from the 5v line on the &amp;quot;downloads&amp;quot; connector of a TWOG. Also note it is a 4-layer PCB that means better noise resistance. The board has pins for USB connection but requires a different cable and a solder jumper to be move from the ground (default) to 3.3v input to enable the USB port on the module. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM.xls]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output.txt]&amp;lt;br&amp;gt;&lt;br /&gt;
sources for purchasing assembled: [http://ppzuav.com/osc/catalog/product_info.php?products_id=74 PPZUAV]&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
==== Wiring Diagram ====&lt;br /&gt;
[[Image:TWOG to GPS.jpg|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
===3rd Party u-blox reference design boards:===&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[[Image:LEA5HExternalModulePinout.jpg|100px|thumb|right|LEA-5H Full Board Pinout]]&lt;br /&gt;
The only other GPS board in use seems to be u-blox reference designs or similar to it. They have either LEA-4P or LEA-5H (typically) and several interfaces. Often a larger antenna as well. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NAVILOCK NL-507ETTL===&lt;br /&gt;
[[Image:Navilock NL-507ETTL.jpg|thumb|left|NAVILOCK NL-507TTL]]&lt;br /&gt;
The NAVILOCK NL-507TTL u-blox TTL Modul 60416 features an LEA-4 series receiver and 25mm patch antenna on a 30mm x 30mm board.&lt;br /&gt;
* Datasheet: [http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481 http://www.navilock.de/download/Dokumente_SLASH_Sonstiges/60415_-_Datenblatt_u-blox_GPS_Module/481]&lt;br /&gt;
* Purchase:  Available for 28€ at [http://www.amazon.de/Navilock-NL-507TTL-u-blox-TTL-Modul/dp/B0011E6VQG www.amazon.de]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SPK GS406===&lt;br /&gt;
[[Image:GS406.jpg|thumb|left|SPK GS406 with LEA-5]]&lt;br /&gt;
[http://www.sparkfun.com/commerce/product_info.php?products_id=8889 Sparkfun] sells a nice small module featuring the newer 5-series receiver and the highly rated Sarantel antenna for about $90.  The design is based around the active version of the Sarantel instead of the more appropriate passive model and there's some potentially tricky soldering involved to get around the ribbon cable but the price is great for this hardware.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===u-Blox C04-5H Reference Design===&lt;br /&gt;
[[Image:abavimage.jpg|100px|thumb|left|u-blox C04-5H]]&lt;br /&gt;
u-Blox sells a complete module with antenna for around $200 and will also provide complete schematics, BOM, and PCB files for free if you wish to make your own.  Two versions are offered, one with an 18mm patch antenna and the other with the Sarantel P2 helical antenna.&lt;br /&gt;
See [http://www.u-blox.com/products/c04_5h.html http://www.u-blox.com/products/c04_5h.html] for more info.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.[http://www.u-blox.com/products/Data_Sheets/TIM-LL_Data_Sheet(GPS.G3-MS3-04035).pdf]  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
To open the casing on a SAM-LS, remove the bottom of the casing by pulling gently, then work around popping off the solder joints (they are fairly weak) by pressing a small screwdriver against each tab in turn until it pops off.  You should then be able to access the GPS chip directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore ) &lt;br /&gt;
*Halfbase removed by CheBuzz due to claims of fraud and non-response from the owner&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/products/u_center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
* Note: You can run u-center on Linux by installing &amp;quot;wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and setting up com1 as /dev/ttyUSB0 See Info on wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with wine, follow prompts. This has been tested with Ubuntu7.10 and Ubuntu 8.04 so far.&lt;br /&gt;
* Note: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.zip LEA-5H (For Use w/ Firmware V5 ONLY!)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Text on top of the tree and choose '''disable child messages'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV5(Navigation 5) - set it to use '''Airborne 8 &amp;lt;4G'''. This tells the Kalman filter to expect significant changes in direction. &lt;br /&gt;
    Note that this setting is only good for faster moving airplanes. For a fixed position hovering heli, 'pedestrian' setting is better&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' This gives a 4 Hz position update since 4 x 250ms is one second.&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]]) also make sure you set tiny_2_1_1.h if you have the latest boards Tiny/TinyWOG)&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.environmental-studies.de/Precision_Farming/EGNOS_WAAS__E/3E.html WAAS, EGNOS, and MSAS] though only WAAS is officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS is officially in &amp;quot;testing mode&amp;quot; and no claims of reliability are made.  The [http://www.u-blox.com/customersupport/faq_antaris u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. Although the data transmitted by the EGNOS satellites are usually good and valuable (e.g. during the solar storms in autumn 2003), they can sometimes be very unreliable, for example when system tests are performed. As an example, u-blox has noticed erroneous range information (up to three hundred kilometers) on various EGNOS satellite over the last few months [2006].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
&lt;br /&gt;
Problem: I keep getting this error with my nice shiny Tiny v2.1 with a LEA-5H:&lt;br /&gt;
Invalid_argument(&amp;quot;Latlong.of_utm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Solution: Add the flag -DGPS_USE_LATLONG to your airframe file, and next time read the manual properly.&lt;br /&gt;
Thanks to danstah and epictetus on IRC.&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Spectrum Control Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:PDC_Tiny21_S1.jpg|thumb|Spectrum Control 25mm]]&lt;br /&gt;
25mm patch testing on Tiny v2.1. Manufacturer Part Number [http://www.specemc.com/docs/antenna_catalog.pdf PA251575008SALF]. These are available from Mouser for about $3: [http://www.mouser.com/Search/ProductDetail.aspx?qs=sGAEpiMZZMukjKvgqb7HxzmcutVCLrkxFUj/3HCdKwE%3d 657-PA251575008SALF]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=40&amp;amp;osCsid=709e839698120c5cd324072b77d67cc1 PPZUAV]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:TWOG_to_GPS.jpg&amp;diff=4423</id>
		<title>File:TWOG to GPS.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:TWOG_to_GPS.jpg&amp;diff=4423"/>
		<updated>2009-02-11T01:04:25Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Twog to standalone gps reciever&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Twog to standalone gps reciever&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4413</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4413"/>
		<updated>2009-02-04T20:01:16Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;border-spacing:8px;margin:0px -8px&amp;quot; class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:100%;border:1px solid #9999bf;background-color:#f5fffa;vertical-align:top;color:#000; text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#82add9;font-size:150%;font-weight:bold;border:1px solid #a3bfb1;text-align:center;color:#ffffff;padding:0.2em 0.4em;&amp;quot;&amp;gt;Welcome To Paparazzi&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[General|General]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{General}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Hardware|Hardware]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Hardware}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Software|Software]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Software}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Miscellaneous|Miscellaneous]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Miscellaneous}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- Start of right-column --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:70%;border:1px solid #cedff2;background-color:#f5faff;vertical-align:top&amp;quot;|&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi Project&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|[http://www.nongnu.org/paparazzi/ Paparazzi] is a free and open-source hardware and software project intended to create an exceptionally powerful and versatile autopilot system by allowing and encouraging input from the community. The project includes not only the airborne hardware and software, from voltage regulators and GPS receivers to [http://en.wikipedia.org/wiki/Kalman_filtering Kalman filtering] code, but also a powerful and ever-expanding array of ground hardware and software including modems, antennas, and a highly evolved user-friendly ground control software interface.&lt;br /&gt;
|-&lt;br /&gt;
|All hardware and software is open-source and freely available to anyone under the [http://www.gnu.org GNU] licencing agreement. [[Get_Hardware| Several vendors]] are currently producing and selling Paparazzi autopilots and popular accessories, making the system easy and affordable to all.&lt;br /&gt;
|-&lt;br /&gt;
|The key feature of the paparazzi autopilot is its unique combination of infrared thermopiles and inertial measurement for attitude sensing, providing a robust and accurate attitude estimate that requires no ground calibration and can recover from any launch attitude.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi project at ENAC&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|The Paparazzi mini UAV project is now being used and developed at [http://www.enac.fr/ ENAC University].&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
* A [http://www.debian.org debian] [http://www.recherche.enac.fr/paparazzi/debian/ repository] containing some packages not in the official distribution and required to run Paparazzi.&lt;br /&gt;
* PaparazziX [http://www.ubuntu.com/ Ubuntu] based live CD is available from the [http://www.recherche.enac.fr/paparazzi/paparazzix/ paparazzix directory].&lt;br /&gt;
* Nightly and release [http://www.recherche.enac.fr/paparazzi/tarball/ tarballs].&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#faf5ff;border:1px solid #ddcef2; text-align: justify;&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#ddcef2;font-size:120%;font-weight:bold;border:1px solid #afa3bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;News&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 19, 2009&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
Paparazzi Developers,&amp;lt;br&amp;gt;&lt;br /&gt;
This is to announce a Call for Papers for the 2009 ASME/IEEE International Conference on Mechatronic and Embedded Systems and Applications (MESA09), part of ASME IDETC09. The conference is to be held August 30 - September 2, 2009 at  San Diego Convention Center.  This Call for Papers is specific to the Session chaired by myself, Antoine Drouin , and Anton Kochevar. This topic of this session is &amp;quot; Open Source UAV Autopilots: Status and Progression&amp;quot;, part of a symposium of MESA09 called &amp;quot;Small Unmanned Aerial Vehicle Technologies and Applications (SUAVTA)&amp;quot;. This Technical Session is meant to be a session that will focus on Paparazzi, the topics can include specific features developed for Paparazzi or applications using Paparazzi along with other innovative aspects or uses of Paparazzi. We hope to make this one of the largest and best conferences dealing with Paparazzi. Please help us to promote Paparazzi and bring this amazing project to even more people. Full paper deadline is Feb. 27, 2009 using the online submission system.&lt;br /&gt;
&lt;br /&gt;
Conference Website: https://www.asmeconferences.org/IDETC09/  (click MESA09, then, UAV Symposium, then this dedicated session) or http://iel.ucdavis.edu/mesa/MESA09/&lt;br /&gt;
&lt;br /&gt;
If you have any further questions please email me at&lt;br /&gt;
daniel.morgan @ aggiemail.usu.edu (remove spaces)&lt;br /&gt;
Research Associate, Center for Self-Organizing and Intelligent Systems at Utah State University&lt;br /&gt;
http://www.engr.usu.edu/wiki/index.php/User:CSOIS &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;September 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:motodrone_08u.JPG|thumb|left]]&lt;br /&gt;
A paparazzi team took part in the [http://motodrone.org/ Motodrone] event held in Finowfurt near Berlin.&amp;lt;br&amp;gt;&lt;br /&gt;
It was fun, the beer was cool and barbecues worked flawlessly. And we flew funjets...&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://berlinvr.info/motodrone2008.html Video]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Targets auvsi 08.JPG|thumb|left]]  &lt;br /&gt;
The [http://www.engr.usu.edu/wiki/index.php/OSAM OSAM] Paparazzi team took 2nd place in the Sixth Annual Student Unmanned Aerial Systems Competition! The event is sponsored by AUVSI (Association for Unmanned Vehicle Systems International) and was held at Webster Field, St. Inigoes, Maryland. It should also be noted that this was Paparazzi's and the OSAM Paparazzi team's first time at the competition.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.navair.navy.mil/pma263/seafarers/default.htm Link to competition]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://hjnews.townnews.com/articles/2008/07/12/news/news01.txt News Story]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 13, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Twog_v1-00_top_side_3.jpg|thumb|left|'''T'''iny '''W'''ith'''O'''ut '''G'''ps]]  &lt;br /&gt;
The new baby autopilot is born.&amp;lt;br&amp;gt;&lt;br /&gt;
His name is TWOG, he weighs 8 grams and is 40.2 x 30.5mm long. He' in good health and looks a lot like his mother Tiny v2, except for the GPS receiver.&amp;lt;br&amp;gt;&lt;br /&gt;
The proud parents invite you to visit the [[Twog_v1|pictures and technical information album]]...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 26, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Heli_deck.jpg|thumb|left|Funjet on the helicopter deck]]  &lt;br /&gt;
Scientists from the [http://web.gfi.uib.no/index_e.html Geophysical Institute of the University of Bergen/Norway] flew Paparazzi controlled [[media:Funjet_spitsbergen.jpg|Funjet]] aircrafts equipped with meteorological sensors in the Arctic sea around Spitsbergen only with the help of a RC safety pilot and no Paparazzi team member nearby. They took off and landed on the helicopter deck of the Norwegian icebreaking coast guard vessel [http://www.jtashipphoto.dk/JTA-W303%20Svalbard.htm KV Svalbard] for one week and set a new Paparazzi low temperature record by flying at around -20°C and 15m/s wind in altitudes up to 1500m. For another two weeks they also collected data on Spitsbergen near Longyearbyen. See pictures in the gallery and a [http://www.youtube.com/watch?v=VWEa_4Hlm2s video].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 15, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Tiny_v2-1_3D_top.jpg|thumb|left|Tiny 2.11]]&lt;br /&gt;
A number of vendors are now offering assembled and unassembled autopilots, sensors and accessories.  The software is written, the hardware is built, what are you waiting for?  Getting started has never been easier!  More details on the [[Get_Hardware|Get Hardware]] page.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;February 6, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:eeePC.jpg|thumb|left|Paparazzi running on eeePC]]  &lt;br /&gt;
Looking for a small, light and cheap ground station ? Paparazzi runs on the [http://eeepc.asus.com ASUS eeePC] out of the box (after installing the Debian Paparazzi packages). Tested on the pre-installed Xandros distribution, on a standard Ubuntu and on the preconfigured [http://wiki.eeeuser.com/ubuntu:eeexubuntu:home eeeXubuntu].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 27, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:StormTV.jpg|thumb|left|Paparazzi's Storm on TV in Turkey]]  [http://www.showtvnet.com/haber/playerd.asp?ptype=haber&amp;amp;product=/270108/ucak.wmv Storm on TV], A Paparazzi aircraft is featured on the biggest Television station in Turkey. (Sorry, the audio is only in Turkish...)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;[[News Archives]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
[[Image:One_Small_Step.jpg|thumb|left|[[News Archives]]]] [[News Archives|Browse the archives]] for a look back at the earlier days of Paparazzi.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4412</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4412"/>
		<updated>2009-02-04T18:52:13Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Trials = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Digi XBee modules ==&lt;br /&gt;
&lt;br /&gt;
Digi (formerly Maxstream) offers an increasing variety of Zigbee protocol modems well suited for Paparazzi in 2.4 GHz, 900MHz and 868Mhz frequencies.  The &amp;quot;Pro&amp;quot; series are long range, up to 40km!  Standard series are slightly smaller/lighter/lower power consumption and very short range.  All versions are all pin compatible and weigh around 2 grams with wire antennas.  All Digi modems can be operated in transparent mode (as a serial line replacement) or in &amp;quot;API mode&amp;quot; with hardware addressing, managed networking, and RSSI (signal strength) data with the Paparazzi &amp;quot;Xbee&amp;quot; option.  Three antenna options are offered: the SMA version is ideal for ground modems, wire antennas for aircraft, and chip antennas for those with very limited space.&lt;br /&gt;
&lt;br /&gt;
* XBee (PRO) ZB (the current series)&lt;br /&gt;
* XBee (PRO) ZNet 2.5 (formerly Series 2) (only legacy -&amp;gt; use XBee-PRO ZB)&lt;br /&gt;
The XBee &amp;amp; XBee-PRO ZB share hardware (ember stack) with XBee &amp;amp; XBee-PRO ZNet 2.5. As a result, modules can be &amp;quot;converted&amp;quot; from one platform to another by loading different firmware onto a given module.&lt;br /&gt;
&lt;br /&gt;
These two also share the same hardware and can be converted from one to another by flashing a different firmware:&lt;br /&gt;
* XBee-PRO 802.15.4 (formerly Series 1)&lt;br /&gt;
* XBee-PRO DigiMesh 2.4&lt;br /&gt;
&lt;br /&gt;
Note: Products based on XBee ZNet 2.5 (formerly Series 2) modules are not compatible with earlier XBee 802.15.4 (Series 1) modules.&lt;br /&gt;
&lt;br /&gt;
=== Module Comparison ===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''Module'''||'''Point-to-Multipoint'''||'''ZigBee/Mesh'''||'''Hardware'''|||'''Software stack'''||'''Frequency'''||'''TX Power normal/PRO'''||'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZB'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet PRO 3.1 (ZigBee 2007)&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZNet 2.5'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet 2.5 ZigBee&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|(only legacy -&amp;gt; use XBee-PRO ZB) coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee DigiMesh 2.4'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|all nodes equal (no special coordinators/routers/end-devices)&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee 802.15.4'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee-PRO 868'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|868 MHz&lt;br /&gt;
|500mW&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Pinout ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
Note : DTR and RTS need to be wired for upgrading firmware&lt;br /&gt;
&lt;br /&gt;
=== GCS Adaptation ===&lt;br /&gt;
&lt;br /&gt;
[[Image:xbeeadapter_LRG.jpg|thumb|left|Adafruit XBee adapter board)]][[Image:xbeeadapterftdi_LRG.jpg|thumb|Adafruit XBee adapter with FTDI cable)]]&lt;br /&gt;
[http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=29&amp;amp;products_id=126 Adafruit] (yes, that really is their name) offers a great adapter board kit for the Xbee modules that includes a 5-3.3V voltage regulator, power and activity LEDs, and pins to connect directly to your FTDI cable for $10!  Some assembly required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ===&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro ZB ===&lt;br /&gt;
&lt;br /&gt;
The low-power XBee ZB and extended-range XBee-PRO ZB use the ZigBee PRO Feature Set for advanced mesh networking.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Prd-xbeemoduleseries2.jpg|thumb|left|Maxstream XBee Pro ZB]]&lt;br /&gt;
|&lt;br /&gt;
* Low-cost, low-power mesh networking&lt;br /&gt;
* Interoperability with ZigBee PRO Feature Set devices from other vendors*&lt;br /&gt;
* Support for larger, more dense mesh networks&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* Frequency agility&lt;br /&gt;
* Over-the-air firmware updates (change firmware remotely)&lt;br /&gt;
* ISM 2.4 GHz operating frequency&lt;br /&gt;
* XBee: 2 mW (+3 dBm) power output (up to 400 ft RF LOS range)&lt;br /&gt;
* XBee-PRO: 50 mW (+17 dBm) power output (up to 1 mile RF LOS range)&lt;br /&gt;
* RPSMA connector, U.FL connector, Chip antenna, or Wired Whip antenna&lt;br /&gt;
* price : ~34 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
&lt;br /&gt;
For the ZigBee ZNet 2.5 and ZB modules to work one of the modules has to be flashed with the coordinator firmware. All the others in the same PAN can either run as routers or end-devices.&lt;br /&gt;
* Flash one module (ground station) with the coordinator AT firmware&lt;br /&gt;
* Flash aircraft module with router or end-device AT firmware&lt;br /&gt;
* Set PAN ID to some unique (but same) ID on both modules&lt;br /&gt;
* Set a Node Identifier for each module (e.g. ground, aircraft)&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp]&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 868 ===&lt;br /&gt;
&lt;br /&gt;
XBee-PRO 868 modules are long range embedded RF modules for European applications. Purpose-built for exceptional RF performance, XBee-PRO 868 modules are ideal for applications with challenging RF environments, such as urban deployments, or where devices are several kilometers apart.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro 868]]&lt;br /&gt;
|&lt;br /&gt;
* 868 MHz short range device (SRD) G3 band for Europe&lt;br /&gt;
* Software selectable Transmit Power&lt;br /&gt;
* 40 km RF LOS w/ dipole antennas&lt;br /&gt;
* 80 km RF LOS w/ high gain antennas (TX Power reduced)&lt;br /&gt;
* Simple to use peer-to-peer/point-to-mulitpoint topology&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* 500 mW EIRP&lt;br /&gt;
* 24 kbps RF data rate&lt;br /&gt;
* price : ~70 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro XSC 900Mhz ===&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
==== Trials ====&lt;br /&gt;
Tested one today and it worked great. Going to try a multiUAV test with it soon&lt;br /&gt;
--Danstah&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is already implemented but some system integration is required. Full API more with addressed packets works well and was tested with AC4790-1x1 5mW low power modules. Maximim range achieved with a whip quater-wave antenna was 1Km.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise as connected RTS/CTS sporadically leads to a reprogramming of the modem. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem (picture shows connection to Tiny 1.1)]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4410</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4410"/>
		<updated>2009-02-04T18:43:11Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Digi XBee Pro XSC 900Mhz */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Digi XBee modules ==&lt;br /&gt;
&lt;br /&gt;
Digi (formerly Maxstream) offers an increasing variety of Zigbee protocol modems well suited for Paparazzi in 2.4 GHz, 900MHz and 868Mhz frequencies.  The &amp;quot;Pro&amp;quot; series are long range, up to 40km!  Standard series are slightly smaller/lighter/lower power consumption and very short range.  All versions are all pin compatible and weigh around 2 grams with wire antennas.  All Digi modems can be operated in transparent mode (as a serial line replacement) or in &amp;quot;API mode&amp;quot; with hardware addressing, managed networking, and RSSI (signal strength) data with the Paparazzi &amp;quot;Xbee&amp;quot; option.  Three antenna options are offered: the SMA version is ideal for ground modems, wire antennas for aircraft, and chip antennas for those with very limited space.&lt;br /&gt;
&lt;br /&gt;
* XBee (PRO) ZB (the current series)&lt;br /&gt;
* XBee (PRO) ZNet 2.5 (formerly Series 2) (only legacy -&amp;gt; use XBee-PRO ZB)&lt;br /&gt;
The XBee &amp;amp; XBee-PRO ZB share hardware (ember stack) with XBee &amp;amp; XBee-PRO ZNet 2.5. As a result, modules can be &amp;quot;converted&amp;quot; from one platform to another by loading different firmware onto a given module.&lt;br /&gt;
&lt;br /&gt;
These two also share the same hardware and can be converted from one to another by flashing a different firmware:&lt;br /&gt;
* XBee-PRO 802.15.4 (formerly Series 1)&lt;br /&gt;
* XBee-PRO DigiMesh 2.4&lt;br /&gt;
&lt;br /&gt;
Note: Products based on XBee ZNet 2.5 (formerly Series 2) modules are not compatible with earlier XBee 802.15.4 (Series 1) modules.&lt;br /&gt;
&lt;br /&gt;
=== Module Comparison ===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''Module'''||'''Point-to-Multipoint'''||'''ZigBee/Mesh'''||'''Hardware'''|||'''Software stack'''||'''Frequency'''||'''TX Power normal/PRO'''||'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZB'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet PRO 3.1 (ZigBee 2007)&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee ZNet 2.5'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|Ember&lt;br /&gt;
|EmberZNet 2.5 ZigBee&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|2mW/50mW&lt;br /&gt;
|(only legacy -&amp;gt; use XBee-PRO ZB) coordinator needed&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee DigiMesh 2.4'''&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|all nodes equal (no special coordinators/routers/end-devices)&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee 802.15.4'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|2.4 GHz&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|'''XBee-PRO 868'''&lt;br /&gt;
|yes&lt;br /&gt;
|&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|868 MHz&lt;br /&gt;
|500mW&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Pinout ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
Note : DTR and RTS need to be wired for upgrading firmware&lt;br /&gt;
&lt;br /&gt;
=== GCS Adaptation ===&lt;br /&gt;
&lt;br /&gt;
[[Image:xbeeadapter_LRG.jpg|thumb|left|Adafruit XBee adapter board)]][[Image:xbeeadapterftdi_LRG.jpg|thumb|Adafruit XBee adapter with FTDI cable)]]&lt;br /&gt;
[http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=29&amp;amp;products_id=126 Adafruit] (yes, that really is their name) offers a great adapter board kit for the Xbee modules that includes a 5-3.3V voltage regulator, power and activity LEDs, and pins to connect directly to your FTDI cable for $10!  Some assembly required.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ===&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro ZB ===&lt;br /&gt;
&lt;br /&gt;
The low-power XBee ZB and extended-range XBee-PRO ZB use the ZigBee PRO Feature Set for advanced mesh networking.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Prd-xbeemoduleseries2.jpg|thumb|left|Maxstream XBee Pro ZB]]&lt;br /&gt;
|&lt;br /&gt;
* Low-cost, low-power mesh networking&lt;br /&gt;
* Interoperability with ZigBee PRO Feature Set devices from other vendors*&lt;br /&gt;
* Support for larger, more dense mesh networks&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* Frequency agility&lt;br /&gt;
* Over-the-air firmware updates (change firmware remotely)&lt;br /&gt;
* ISM 2.4 GHz operating frequency&lt;br /&gt;
* XBee: 2 mW (+3 dBm) power output (up to 400 ft RF LOS range)&lt;br /&gt;
* XBee-PRO: 50 mW (+17 dBm) power output (up to 1 mile RF LOS range)&lt;br /&gt;
* RPSMA connector, U.FL connector, Chip antenna, or Wired Whip antenna&lt;br /&gt;
* price : ~34 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
&lt;br /&gt;
For the ZigBee ZNet 2.5 and ZB modules to work one of the modules has to be flashed with the coordinator firmware. All the others in the same PAN can either run as routers or end-devices.&lt;br /&gt;
* Flash one module (ground station) with the coordinator AT firmware&lt;br /&gt;
* Flash aircraft module with router or end-device AT firmware&lt;br /&gt;
* Set PAN ID to some unique (but same) ID on both modules&lt;br /&gt;
* Set a Node Identifier for each module (e.g. ground, aircraft)&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp http://www.digi.com/products/wireless/zigbee-mesh/xbee-zb-module.jsp]&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro 868 ===&lt;br /&gt;
&lt;br /&gt;
XBee-PRO 868 modules are long range embedded RF modules for European applications. Purpose-built for exceptional RF performance, XBee-PRO 868 modules are ideal for applications with challenging RF environments, such as urban deployments, or where devices are several kilometers apart.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro 868]]&lt;br /&gt;
|&lt;br /&gt;
* 868 MHz short range device (SRD) G3 band for Europe&lt;br /&gt;
* Software selectable Transmit Power&lt;br /&gt;
* 40 km RF LOS w/ dipole antennas&lt;br /&gt;
* 80 km RF LOS w/ high gain antennas (TX Power reduced)&lt;br /&gt;
* Simple to use peer-to-peer/point-to-mulitpoint topology&lt;br /&gt;
* 128-bit AES encryption&lt;br /&gt;
* 500 mW EIRP&lt;br /&gt;
* 24 kbps RF data rate&lt;br /&gt;
* price : ~70 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-868.jsp]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Digi XBee Pro XSC 900Mhz ===&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
==== Trials =====&lt;br /&gt;
Tested one today and it worked great. Going to try a multiUAV test with it soon&lt;br /&gt;
--Danstah&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is already implemented but some system integration is required. Full API more with addressed packets works well and was tested with AC4790-1x1 5mW low power modules. Maximim range achieved with a whip quater-wave antenna was 1Km.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise as connected RTS/CTS sporadically leads to a reprogramming of the modem. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem (picture shows connection to Tiny 1.1)]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Advanced_Navigation_Routines&amp;diff=4388</id>
		<title>Talk:Advanced Navigation Routines</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Advanced_Navigation_Routines&amp;diff=4388"/>
		<updated>2009-01-28T17:05:27Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Does anybody else have any ideas for new Navigation routines that should be added to PPRZ project?&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4336</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Main_Page&amp;diff=4336"/>
		<updated>2009-01-19T19:45:18Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;border-spacing:8px;margin:0px -8px&amp;quot; class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:100%;border:1px solid #9999bf;background-color:#f5fffa;vertical-align:top;color:#000; text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;center&amp;quot; colspan=&amp;quot;2&amp;quot;| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#82add9;font-size:150%;font-weight:bold;border:1px solid #a3bfb1;text-align:center;color:#ffffff;padding:0.2em 0.4em;&amp;quot;&amp;gt;Welcome To Paparazzi&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[General|General]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{General}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Hardware|Hardware]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Hardware}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Software|Software]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Software}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;-moz-border-radius-topright: 1em;-moz-border-radius-topleft: 1em; &lt;br /&gt;
background:#cedff2;margin:-2px;padding:4px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:favicon32.png|32px]] [[Miscellaneous|Miscellaneous]] &lt;br /&gt;
&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:6px;&amp;quot;&amp;gt;&lt;br /&gt;
{{Miscellaneous}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- Start of right-column --&amp;gt;&lt;br /&gt;
| class=&amp;quot;MainPageBG&amp;quot; style=&amp;quot;width:70%;border:1px solid #cedff2;background-color:#f5faff;vertical-align:top&amp;quot;|&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi Project&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|[http://www.nongnu.org/paparazzi Paparazzi] is a free and open-source hardware and software project intended to create an exceptionally powerful and versatile autopilot system by allowing and encouraging input from the community. The project includes not only the airborne hardware and software, from voltage regulators and GPS receivers to [http://en.wikipedia.org/wiki/Kalman_filtering Kalman filtering] code, but also a powerful and ever-expanding array of ground hardware and software including modems, antennas, and a highly evolved user-friendly ground control software interface.&lt;br /&gt;
|-&lt;br /&gt;
|All hardware and software is open-source and freely available to anyone under the [http://www.gnu.org GNU] licencing agreement. [[Get_Hardware| Several vendors]] are currently producing and selling Paparazzi autopilots and popular accessories, making the system easy and affordable to all.&lt;br /&gt;
|-&lt;br /&gt;
|The key feature of the paparazzi autopilot is its unique combination of infrared thermopiles and inertial measurement for attitude sensing, providing a robust and accurate attitude estimate that requires no ground calibration and can recover from any launch attitude.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3bfb1;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;The Paparazzi project at ENAC&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|The Paparazzi mini UAV project is now being used and developed at [http://www.enac.fr/ ENAC University].&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
* A [http://www.debian.org debian] [http://www.recherche.enac.fr/paparazzi/debian repository] containing some packages not in the official distribution and required to run Paparazzi.&lt;br /&gt;
* PaparazziX [http://www.ubuntu.com/ Ubuntu] based live CD is available from the [http://www.recherche.enac.fr/paparazzi/paparazzix paparazzix directory].&lt;br /&gt;
* Nightly and release [http://www.recherche.enac.fr/paparazzi/tarball tarballs].&lt;br /&gt;
|-&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#faf5ff;border:1px solid #ddcef2; text-align: justify;&amp;quot;&lt;br /&gt;
| &amp;lt;h2 style=&amp;quot;margin:0;background-color:#ddcef2;font-size:120%;font-weight:bold;border:1px solid #afa3bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot;&amp;gt;News&amp;lt;/h2&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 19, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
Paparazzi Developers,&amp;lt;br&amp;gt;&lt;br /&gt;
This is to announce a Call for Papers for the 2009 ASME/IEEE International Conference on Mechatronic and Embedded Systems and Applications (MESA09), part of ASME IDETC09. The conference is to be held August 30 - September 2, 2009 at  San Diego Convention Center.  This Call for Papers is specific to the Session chaired by myself, Antoine Drouin , and Anton Kochevar. This topic of this session is &amp;quot; Open Source UAV Autopilots: Status and Progression&amp;quot;, part of a symposium of MESA09 called &amp;quot;Small Unmanned Aerial Vehicle Technologies and Applications (SUAVTA)&amp;quot;. This Technical Session is meant to be a session that will focus on Paparazzi, the topics can include specific features developed for Paparazzi or applications using Paparazzi along with other innovative aspects or uses of Paparazzi. We hope to make this one of the largest and best conferences dealing with Paparazzi. Please help us to promote Paparazzi and bring this amazing project to even more people. Full paper deadline is Feb. 6, 2009 using the online submission system.&lt;br /&gt;
&lt;br /&gt;
Conference Website: https://www.asmeconferences.org/IDETC09/  (click MESA09, then, UAV Symposium, then this dedicated session) or http://iel.ucdavis.edu/mesa/MESA09/&lt;br /&gt;
&lt;br /&gt;
If you have any further questions please email me at&lt;br /&gt;
daniel.morgan @ aggiemail.usu.edu (remove spaces)&lt;br /&gt;
Research Associate, Center for Self-Organizing and Intelligent Systems at Utah State University&lt;br /&gt;
http://www.engr.usu.edu/wiki/index.php/User:CSOIS &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;September 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:motodrone_08u.JPG|thumb|left]]&lt;br /&gt;
A paparazzi team took part in the [http://motodrone.org/ Motodrone] event held in Finowfurt near Berlin.&amp;lt;br&amp;gt;&lt;br /&gt;
It was fun, the beer was cool and barbecues worked flawlessly. And we flew funjets...&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://berlinvr.info/motodrone2008.html Video]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 23, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Targets auvsi 08.JPG|thumb|left]]  &lt;br /&gt;
The [http://www.engr.usu.edu/wiki/index.php/OSAM OSAM] Paparazzi team took 2nd place in the Sixth Annual Student Unmanned Aerial Systems Competition! The event is sponsored by AUVSI (Association for Unmanned Vehicle Systems International) and was held at Webster Field, St. Inigoes, Maryland. It should also be noted that this was Paparazzi's and the OSAM Paparazzi team's first time at the competition.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.navair.navy.mil/pma263/seafarers/default.htm Link to competition]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[http://hjnews.townnews.com/articles/2008/07/12/news/news01.txt News Story]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;June 13, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Twog_v1-00_top_side_3.jpg|thumb|left|'''T'''iny '''W'''ith'''O'''ut '''G'''ps]]  &lt;br /&gt;
The new baby autopilot is born.&amp;lt;br&amp;gt;&lt;br /&gt;
His name is TWOG, he weighs 8 grams and is 40.2 x 30.5mm long. He' in good health and looks a lot like his mother Tiny v2, except for the GPS receiver.&amp;lt;br&amp;gt;&lt;br /&gt;
The proud parents invite you to visit the [[Twog_v1|pictures and technical information album]]...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 26, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Heli_deck.jpg|thumb|left|Funjet on the helicopter deck]]  &lt;br /&gt;
Scientists from the [http://web.gfi.uib.no/index_e.html Geophysical Institute of the University of Bergen/Norway] flew Paparazzi controlled [[media:Funjet_spitsbergen.jpg|Funjet]] aircrafts equipped with meteorological sensors in the Arctic sea around Spitsbergen only with the help of a RC safety pilot and no Paparazzi team member nearby. They took off and landed on the helicopter deck of the Norwegian icebreaking coast guard vessel [http://www.jtashipphoto.dk/JTA-W303%20Svalbard.htm KV Svalbard] for one week and set a new Paparazzi low temperature record by flying at around -20°C and 15m/s wind in altitudes up to 1500m. For another two weeks they also collected data on Spitsbergen near Longyearbyen. See pictures in the gallery and a [http://www.youtube.com/watch?v=VWEa_4Hlm2s video].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;March 15, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:Tiny_v2-1_3D_top.jpg|thumb|left|Tiny 2.11]]&lt;br /&gt;
A number of vendors are now offering assembled and unassembled autopilots, sensors and accessories.  The software is written, the hardware is built, what are you waiting for?  Getting started has never been easier!  More details on the [[Get_Hardware|Get Hardware]] page.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;February 6, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:eeePC.jpg|thumb|left|Paparazzi running on eeePC]]  &lt;br /&gt;
Looking for a small, light and cheap ground station ? Paparazzi runs on the [http://eeepc.asus.com ASUS eeePC] out of the box (after installing the Debian Paparazzi packages). Tested on the pre-installed Xandros distribution, on a standard Ubuntu and on the preconfigured [http://wiki.eeeuser.com/ubuntu:eeexubuntu:home eeeXubuntu].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;January 27, 2008&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;| [[Image:StormTV.jpg|thumb|left|Paparazzi's Storm on TV in Turkey]]  [http://www.showtvnet.com/haber/playerd.asp?ptype=haber&amp;amp;product=/270108/ucak.wmv Storm on TV], A Paparazzi aircraft is featured on the biggest Television station in Turkey. (Sorry, the audio is only in Turkish...)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;h3&amp;gt;[[News Archives]]&amp;lt;/h3&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;color:#000&amp;quot;|&lt;br /&gt;
[[Image:One_Small_Step.jpg|thumb|left|[[News Archives]]]] [[News Archives|Browse the archives]] for a look back at the earlier days of Paparazzi.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Advanced_Navigation_Routines&amp;diff=4318</id>
		<title>Advanced Navigation Routines</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Advanced_Navigation_Routines&amp;diff=4318"/>
		<updated>2009-01-07T22:41:28Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== [http://www.engr.usu.edu/wiki/index.php/OSAM OSAM Team] Navigation Routines ==&lt;br /&gt;
=== Flower ===&lt;br /&gt;
[[Image:FlowerScreenShot.png|thumb|Screen shot of flower routine]]&lt;br /&gt;
The flower navigation routine flies the aircraft in a flower pattern defined by two waypoints. The center waypoint defines the center of the flower and the altitude the plane flies at. The edge waypoint defines the radius of the flower. &lt;br /&gt;
To use this navigation routine, you need to include OSAMNav.h in your flight plan and OSAMNav.c to your airframe file. Then you can add flower to your flight plan like so...&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;block name=&amp;quot;Flower&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;InitializeFlower(WP_Center,WP_Edge)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;FlowerNav()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bungee Takeoff ===&lt;br /&gt;
The bungee takeoff routine helps to automate takeoff by turning the throttle on after the bungee has been release from the hook. The only waypoint you need for this routine is the position of where the bungee is pegged to the ground. Using this waypoint, a line is drawn from the position of the aircraft (when the routine is initialized) to the bungee waypoint. This line is called the launch line. When the plane is released, it follows the launch line with the throttle off until it crosses the throttle line. The throttle line is a line perpendicular to the launch line at a distance d from the bungee waypoint (see the diagram below). When the plane crosses the throttle line, the throttle comes on. After the throttle comes on, the plane keeps going straight until it reaches a specified speed and altitude above the bungee waypoint altitude. When it reaches the takeoff speed and takeoff altitude, the next block in the flight plan is executed. The takeoff speed, takeoff altitude and the distance d from the bungee waypoint are specified in the airframe file. You will need to add those values to your airframe file like this...&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;section name=&amp;quot;Takeoff&amp;quot; prefix=&amp;quot;Takeoff_&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;Height&amp;quot; value=&amp;quot;30&amp;quot; unit=&amp;quot;m&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;Speed&amp;quot; value=&amp;quot;15&amp;quot; unit=&amp;quot;m/s&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;Distance&amp;quot; value=&amp;quot;5&amp;quot; unit=&amp;quot;m&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use this navigation routine, include OSAMNav.h in your flight plan and OSAMNav.c to your airframe file. Then you can add the bungee takeoff routine to your flight plan like so...&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;block name=&amp;quot;Takeoff&amp;quot; strip_button=&amp;quot;Takeoff (wp CLIMB)&amp;quot; strip_icon=&amp;quot;takeoff.png&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;call fun=&amp;quot;InitializeBungeeTakeoff(WP_Bungee)&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;call fun=&amp;quot;BungeeTakeoff()&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/block&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you are ready to use bungee takeoff, and you have the plane on the bungee ready to go, select the takeoff block to initialize the routine. You will know that the routine is successfully initialized when a line is drawn from the plane to the bungee. The only other thing to consider is that you may have to tune the distance from the bungee to the throttle line for consistent success.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:BungeeTakeoffDiagram.png|Bungee takeoff diagram&lt;br /&gt;
Image:BungeeTakeoffInit.png|After bungee takeoff initialization&lt;br /&gt;
Image:BungeeTakeoffThrottleOn.png|After crossing the throttle line&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Polygon Survey ===&lt;br /&gt;
==== Explanation ====&lt;br /&gt;
With this navigation routine, an aircraft can survey the area of any [http://en.wikipedia.org/wiki/Convex_polygon convex polygon] given an entry point, the number of waypoints which define the polygon, the sweep width and the desired orientation of the sweeps.&lt;br /&gt;
&lt;br /&gt;
The entry point is the first corner of the polygon and the point at which the aircraft will begin surveying the area. When in the entry state, the aircraft will circle around the entry point in order to smoothly transition into the first sweep. The aircraft will also keep circling around the entry point until it gets to the waypoint altitude. After the first sweep is made, the direction of the next sweep is determined by the distance of the entry point to the edges of the polygon. If there is more area above the first sweep, the aircraft will sweep up. If there is more area below the first sweep, the aircraft will sweep down.&lt;br /&gt;
&lt;br /&gt;
The aircraft will keep sweeping back and forth until it reaches the end of the polygon. At this point, the aircraft will sweep back up/down the polygon halfway in between the sweeps previously made by the aircraft (just like the rectangle survey function). The aircraft will keep sweeping up and down the polygon unless the user manually exits the block or unless an exception is used ([[#Exceptions|see below]]).&lt;br /&gt;
&lt;br /&gt;
The orientation of the sweeps can ranges from north south to east west and any where in between (0-90 degrees respectively). The side of the polygon the aircraft starts on (ex. north or south)  is determined by the side of the polygon the entry point is located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:PolySurveySweepDef.png|Sweep Definition&lt;br /&gt;
Image:PolySurveyEntryPic.png|Entry Point&lt;br /&gt;
Image:PolySurveySweepBack.png|Sweeping Back&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
To use this navigation routine, you need to include OSAMNav.h in your flight plan and OSAMNav.c to your airframe file. Then add this navigation routine in your flight plan like so... &lt;br /&gt;
&lt;br /&gt;
    &amp;lt;block name=&amp;quot;Poly Survey&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;InitializePolygonSurvey(EntryWP, CornerNum, SweepWidth, Orientation)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;PolygonSurvey()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parameters are the entry waypoint, the number of waypoints in the polygon, the sweep width (meters), and the desired orientation of the sweeps (degrees). The maximum number of waypoints a polygon can have is currently ten (can be changed in the code). If the number of waypoints in the polygon exceeds the maximum number, the routine will exit and move to the next block in the flight plan. The routine will also exit if the orientation is not between 0 and 90 degrees.&lt;br /&gt;
&lt;br /&gt;
Here is an example of how you should declare each of the corners of the polygon.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;waypoint alt=&amp;quot;1453.0&amp;quot; name=&amp;quot;S1&amp;quot; x=&amp;quot;-546.2&amp;quot; y=&amp;quot;297.4&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;waypoint alt=&amp;quot;1453.0&amp;quot; name=&amp;quot;S2&amp;quot; x=&amp;quot;-129.8&amp;quot; y=&amp;quot;744.1&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;waypoint alt=&amp;quot;1553.0&amp;quot; name=&amp;quot;S3&amp;quot; x=&amp;quot;1030.5&amp;quot; y=&amp;quot;535.5&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;waypoint alt=&amp;quot;1453.0&amp;quot; name=&amp;quot;S4&amp;quot; x=&amp;quot;523.0&amp;quot; y=&amp;quot;-236.7&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;waypoint alt=&amp;quot;1453.0&amp;quot; name=&amp;quot;S5&amp;quot; x=&amp;quot;-285.9&amp;quot; y=&amp;quot;-255.7&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
S1 is the entry waypoint and the first corner. The other corners should be in order clockwise or counter clockwise around the polygon. Even though this group of waypoints must be declared together, where the group appears in the list of waypoints doesn't matter.&lt;br /&gt;
&lt;br /&gt;
If you want the edges of the polygon to show up on the GCS, you can also declare the polygon as a sector. This is not required to run the routine.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;sectors&amp;gt;&lt;br /&gt;
    &amp;lt;sector name=&amp;quot;PolySector&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;corner name=&amp;quot;S1&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;corner name=&amp;quot;S2&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;corner name=&amp;quot;S3&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;corner name=&amp;quot;S4&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;corner name=&amp;quot;S5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/sector&amp;gt;&lt;br /&gt;
  &amp;lt;/sectors&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;A Range of Different Sweep Orientations&amp;quot;&amp;gt;&lt;br /&gt;
Image:PolySurvey0DegreeEx.png|0 Degrees&lt;br /&gt;
Image:PolySurvey30DegreeEx.png|30 Degrees&lt;br /&gt;
Image:PolySurvey65DegreeEx.png|65 Degrees&lt;br /&gt;
Image:PolySurvey90DegreeEx.png|90 Degrees&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Exceptions ====&lt;br /&gt;
There are a couple of built in variables which can be used to exit the routine with an exception. PolySurveySweepNum gives the number of sweeps the aircraft has made and PolySurveySweepBackNum gives the number of times the aircraft has covered the polygon with the given sweep width. The first example would deroute the aircraft to standby after the aircraft made it's second sweep. The second example would deroute the aircraft to standby before it starts to sweep back up the polygon for the first time.&lt;br /&gt;
&lt;br /&gt;
    block name=&amp;quot;Poly Survey&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;exception cond=&amp;quot;PolySurveySweepNum &amp;gt;= 2&amp;quot; deroute=&amp;quot;Standby&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;InitializePolygonSurvey(WP_S1, 5, 200, 45)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;PolygonSurvey()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    block name=&amp;quot;Poly Survey&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;exception cond=&amp;quot;PolySurveySweepBackNum &amp;gt;= 1&amp;quot; deroute=&amp;quot;Standby&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;InitializePolygonSurvey(WP_S1, 5, 200, 45)&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;call fun=&amp;quot;PolygonSurvey()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Links&amp;diff=4237</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Links&amp;diff=4237"/>
		<updated>2008-12-08T17:04:08Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Project Page ==&lt;br /&gt;
&lt;br /&gt;
The Paparazzi project is hosted at http://www.nongnu.org/paparazzi/ where the CVS repository is available.&lt;br /&gt;
&lt;br /&gt;
== The IRC Chat Channel ==&lt;br /&gt;
&lt;br /&gt;
  Network: Freenode&lt;br /&gt;
  Network Host: irc.freenode.net&lt;br /&gt;
  Channel: #paparazzi&lt;br /&gt;
&lt;br /&gt;
* Web Based:  Simply go to [http://ircatwork.com ircatwork.com], enter the network host, the channel, a unique ''nickname'', and say hello to the team!&lt;br /&gt;
* Client Software: Download one of the many freeware/shareware IRC clients and put [irc://irc.freenode.net/#paparazzi #paparazzi] at the top of your favorites list!&lt;br /&gt;
*: [http://www.mirc.com mIRC]&lt;br /&gt;
*: [http://www.xchat.org Xchat]&lt;br /&gt;
&lt;br /&gt;
== Paparazzi Users Forum ==&lt;br /&gt;
&lt;br /&gt;
http://rc-autopilot.de/smf - please join and get this forum going&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/paparazzi-autopilot/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Paparazzi Youtube and Other Video Site Links ==&lt;br /&gt;
&lt;br /&gt;
http://www.youtube.com/user/USUOSAM  &lt;br /&gt;
&lt;br /&gt;
== Paparazzi teams/users/contributors ==&lt;br /&gt;
&lt;br /&gt;
http://www.miraterre.com/index.html&lt;br /&gt;
&lt;br /&gt;
http://mecano.gme.usherb.ca/~vamudes/&lt;br /&gt;
&lt;br /&gt;
http://pfump.org&lt;br /&gt;
&lt;br /&gt;
http://www.ismo.hs-bremen.de/dokuwiki/doku.php?id=elem:projekte:intro#semesterprojekte  (German)&lt;br /&gt;
&lt;br /&gt;
http://www.engr.usu.edu/wiki/index.php/OSAM&lt;br /&gt;
&lt;br /&gt;
http://www.techhopups.com/&lt;br /&gt;
&lt;br /&gt;
http://pixhawk.ethz.ch&lt;br /&gt;
&lt;br /&gt;
== WikiNode ==&lt;br /&gt;
&lt;br /&gt;
Related wiki are, as always, listed on the [[WikiNode]].&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Links&amp;diff=4236</id>
		<title>Links</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Links&amp;diff=4236"/>
		<updated>2008-12-08T17:03:07Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Paparazzi teams/users/contributors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Project Page ==&lt;br /&gt;
&lt;br /&gt;
The Paparazzi project is hosted at http://www.nongnu.org/paparazzi/ where the CVS repository is available.&lt;br /&gt;
&lt;br /&gt;
== The IRC Chat Channel ==&lt;br /&gt;
&lt;br /&gt;
  Network: Freenode&lt;br /&gt;
  Network Host: irc.freenode.net&lt;br /&gt;
  Channel: #paparazzi&lt;br /&gt;
&lt;br /&gt;
* Web Based:  Simply go to [http://ircatwork.com ircatwork.com], enter the network host, the channel, a unique ''nickname'', and say hello to the team!&lt;br /&gt;
* Client Software: Download one of the many freeware/shareware IRC clients and put [irc://irc.freenode.net/#paparazzi #paparazzi] at the top of your favorites list!&lt;br /&gt;
*: [http://www.mirc.com mIRC]&lt;br /&gt;
*: [http://www.xchat.org Xchat]&lt;br /&gt;
&lt;br /&gt;
== Paparazzi Users Forum ==&lt;br /&gt;
&lt;br /&gt;
http://rc-autopilot.de/smf - please join and get this forum going&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/paparazzi-autopilot/&lt;br /&gt;
&lt;br /&gt;
== Paparazzi teams/users/contributors ==&lt;br /&gt;
&lt;br /&gt;
http://www.miraterre.com/index.html&lt;br /&gt;
&lt;br /&gt;
http://mecano.gme.usherb.ca/~vamudes/&lt;br /&gt;
&lt;br /&gt;
http://pfump.org&lt;br /&gt;
&lt;br /&gt;
http://www.ismo.hs-bremen.de/dokuwiki/doku.php?id=elem:projekte:intro#semesterprojekte  (German)&lt;br /&gt;
&lt;br /&gt;
http://www.engr.usu.edu/wiki/index.php/OSAM&lt;br /&gt;
&lt;br /&gt;
http://www.techhopups.com/&lt;br /&gt;
&lt;br /&gt;
http://pixhawk.ethz.ch&lt;br /&gt;
&lt;br /&gt;
== WikiNode ==&lt;br /&gt;
&lt;br /&gt;
Related wiki are, as always, listed on the [[WikiNode]].&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Hardware_Wish_List&amp;diff=4155</id>
		<title>Talk:Hardware Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Hardware_Wish_List&amp;diff=4155"/>
		<updated>2008-11-20T15:53:14Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* GSM (cellular phone) modem, onboard camera and x86 compatible computer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How about a migration from ublox Antaris4 to Antaris5. I believe they are pretty much pin to pin compatible and minor changes are needed in the UBX protocol&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If not done by someone else the OSAM team will be working on the integration of the ublox 5 modules in a month or two.. Danstah&lt;br /&gt;
&amp;lt;br&amp;gt; This is done but was not really needed since it had already been done by the guys over at ENAC. Refer to the GPS page for instructions. &lt;br /&gt;
Also for those using the LEA-5H is anyone really seeing any benefits other that fast acquisition? Because i am not that much better accuracy. --Danstah&lt;br /&gt;
&lt;br /&gt;
==  GSM (cellular phone) modem, onboard camera and x86 compatible computer ==&lt;br /&gt;
&lt;br /&gt;
with GSM modem you get unlimited range, &lt;br /&gt;
camera gives much fun and navigation abilities.&lt;br /&gt;
&lt;br /&gt;
With all that features, we need x86 compatible onboard computer, with Linux run on, because:&lt;br /&gt;
&lt;br /&gt;
-- easy progamming and debug, a lot of GNU software available&lt;br /&gt;
&lt;br /&gt;
-- all drivers (GSM, camera, USB, GPS) are ready&lt;br /&gt;
&lt;br /&gt;
-- use script languages like perl to program&lt;br /&gt;
&lt;br /&gt;
-- store photos, videos and logs onboard at flash card (loading only small photos over GSM link to save money), &lt;br /&gt;
&lt;br /&gt;
-- easily communicate over the Internet (TCP/IP). Imagine the web-server aboard!&lt;br /&gt;
&lt;br /&gt;
Ok, [http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=221 nano-ITX] is huge enought and has great power consumption,  requiring a bigger plane.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reply:&lt;br /&gt;
Why not just use a gumstix and connect it through the UART port used by the GPS. This is exactly what we do --Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Hardware_Wish_List&amp;diff=4024</id>
		<title>Talk:Hardware Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Hardware_Wish_List&amp;diff=4024"/>
		<updated>2008-09-05T15:03:11Z</updated>

		<summary type="html">&lt;p&gt;Danstah: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How about a migration from ublox Antaris4 to Antaris5. I believe they are pretty much pin to pin compatible and minor changes are needed in the UBX protocol&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If not done by someone else the OSAM team will be working on the integration of the ublox 5 modules in a month or two.. Danstah&lt;br /&gt;
&amp;lt;br&amp;gt; This is done but was not really needed since it had already been done by the guys over at ENAC. Refer to the GPS page for instructions. &lt;br /&gt;
Also for those using the LEA-5H is anyone really seeing any benefits other that fast acquisition? Because i am not that much better accuracy. --Danstah&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4021</id>
		<title>Software Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4021"/>
		<updated>2008-09-05T14:58:34Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Ground Station Suggestions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|__TOC__&lt;br /&gt;
|Please use the [[Talk:Software_Wish_List|Discussion]] tab at the top of the page, as appropriate&lt;br /&gt;
|}&lt;br /&gt;
== Ground Station Suggestions ==&lt;br /&gt;
* Path interpreter&lt;br /&gt;
* Divide the flight plan into 3 separate files [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: Takeoff/Landing - flight plan blocks describing the complex routines and using altitudes and waypoints from the ''User'' file&lt;br /&gt;
*: Generic - a file that users should never need to edit, containing circles, rectangles, figure-8's, and surveys that appear on command when GCS buttons are pressed.  Altitude/locations could be relative to the ''User'' file&lt;br /&gt;
*: User - Here we can specify fixed or dynamic ''Home'' point and add complex routines or simply save certain basic routines.&lt;br /&gt;
* How about the possibility to use multiple ground modem connected to a single ground station. The RSSI could be use to dynamically choose which currently has the best signal. This would alow the use of different antennas on each of the modems or have antenna pointing in different directions&lt;br /&gt;
* PFD - the horizon and the sky shouldn't move only the main line. '''Because we are on the ground''' and we really need to see the roll angle of the uav and not the real PFD like on a real airplane. And we could also see, the pitch angle, to see if the uav is climbing or going down.&lt;br /&gt;
*:  Another way this could be done is to use a 3d model of the plane like procerus does on there ap. For those unfamiliar with this it is like you are in the view point of like 5m behind the plane. This might give the user just enough of a model to help fly back under manual control or at least have a better understanding of the orientation. This idea is good one but it should not replace the current pfd but rather be an option to use in the gcs. &lt;br /&gt;
&lt;br /&gt;
* Language packs - English, French, German, Italian, Spanish, Portuguese, ... (i can help on portuguese)&lt;br /&gt;
&lt;br /&gt;
== Airborne Software Suggestions ==&lt;br /&gt;
=== Stability ===&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
* Flight plan stage sensing &lt;br /&gt;
*: Carrot should continue past the waypoint toward the next point, but the point should not be officially acknowledged until the plane has passed it.  This way we can have smooth, intelligent navigation while still considering waypoint triggers such as still-photo, sensor drop, or throttle off.&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* '''Revised autopilot modes''' [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: I propose a restructuring of the modes as follows - create 3 top-level modes: '''Man, Stab,'''and '''Auto''', each with an appended autonomous sub-mode (i.e. '''Man'''/''Climb'', '''Stab'''/''Kill'', '''Auto'''/''Landing'', etc.)  This will give the operator much more information and a much better indication of what the plane will do when switched to autonomous mode in a concise manner.  Furthermore, I see an advantage in having simple behaviors like ''Climb, Landing'', etc. be defined as sub-modes so that operator is always alerted of changes such as ''Descent'' or can easily configure trim, gains, and payload options in the airframe file (i.e. if mode = ''Landing'' then retract camera, turn off video system, use landing trim, etc.)&lt;br /&gt;
** ''Sub-modes''&lt;br /&gt;
*# ''Ground'' - The default boot mode.  In this mode the throttle is locked at 0% or not armed at all (no PWM signal), stability is disabled (servos locked in neutral position), and video power is off, but flight plan blocks are processed.  This will improve safety and aid in lost plane retreival as the servos, and video will not drain the battery if landing detection is implemented.  ''Ground'' mode should exit '''only''' if ''Takeoff'' is manually triggered.&lt;br /&gt;
*# ''Takeoff'' - 3 possible triggers: GCS button, GPIO button, or R/C throttle.  Checks for error modes and desired climb, then arms/unlocks throttle, initates &amp;quot;Takeoff&amp;quot; flight plan block, and instantly deroutes to ''Climb'' mode.  Deroutes to ''Descent'' mode without unlocking throttle if not OK.  ''Takeoff'' could simply be a flag rather than a &amp;quot;mode&amp;quot;.&lt;br /&gt;
*# ''Climb'' - Triggered anytime &amp;quot;aggressive climb&amp;quot; is active&lt;br /&gt;
*# ''Descent'' - Triggered anytime &amp;quot;aggressive descent&amp;quot; is active&lt;br /&gt;
*# ''Nav'' - Normal level flight&lt;br /&gt;
*# ''Landing'' - Same as ''Nav'' but using the &amp;quot;Landing&amp;quot; flight plan block and any airframe gains/trims/payload options as defined in airframe.xml&lt;br /&gt;
*# ''Kill'' - Triggered manually - locks throttle at 0% and uses pitch/roll settings from Airframe.xml.  &lt;br /&gt;
** ''Error sub-modes''&lt;br /&gt;
*# ''No GPS'' - A temporary mode using pitch/roll settings from airframe.xml&lt;br /&gt;
*# ''Home'' - Triggered by distance in '''Auto''' mode or by distance/RC loss in '''Stab''' mode (after ''n'' seconds, as defined in airframe.xml).  Exits upon manual block/mode change requests from the GCS and cannot be re-initiated for 30 seconds.&lt;br /&gt;
&lt;br /&gt;
* '''Continually broadcast last known location'''&lt;br /&gt;
*: AP should continue to broadcast the last known GPS coordinate in the event of GPS loss. (i.e. upside-down crashed plane should continue to send last known position in case it was out of data range prior to the crash.)&lt;br /&gt;
&lt;br /&gt;
*Ability to upload waypoints in flight&lt;br /&gt;
*: I know this has been discussed a few times but it would be nice to at least have the option to upload waypoints and blocks and be able to change blocks in flight. This is risky but most ap's do have this feature now and it would be nice if the user could make this decision. Now i am not sure whether the hardware would support this feature right now so correct me if i am wrong. &lt;br /&gt;
&lt;br /&gt;
*Radio Control of UAV through Data Link&lt;br /&gt;
*: This simply means that instead of hacking an RC receiver to output it to the ap board why not hook your RC transmitter up through your computer and use the data link for RC. This would be nice especially with all the new RC range issues the 2 layer tiny 2.11 has brought on. Also it would be nice because RC interference would be eliminated. Please comment on this and tell me what you think&lt;br /&gt;
&lt;br /&gt;
*Precision Surveying&lt;br /&gt;
*: It would be nice to have a survey function that could survey a sector and also be told what coordinates to begin the survey on. Another useful feature would be to have the plane sense when it is done surveying the whole area so it could move to the next block. I know that the entering the survey can be done in a roundabout method by defining a waypoint at the entry point and then going to it but defining it in the survey function would allow for more precise survey since that first sweep would already be defined and then would not be affected by if the plane went into the survey function at weird spot or something.&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4020</id>
		<title>Software Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4020"/>
		<updated>2008-09-05T14:56:55Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Ground Station Suggestions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|__TOC__&lt;br /&gt;
|Please use the [[Talk:Software_Wish_List|Discussion]] tab at the top of the page, as appropriate&lt;br /&gt;
|}&lt;br /&gt;
== Ground Station Suggestions ==&lt;br /&gt;
* Path interpreter&lt;br /&gt;
* Divide the flight plan into 3 separate files [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: Takeoff/Landing - flight plan blocks describing the complex routines and using altitudes and waypoints from the ''User'' file&lt;br /&gt;
*: Generic - a file that users should never need to edit, containing circles, rectangles, figure-8's, and surveys that appear on command when GCS buttons are pressed.  Altitude/locations could be relative to the ''User'' file&lt;br /&gt;
*: User - Here we can specify fixed or dynamic ''Home'' point and add complex routines or simply save certain basic routines.&lt;br /&gt;
* How about the possibility to use multiple ground modem connected to a single ground station. The RSSI could be use to dynamically choose which currently has the best signal. This would alow the use of different antennas on each of the modems or have antenna pointing in different directions&lt;br /&gt;
* PFD - the horizon and the sky shouldn't move only the main line. '''Because we are on the ground''' and we really need to see the roll angle of the uav and not the real PFD like on a real airplane. And we could also see, the pitch angle, to see if the uav is climbing or going down.&lt;br /&gt;
*:  Another way this could be done is to use a 3d model of the plane like procerus does on there ap. This might give the user just enough of a model to help fly back under manual control or at least have a better understanding of the orientation. This idea is good one but it should not replace the current pfd but rather be an option to use in the gcs. &lt;br /&gt;
&lt;br /&gt;
* Language packs - English, French, German, Italian, Spanish, Portuguese, ... (i can help on portuguese)&lt;br /&gt;
&lt;br /&gt;
== Airborne Software Suggestions ==&lt;br /&gt;
=== Stability ===&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
* Flight plan stage sensing &lt;br /&gt;
*: Carrot should continue past the waypoint toward the next point, but the point should not be officially acknowledged until the plane has passed it.  This way we can have smooth, intelligent navigation while still considering waypoint triggers such as still-photo, sensor drop, or throttle off.&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* '''Revised autopilot modes''' [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: I propose a restructuring of the modes as follows - create 3 top-level modes: '''Man, Stab,'''and '''Auto''', each with an appended autonomous sub-mode (i.e. '''Man'''/''Climb'', '''Stab'''/''Kill'', '''Auto'''/''Landing'', etc.)  This will give the operator much more information and a much better indication of what the plane will do when switched to autonomous mode in a concise manner.  Furthermore, I see an advantage in having simple behaviors like ''Climb, Landing'', etc. be defined as sub-modes so that operator is always alerted of changes such as ''Descent'' or can easily configure trim, gains, and payload options in the airframe file (i.e. if mode = ''Landing'' then retract camera, turn off video system, use landing trim, etc.)&lt;br /&gt;
** ''Sub-modes''&lt;br /&gt;
*# ''Ground'' - The default boot mode.  In this mode the throttle is locked at 0% or not armed at all (no PWM signal), stability is disabled (servos locked in neutral position), and video power is off, but flight plan blocks are processed.  This will improve safety and aid in lost plane retreival as the servos, and video will not drain the battery if landing detection is implemented.  ''Ground'' mode should exit '''only''' if ''Takeoff'' is manually triggered.&lt;br /&gt;
*# ''Takeoff'' - 3 possible triggers: GCS button, GPIO button, or R/C throttle.  Checks for error modes and desired climb, then arms/unlocks throttle, initates &amp;quot;Takeoff&amp;quot; flight plan block, and instantly deroutes to ''Climb'' mode.  Deroutes to ''Descent'' mode without unlocking throttle if not OK.  ''Takeoff'' could simply be a flag rather than a &amp;quot;mode&amp;quot;.&lt;br /&gt;
*# ''Climb'' - Triggered anytime &amp;quot;aggressive climb&amp;quot; is active&lt;br /&gt;
*# ''Descent'' - Triggered anytime &amp;quot;aggressive descent&amp;quot; is active&lt;br /&gt;
*# ''Nav'' - Normal level flight&lt;br /&gt;
*# ''Landing'' - Same as ''Nav'' but using the &amp;quot;Landing&amp;quot; flight plan block and any airframe gains/trims/payload options as defined in airframe.xml&lt;br /&gt;
*# ''Kill'' - Triggered manually - locks throttle at 0% and uses pitch/roll settings from Airframe.xml.  &lt;br /&gt;
** ''Error sub-modes''&lt;br /&gt;
*# ''No GPS'' - A temporary mode using pitch/roll settings from airframe.xml&lt;br /&gt;
*# ''Home'' - Triggered by distance in '''Auto''' mode or by distance/RC loss in '''Stab''' mode (after ''n'' seconds, as defined in airframe.xml).  Exits upon manual block/mode change requests from the GCS and cannot be re-initiated for 30 seconds.&lt;br /&gt;
&lt;br /&gt;
* '''Continually broadcast last known location'''&lt;br /&gt;
*: AP should continue to broadcast the last known GPS coordinate in the event of GPS loss. (i.e. upside-down crashed plane should continue to send last known position in case it was out of data range prior to the crash.)&lt;br /&gt;
&lt;br /&gt;
*Ability to upload waypoints in flight&lt;br /&gt;
*: I know this has been discussed a few times but it would be nice to at least have the option to upload waypoints and blocks and be able to change blocks in flight. This is risky but most ap's do have this feature now and it would be nice if the user could make this decision. Now i am not sure whether the hardware would support this feature right now so correct me if i am wrong. &lt;br /&gt;
&lt;br /&gt;
*Radio Control of UAV through Data Link&lt;br /&gt;
*: This simply means that instead of hacking an RC receiver to output it to the ap board why not hook your RC transmitter up through your computer and use the data link for RC. This would be nice especially with all the new RC range issues the 2 layer tiny 2.11 has brought on. Also it would be nice because RC interference would be eliminated. Please comment on this and tell me what you think&lt;br /&gt;
&lt;br /&gt;
*Precision Surveying&lt;br /&gt;
*: It would be nice to have a survey function that could survey a sector and also be told what coordinates to begin the survey on. Another useful feature would be to have the plane sense when it is done surveying the whole area so it could move to the next block. I know that the entering the survey can be done in a roundabout method by defining a waypoint at the entry point and then going to it but defining it in the survey function would allow for more precise survey since that first sweep would already be defined and then would not be affected by if the plane went into the survey function at weird spot or something.&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4019</id>
		<title>Software Wish List</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Software_Wish_List&amp;diff=4019"/>
		<updated>2008-09-05T14:54:17Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Airborne Software Suggestions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|__TOC__&lt;br /&gt;
|Please use the [[Talk:Software_Wish_List|Discussion]] tab at the top of the page, as appropriate&lt;br /&gt;
|}&lt;br /&gt;
== Ground Station Suggestions ==&lt;br /&gt;
* Path interpreter&lt;br /&gt;
* Divide the flight plan into 3 separate files [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: Takeoff/Landing - flight plan blocks describing the complex routines and using altitudes and waypoints from the ''User'' file&lt;br /&gt;
*: Generic - a file that users should never need to edit, containing circles, rectangles, figure-8's, and surveys that appear on command when GCS buttons are pressed.  Altitude/locations could be relative to the ''User'' file&lt;br /&gt;
*: User - Here we can specify fixed or dynamic ''Home'' point and add complex routines or simply save certain basic routines.&lt;br /&gt;
* How about the possibility to use multiple ground modem connected to a single ground station. The RSSI could be use to dynamically choose which currently has the best signal. This would alow the use of different antennas on each of the modems or have antenna pointing in different directions&lt;br /&gt;
* PFD - the horizon and the sky shouldn't move only the main line. '''Because we are on the ground''' and we really need to see the roll angle of the uav and not the real PFD like on a real airplane. And we could also see, the pitch angle, to see if the uav is climbing or going down.&lt;br /&gt;
* Language packs - English, French, German, Italian, Spanish, Portuguese, ... (i can help on portuguese)&lt;br /&gt;
&lt;br /&gt;
== Airborne Software Suggestions ==&lt;br /&gt;
=== Stability ===&lt;br /&gt;
=== Navigation ===&lt;br /&gt;
* Flight plan stage sensing &lt;br /&gt;
*: Carrot should continue past the waypoint toward the next point, but the point should not be officially acknowledged until the plane has passed it.  This way we can have smooth, intelligent navigation while still considering waypoint triggers such as still-photo, sensor drop, or throttle off.&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
* '''Revised autopilot modes''' [[User:Jeremy|(Jeremy)]]&lt;br /&gt;
*: I propose a restructuring of the modes as follows - create 3 top-level modes: '''Man, Stab,'''and '''Auto''', each with an appended autonomous sub-mode (i.e. '''Man'''/''Climb'', '''Stab'''/''Kill'', '''Auto'''/''Landing'', etc.)  This will give the operator much more information and a much better indication of what the plane will do when switched to autonomous mode in a concise manner.  Furthermore, I see an advantage in having simple behaviors like ''Climb, Landing'', etc. be defined as sub-modes so that operator is always alerted of changes such as ''Descent'' or can easily configure trim, gains, and payload options in the airframe file (i.e. if mode = ''Landing'' then retract camera, turn off video system, use landing trim, etc.)&lt;br /&gt;
** ''Sub-modes''&lt;br /&gt;
*# ''Ground'' - The default boot mode.  In this mode the throttle is locked at 0% or not armed at all (no PWM signal), stability is disabled (servos locked in neutral position), and video power is off, but flight plan blocks are processed.  This will improve safety and aid in lost plane retreival as the servos, and video will not drain the battery if landing detection is implemented.  ''Ground'' mode should exit '''only''' if ''Takeoff'' is manually triggered.&lt;br /&gt;
*# ''Takeoff'' - 3 possible triggers: GCS button, GPIO button, or R/C throttle.  Checks for error modes and desired climb, then arms/unlocks throttle, initates &amp;quot;Takeoff&amp;quot; flight plan block, and instantly deroutes to ''Climb'' mode.  Deroutes to ''Descent'' mode without unlocking throttle if not OK.  ''Takeoff'' could simply be a flag rather than a &amp;quot;mode&amp;quot;.&lt;br /&gt;
*# ''Climb'' - Triggered anytime &amp;quot;aggressive climb&amp;quot; is active&lt;br /&gt;
*# ''Descent'' - Triggered anytime &amp;quot;aggressive descent&amp;quot; is active&lt;br /&gt;
*# ''Nav'' - Normal level flight&lt;br /&gt;
*# ''Landing'' - Same as ''Nav'' but using the &amp;quot;Landing&amp;quot; flight plan block and any airframe gains/trims/payload options as defined in airframe.xml&lt;br /&gt;
*# ''Kill'' - Triggered manually - locks throttle at 0% and uses pitch/roll settings from Airframe.xml.  &lt;br /&gt;
** ''Error sub-modes''&lt;br /&gt;
*# ''No GPS'' - A temporary mode using pitch/roll settings from airframe.xml&lt;br /&gt;
*# ''Home'' - Triggered by distance in '''Auto''' mode or by distance/RC loss in '''Stab''' mode (after ''n'' seconds, as defined in airframe.xml).  Exits upon manual block/mode change requests from the GCS and cannot be re-initiated for 30 seconds.&lt;br /&gt;
&lt;br /&gt;
* '''Continually broadcast last known location'''&lt;br /&gt;
*: AP should continue to broadcast the last known GPS coordinate in the event of GPS loss. (i.e. upside-down crashed plane should continue to send last known position in case it was out of data range prior to the crash.)&lt;br /&gt;
&lt;br /&gt;
*Ability to upload waypoints in flight&lt;br /&gt;
*: I know this has been discussed a few times but it would be nice to at least have the option to upload waypoints and blocks and be able to change blocks in flight. This is risky but most ap's do have this feature now and it would be nice if the user could make this decision. Now i am not sure whether the hardware would support this feature right now so correct me if i am wrong. &lt;br /&gt;
&lt;br /&gt;
*Radio Control of UAV through Data Link&lt;br /&gt;
*: This simply means that instead of hacking an RC receiver to output it to the ap board why not hook your RC transmitter up through your computer and use the data link for RC. This would be nice especially with all the new RC range issues the 2 layer tiny 2.11 has brought on. Also it would be nice because RC interference would be eliminated. Please comment on this and tell me what you think&lt;br /&gt;
&lt;br /&gt;
*Precision Surveying&lt;br /&gt;
*: It would be nice to have a survey function that could survey a sector and also be told what coordinates to begin the survey on. Another useful feature would be to have the plane sense when it is done surveying the whole area so it could move to the next block. I know that the entering the survey can be done in a roundabout method by defining a waypoint at the entry point and then going to it but defining it in the survey function would allow for more precise survey since that first sweep would already be defined and then would not be affected by if the plane went into the survey function at weird spot or something.&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3959</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3959"/>
		<updated>2008-08-01T22:39:42Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Uploading the Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[[Tiny]]''' and Paparazzi stand-alone GPS currently use the [http://www.u-blox.com/products/lea_4p.html u-blox LEA-4P] featuring [http://www.u-blox.com/technology/antaris4/index.html Antaris-4] technology and uBlox's more efficient UBX binary protocol.  This module is a surface mount package which is soldered directly onto the PCB (Tiny or Paparazzi GPS).  An external battery backup (capacitor) is used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4x series receivers can be used including the less expensive LEA-4A and 4S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
&lt;br /&gt;
[[Image:TINY_1.3_MCU_BOTTOM.JPG|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
There are currently two (LEA-based) stand-alone, GPS receiver + antenna, prototype boards in development; the first one is based on the Sangshin 13mm patch antenna. The second is based on the Sarantel helix antenna.  Drawings for both are available from the [http://cvs.savannah.gnu.org/viewcvs/paparazzi/paparazzi3/hw/ CVS]&lt;br /&gt;
Another alternative is the NAVILOCK NL-507TTL u-blox TTL Modul 60416 which is availible for 28€ (amazon.de).&lt;br /&gt;
&lt;br /&gt;
===u-Blox SAM-LS GPS Smart Antenna===&lt;br /&gt;
[[Image:Ublox_SAM-LS.jpg|100px|thumb|right|u-blox SAM-LS]]&lt;br /&gt;
The '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards use a stand alone module from u-blox called the SAM-LS. It is an integrated TIM-LP module with a ceramic patch antenna. This processor also runs on 4hz and must be configured to use the UBX protocol. With battery backup (3V watch battery) they show hot starts of around a couple seconds. The LEA-LA processor weighs a couple grams and the complete the SAM-LS module with antenna and shielding weighs about 20grams.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Effective 12/2006 u-blox has begun to phase out the SAM-LS product.  No replacement will be offered.&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore ) &lt;br /&gt;
*http://shop.halfbase.com/index.php/cPath/22?osCsid=414472d5a544b080f9ae153fdc323798  ( B2B- min.10pcs @ $38 )&lt;br /&gt;
&lt;br /&gt;
===Standalone GPS Module from CVS===&lt;br /&gt;
The Version 1 (V1) BOM is here.. Please post any pics you might have and check this for accuracy&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output]&amp;lt;br&amp;gt;&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/products/u_center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
* Note: You can run u-center on Linux by installing &amp;quot;wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and setting up com1 as /dev/ttyUSB0 See Info on wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with wine, follow prompts. This has been tested with Ubuntu7.10 so far.&lt;br /&gt;
* Note: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun] or [http://shop.halfbase.com/product_info.php/products_id/54 Halfbase].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.zip LEA-5H (For Use w/ Firmware V5 ONLY!)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.environmental-studies.de/Precision_Farming/EGNOS_WAAS__E/3E.html WAAS, EGNOS, and MSAS] though only WAAS is officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS is officially in &amp;quot;testing mode&amp;quot; and no claims of reliability are made.  The [http://www.u-blox.com/customersupport/faq_antaris u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. Although the data transmitted by the EGNOS satellites are usually good and valuable (e.g. during the solar storms in autumn 2003), they can sometimes be very unreliable, for example when system tests are performed. As an example, u-blox has noticed erroneous range information (up to three hundred kilometers) on various EGNOS satellite over the last few months [2006].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=43 PPZUAV] ~$10.00 USD (no min. order requirement)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=40&amp;amp;osCsid=709e839698120c5cd324072b77d67cc1 PPZUAV]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3958</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3958"/>
		<updated>2008-08-01T22:20:43Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Uploading the Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[[Tiny]]''' and Paparazzi stand-alone GPS currently use the [http://www.u-blox.com/products/lea_4p.html u-blox LEA-4P] featuring [http://www.u-blox.com/technology/antaris4/index.html Antaris-4] technology and uBlox's more efficient UBX binary protocol.  This module is a surface mount package which is soldered directly onto the PCB (Tiny or Paparazzi GPS).  An external battery backup (capacitor) is used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4x series receivers can be used including the less expensive LEA-4A and 4S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
&lt;br /&gt;
[[Image:TINY_1.3_MCU_BOTTOM.JPG|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
There are currently two (LEA-based) stand-alone, GPS receiver + antenna, prototype boards in development; the first one is based on the Sangshin 13mm patch antenna. The second is based on the Sarantel helix antenna.  Drawings for both are available from the [http://cvs.savannah.gnu.org/viewcvs/paparazzi/paparazzi3/hw/ CVS]&lt;br /&gt;
Another alternative is the NAVILOCK NL-507TTL u-blox TTL Modul 60416 which is availible for 28€ (amazon.de).&lt;br /&gt;
&lt;br /&gt;
===u-Blox SAM-LS GPS Smart Antenna===&lt;br /&gt;
[[Image:Ublox_SAM-LS.jpg|100px|thumb|right|u-blox SAM-LS]]&lt;br /&gt;
The '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards use a stand alone module from u-blox called the SAM-LS. It is an integrated TIM-LP module with a ceramic patch antenna. This processor also runs on 4hz and must be configured to use the UBX protocol. With battery backup (3V watch battery) they show hot starts of around a couple seconds. The LEA-LA processor weighs a couple grams and the complete the SAM-LS module with antenna and shielding weighs about 20grams.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Effective 12/2006 u-blox has begun to phase out the SAM-LS product.  No replacement will be offered.&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore ) &lt;br /&gt;
*http://shop.halfbase.com/index.php/cPath/22?osCsid=414472d5a544b080f9ae153fdc323798  ( B2B- min.10pcs @ $38 )&lt;br /&gt;
&lt;br /&gt;
===Standalone GPS Module from CVS===&lt;br /&gt;
The Version 1 (V1) BOM is here.. Please post any pics you might have and check this for accuracy&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output]&amp;lt;br&amp;gt;&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/products/u_center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
* Note: You can run u-center on Linux by installing &amp;quot;wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and setting up com1 as /dev/ttyUSB0 See Info on wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with wine, follow prompts. This has been tested with Ubuntu7.10 so far.&lt;br /&gt;
* Note: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun] or [http://shop.halfbase.com/product_info.php/products_id/54 Halfbase].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.zip LEA-5H (For Use w/ Firmware V5)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.environmental-studies.de/Precision_Farming/EGNOS_WAAS__E/3E.html WAAS, EGNOS, and MSAS] though only WAAS is officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS is officially in &amp;quot;testing mode&amp;quot; and no claims of reliability are made.  The [http://www.u-blox.com/customersupport/faq_antaris u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. Although the data transmitted by the EGNOS satellites are usually good and valuable (e.g. during the solar storms in autumn 2003), they can sometimes be very unreliable, for example when system tests are performed. As an example, u-blox has noticed erroneous range information (up to three hundred kilometers) on various EGNOS satellite over the last few months [2006].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=43 PPZUAV] ~$10.00 USD (no min. order requirement)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=40&amp;amp;osCsid=709e839698120c5cd324072b77d67cc1 PPZUAV]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Tiny_LEA-5H-v5.zip&amp;diff=3957</id>
		<title>File:Tiny LEA-5H-v5.zip</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Tiny_LEA-5H-v5.zip&amp;diff=3957"/>
		<updated>2008-08-01T22:19:50Z</updated>

		<summary type="html">&lt;p&gt;Danstah: Tiny LEA-5H Config&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Tiny LEA-5H Config&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3956</id>
		<title>Sensors/GPS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Sensors/GPS&amp;diff=3956"/>
		<updated>2008-08-01T22:11:34Z</updated>

		<summary type="html">&lt;p&gt;Danstah: /* Uploading the Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=right&lt;br /&gt;
|-&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
[[Image:U-blox_color_warm_60.gif|100px]]&lt;br /&gt;
&lt;br /&gt;
Paparazzi autopilots are designed around the popular [http://www.u-blox.com u-blox] brand of receivers.&lt;br /&gt;
&lt;br /&gt;
*Features:&lt;br /&gt;
**Small size&lt;br /&gt;
**Excellent performance&lt;br /&gt;
**4Hz position update rate&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny]]''' features an onboard LEA series GPS receiver and patch antenna, while '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards require an external receiver+antenna such as the [[#Paparazzi_Stand-alone_GPS_Receivers|Paparazzi GPS]] or [[#u-Blox_SAM-LS_GPS_Smart_Antenna|SAM-LS]].  Please note that the receivers must be configured (prior to use with the autopilot) as indicated below. Both modules have proven reliable and robust. &lt;br /&gt;
&lt;br /&gt;
{|align = center&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Lea big.jpg|200px|thumb|center|u-blox LEA GPS Receiver]]&lt;br /&gt;
|[[Image:Ublox_SAM-LS.jpg|200px|thumb|center|u-blox SAM-LS GPS receiver (w/built-in Smart Antenna)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The proprietary UBX protocol is used as it offers more information and efficiency than the universal NMEA protocol.  The protocol is parsed in &amp;lt;tt&amp;gt;sw/airborne/gps_ubx.c&amp;lt;/tt&amp;gt;.  Other GPS brands would require a similar parsing file to be written for NMEA or other proprietary protocols.    &lt;br /&gt;
&lt;br /&gt;
==GPS Receivers==&lt;br /&gt;
&lt;br /&gt;
===u-Blox LEA Series Receivers===&lt;br /&gt;
[[Image:Lea big.jpg|100px|thumb|right|u-blox LEA]]&lt;br /&gt;
The '''[[Tiny]]''' and Paparazzi stand-alone GPS currently use the [http://www.u-blox.com/products/lea_4p.html u-blox LEA-4P] featuring [http://www.u-blox.com/technology/antaris4/index.html Antaris-4] technology and uBlox's more efficient UBX binary protocol.  This module is a surface mount package which is soldered directly onto the PCB (Tiny or Paparazzi GPS).  An external battery backup (capacitor) is used to enable the GPS to retain data while powered off for significantly faster signal re-aquisition.  Any of the LEA-4x series receivers can be used including the less expensive LEA-4A and 4S models as the special boot configuration code required for these models is already written.&lt;br /&gt;
&lt;br /&gt;
*4Hz Position update rate&lt;br /&gt;
*Supports active or passive antennas&lt;br /&gt;
*Supports [http://en.wikipedia.org/wiki/DGPS DGPS], [http://en.wikipedia.org/wiki/WAAS WAAS], [http://en.wikipedia.org/wiki/EGNOS EGNOS], and [http://en.wikipedia.org/wiki/MSAS MSAS]&lt;br /&gt;
&lt;br /&gt;
[[Image:TINY_1.3_MCU_BOTTOM.JPG|thumb|center|250px|LEA-4P installed on the Tiny]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Paparazzi Stand-alone GPS Receivers===&lt;br /&gt;
There are currently two (LEA-based) stand-alone, GPS receiver + antenna, prototype boards in development; the first one is based on the Sangshin 13mm patch antenna. The second is based on the Sarantel helix antenna.  Drawings for both are available from the [http://cvs.savannah.gnu.org/viewcvs/paparazzi/paparazzi3/hw/ CVS]&lt;br /&gt;
Another alternative is the NAVILOCK NL-507TTL u-blox TTL Modul 60416 which is availible for 28€ (amazon.de).&lt;br /&gt;
&lt;br /&gt;
===u-Blox SAM-LS GPS Smart Antenna===&lt;br /&gt;
[[Image:Ublox_SAM-LS.jpg|100px|thumb|right|u-blox SAM-LS]]&lt;br /&gt;
The '''[[Classix]]''' and '''[[Previous_Autopilots|AVR-based]]''' boards use a stand alone module from u-blox called the SAM-LS. It is an integrated TIM-LP module with a ceramic patch antenna. This processor also runs on 4hz and must be configured to use the UBX protocol. With battery backup (3V watch battery) they show hot starts of around a couple seconds. The LEA-LA processor weighs a couple grams and the complete the SAM-LS module with antenna and shielding weighs about 20grams.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Effective 12/2006 u-blox has begun to phase out the SAM-LS product.  No replacement will be offered.&lt;br /&gt;
&lt;br /&gt;
====Connecting external receivers to Classix, 1.2.1, Lite, and RoboStix boards====&lt;br /&gt;
&lt;br /&gt;
The u-blox receivers require 3.3v power and all current models have 5V tolerant data lines. The best way to connect to the SAM-LS is to remove the bottom case and solder the 4 wires directly to the TIM-LL module (GND (pin 1) ,VCC (pin 2),TX (Pin 5),RX (pin 4)) check the TIM-LL datasheet for pinout diagrams.  The Classix and Lite boards feature a 3.3V regulator to power the GPS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Sourcing from u-blox===&lt;br /&gt;
&lt;br /&gt;
u-blox keeps tight control over the distribution of their products.  They must be obtained DIRECTLY from their own reseller offices.  These offices may not be available in your area, for example Canada does not have a reseller.  Sample quantities can be obtained from uBlox but overnight or 2 day shipping is required which drives the cost up considerably.  While it is a large hassle obtaining these devices, it is undoubtedly worth it.&lt;br /&gt;
&lt;br /&gt;
Talking with ublox sale for two years, Confirmed, that Order is possiable Directly from ublox, by knowing what project it was for &amp;amp; how was it to be use.  After long reply waiting time, the answer was: - YES,  but at least 2K-3K in volume, otherwise they're not interested.  Like to share the order ?  It is 500pcs/Roll.&lt;br /&gt;
&lt;br /&gt;
===Other potential source of u-blox GPS===&lt;br /&gt;
&lt;br /&gt;
There seems to be a few alternative source of u-blox GPS out there. They are considerably cheaper then the samples u-blox offers (at least in america). We didn't buy from these sources yet. Do not take this as a recommandation, we do not know the level of service they offer, etc.&lt;br /&gt;
&lt;br /&gt;
If you do order from any of them, please update this page with your feedback.&lt;br /&gt;
&lt;br /&gt;
Here's a few link worth exploring:&lt;br /&gt;
*http://www.rfdesign.co.za/pages/5645456/Products/GPS-Products/Antaris-4-Modules.asp&lt;br /&gt;
*http://www.comet.srl.ro/shop/info.html?ID=6195 ( Link error )&lt;br /&gt;
*http://www.expedienttech.com/product.htm  ( Singapore ) &lt;br /&gt;
*http://shop.halfbase.com/index.php/cPath/22?osCsid=414472d5a544b080f9ae153fdc323798  ( B2B- min.10pcs @ $38 )&lt;br /&gt;
&lt;br /&gt;
===Standalone GPS Module from CVS===&lt;br /&gt;
The Version 1 (V1) BOM is here.. Please post any pics you might have and check this for accuracy&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/Gps_13_BOM.xls V1 BOM]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://paparazzi.enac.fr/wiki_images/TinygpsBOM.txt Eagle Parts List Output]&amp;lt;br&amp;gt;&lt;br /&gt;
If this needs fixing don't be shy, fix away.&lt;br /&gt;
&lt;br /&gt;
==GPS configuration using U-Center==&lt;br /&gt;
&lt;br /&gt;
[[Image:U-center_screencap.jpg|thumb|u-center configuration software]]&lt;br /&gt;
[http://www.u-blox.com/products/u_center.html U-Center] is a very comprehensive freeware program intended for the configuration and evaluation of u-blox receivers. &lt;br /&gt;
* [http://www.u-blox.com/products/u_center.html Download u-center]&lt;br /&gt;
&lt;br /&gt;
* Note: You must [[Compiling#USB_flashing|install the UART tunnel]] to enable direct access to the built-in GPS on the [[Tiny|Tiny]].&lt;br /&gt;
* Note: You can run u-center on Linux by installing &amp;quot;wine&amp;quot; ([http://www.winehq.org/site/download-deb Installation of Wine]) and setting up com1 as /dev/ttyUSB0 See Info on wine for &amp;quot;dosdevices&amp;quot; setup. Just download the u-setup.exe and run it with wine, follow prompts. This has been tested with Ubuntu7.10 so far.&lt;br /&gt;
* Note: You will need a driver for your FTDI cable if you run u-center on Windows, which can be found  [http://www.ftdichip.com/Drivers/D2XX.htm here].&lt;br /&gt;
The u-blox and Tiny UARTs both operate at 3.3V TTL levels and are 5V TTL tolerant.  You must use a level shifter such as the common MAX232 to connect these devices to a standard PC serial port.  The easiest and most recommended method is to connect to a USB port instead of serial with the $20 [http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm FTDI USB-TTL converter cable] available from Digikey, Mouser, or direct from FTDI.  Other similar converters are available from [http://www.pololu.com/products/pololu/0391/ pololu] / [http://www.sparkfun.com/commerce/product_info.php?products_id=199 sparkfun] or [http://shop.halfbase.com/product_info.php/products_id/54 Halfbase].  A stand-alone GPS such as the SAM-LS will require clean 3.3V/50mA power and a common ground with the TTL converter.&lt;br /&gt;
&lt;br /&gt;
* U-blox occasionally releases firmware updates.  Log on to the u-blox website using ''paparazzi'' for username &amp;amp; password to view or download the latest firmware images.  There have 'never' been any updates released for the Antaris-4 series used in the Tiny.&lt;br /&gt;
&lt;br /&gt;
Start U-center and choose your com port from the pull down list under the connect button near the top left corner of the window. Choose your baudrate from the pull down box to the right of the connect button or select the auto-baud button to the right of that.  U-blox default is 9600 baud.  This must be changed to 19200 or higher to accomodate the 4Hz update rate.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:U-center_buttons.jpg|connect, baud, and autobaud buttons]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Uploading the Configuration File===&lt;br /&gt;
Download the appropriate configuration file below and use u-center to load in onto your receiver. Under the ''Tools'' menu, choose ''GPS configuration''.  Be sure the box 'Store configuration into BBR/Flash' is checked and hit the button ''File&amp;gt;&amp;gt;GPS''.  A few errors and retries are normal, but a significant number of errors may indicate a poor connection and the software will notify you if it is unable to send all the data successfully.&lt;br /&gt;
* [[Media:Tiny_LEA-4P-v6.zip|LEA-4P]]&lt;br /&gt;
* [[Media:Tim-LL-V5.zip|TIM-LL]]&lt;br /&gt;
* [http://paparazzi.enac.fr/wiki_images/Tiny_LEA-5H-v5.txt LEA-5H (For Use w/ Firmware V5)]&lt;br /&gt;
&lt;br /&gt;
===Manual Configuration===&lt;br /&gt;
If you prefer to setup your receiver manually or have a model not listed above, here are instructions to configure your receiver in u-center.&lt;br /&gt;
Open the message window (menu View-&amp;gt;messages view) to start the configuration process by changing the following settings:&lt;br /&gt;
&lt;br /&gt;
====LEA-4P====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RXM(Receiver Manager) - change '''GPS Mode''' to '''3 - Auto''' (Enabling faster bootup only if signal levels are very good)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 7. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 8. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSUTM, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 9. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
====LEA-5H====&lt;br /&gt;
&lt;br /&gt;
 1. Right Click on the '''NMEA''' Icon and choose '''disable child'''&lt;br /&gt;
 2. Choose UBX-&amp;gt;CFG-&amp;gt;NAV2(Navigation 2) - set it to use '''Airborne 4G''' (tells the Kalman filter to expect significant changes in direction)&lt;br /&gt;
 3. UBX-&amp;gt;CFG-&amp;gt;PRT - set '''USART1''' to '''38400bps''' (must match the value in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 4. Change the baudrate of U-Center to 38400bps if the connection is lost at this point&lt;br /&gt;
 5. UBX-&amp;gt;CFG-&amp;gt;RATE(Rates) - change the '''Measurement Period''' to '''250ms''' (4 Hz position updates)&lt;br /&gt;
 6. UBX-&amp;gt;CFG-&amp;gt;SBAS : '''Disable''' (SBAS appears to cause occasional severe altitude calcuation errors)&lt;br /&gt;
 7. UBX-&amp;gt;NAV (not UBX-&amp;gt;CFG-&amp;gt;NAV): double click on '''POSLLH, SOL, STATUS, SVINFO, VELNED.''' They should change from grey to black&lt;br /&gt;
 (add the flag -DGPS_USE_LATLONG in your [[Airframe_Configuration#Hardware_definitions_-_Makefile|Airframe file]])&lt;br /&gt;
 8. UBX-&amp;gt;CFG-&amp;gt;CFG : '''save current config''', click '''&amp;quot;send&amp;quot;''' in the lower left corner to permanently save these settings to the receiver &lt;br /&gt;
&lt;br /&gt;
* Cycle the power and verify that the new configuration was saved&lt;br /&gt;
* To reset the receiver to the factory defaults go to ''UBX-&amp;gt;CFG-&amp;gt;CFG'', select 'Revert to default configuration', and click ''Send'' at the bottom left corner.  To permanently save these values choose 'Save current configuration' and click ''Send''.&lt;br /&gt;
* To backup the configuration to a file on your PC: under the tools menu, choose GPS configuration, then click GPS&amp;gt;&amp;gt;file.  This file can be re-loaded in a similar manner to configure additional identical receivers.  Be sure the box 'Store configuration into BBR/Flash' is checked when reloading a configuration file to make the changes permanent.&lt;br /&gt;
* To update the firmware on a LEA-5H get u-center &amp;gt;= 5.03, revert the GPS receiver to the default configuration, get an appropriate image from u-blox (fitting your receivers serial number), find the flash identification flash.txt file in the u-center install directory and be prepared to wait a long time.&lt;br /&gt;
&lt;br /&gt;
#NOTE: If you have a Tiny with LEA-5H module you must use u-center and manually setup the parameters as shown above (at least switch to 38400 baud manually before transferring the configuration file).&lt;br /&gt;
#NOTE: POSUTM is not available on LEA-5H. Instead, use POSLLH. Additionally, add the flag -DGPS_USE_LATLONG in the makefile section of the airframe xml file.&lt;br /&gt;
&lt;br /&gt;
===Reset to Default Settings===&lt;br /&gt;
The GPS module can be reset to its original default settings by pulling BOOT_INT high(3.3V) during a power cycle ([http://www.u-blox.com/customersupport/gps.g4/ANTARIS4_Modules_SIM(GPS.G4-MS4-05007).pdf Antaris Manual, p. 122]). It may be required after a wrong firmware upgrade or a bad configuration change.&lt;br /&gt;
&lt;br /&gt;
===DGPS (Differential GPS)===&lt;br /&gt;
Differential GPS is any method of improving GPS accuracy by comparing the GPS-indicated position of a nearby location to the known value and transmitting any error to the mobile unit.  DGPS was originally created as a means of bypassing the deliberately introduced inaccuracies in civilian GPS signals.  The original method used low frequency ground radios to relay correction data to the mobile unit and is still used today at airports, shipping ports, and even individual farms.  Satellite Based Augmentation System (SBAS) is a modern form of DGPS where the ground stations relay correction data to a GEO-Stationary satellite, which then relays it to the mobile unit on standard GPS frequencies eliminating the need for a separate radio reciever.  SBAS is currently available in 3 regions, [http://www.environmental-studies.de/Precision_Farming/EGNOS_WAAS__E/3E.html WAAS, EGNOS, and MSAS] though only WAAS is officially operational.  U-blox receivers support all common varieties of DGPS [http://www.u-blox.com/customersupport/gps.g3/ENGOS_Issues(GPS.G3-CS-04009).pdf read the u-blox SBAS application note].&lt;br /&gt;
* It is important to note that DGPS methods only improve the ''accuracy'' of the position calculation, not the ''precision''.  Since Paparazzi navigation is typically performed relative to the power-on location, any static error that could be corrected with DGPS is irrelevant.&lt;br /&gt;
&lt;br /&gt;
====WAAS issues====&lt;br /&gt;
WAAS has been officially operational and &amp;quot;suitable for safety-of-life applications&amp;quot; since 2003.  The default setting of all u-blox receivers ignores WAAS correction data and only uses the WAAS satellites for regular navigation like any other satellite.  U-blox recommends further limiting this setting to exclude any stray EGNOS/MSAS satellites in North America, and completely disabling all SBAS functions for use outside North America.  In 2006 one formerly reliable Paparazzi aircraft began having great GPS problems and displaying very erratic altitude calculations, disabling WAAS immediately resolved the issue and this phenomenon was recreated several times for verification.  Turns out a new WAAS satellite was being added to the system and the others were being moved that week for better distribution.  Our advice is to completely disable WAAS.&lt;br /&gt;
&lt;br /&gt;
====EGNOS issues====&lt;br /&gt;
EGNOS is officially in &amp;quot;testing mode&amp;quot; and no claims of reliability are made.  The [http://www.u-blox.com/customersupport/faq_antaris u-blox FAQ] states the following:&lt;br /&gt;
* &amp;quot;Do you see issues with EGNOS?&amp;quot;&lt;br /&gt;
*:&amp;quot;Yes. Although the data transmitted by the EGNOS satellites are usually good and valuable (e.g. during the solar storms in autumn 2003), they can sometimes be very unreliable, for example when system tests are performed. As an example, u-blox has noticed erroneous range information (up to three hundred kilometers) on various EGNOS satellite over the last few months [2006].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Further Reading===&lt;br /&gt;
&lt;br /&gt;
The u-blox [http://www.u-blox.com/customersupport/antaris4_doc.html System Integration Manual] covers a lot of GPS theory as well as product specific topics.&lt;br /&gt;
&lt;br /&gt;
== Antenna options for the Tiny and Paparazzi GPS units ==&lt;br /&gt;
&lt;br /&gt;
The '''[[Tiny|Tiny 1.1]]''' features a 28mm square ground plane intended to be centered below the [[#Sangshin_13mm_Patch|Sangshin 13mm patch antenna]].  Much better performance has been seen with the 18mm antennas and an augmented ground plane.  The ground plane is a critical part of the antenna affecting not only the gain and polarization characteristics but also the center frequency of the system.  Users are advised to expand the ground plane to approximately 36mm square, centered on the ceramic portion of the antenna (not the pin).  This can be done with copper foil soldered to the vias of the existing ground plane.&lt;br /&gt;
[[image:gps_antenna_comparison.jpg|thumb|500px|left|SAM-LS 25mm / Emtac 20mm / Emtac 18mm / Sangshin 18mm / Sangshin 13mm / Sarantel P2]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 18mm Patch ===&lt;br /&gt;
[[image:Sangshin_18mm.jpg|thumb|Sangshin 18mm x 4mm 1580Mhz]]&lt;br /&gt;
The Sangshin KSA-ST1580MS18 antenna has proven to offer the best performance of the currently available options.  These are available from any Sanshin distributor such as [http://www.rfmw.com rfmw] ([http://www.rfmw.com/PortalProductDetail.aspx?ProdId=232436&amp;amp;fmt=1 here]) and cost approximately $6.50/ea. in small quantities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== EMTAC 18mm Patch ===&lt;br /&gt;
[[image:Emtac_18mm.jpg|thumb|Emtac 18mm x 4mm 1580Mhz]]&lt;br /&gt;
Offering identical performance to the Sangshin in a less attractive package is the Emtac 18mm antenna.  The part number for the standard 1580MHz 18x18x4mm is ANA1580T18D40 and is not listed on their website.  Other frequencies are available on a special order basis and the 1584Mhz has proven to outperform all other frequencies when used with a 36mm ground plane and no radome.  The use of a radome (any material covering the antenna) or a larger ground plane should theoretically favor even higher frequencies.&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.transplantgps.com/modules.html TransplantGPS] in MN, USA.  The 1580Mhz models are usually available at a cost of $3.55ea but there may be a minimum order requirement of ~$50 USD.&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=43 PPZUAV] ~$10.00 USD (no min. order requirement)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sangshin 13mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Sangshin_13mm_onboard.jpg|thumb|Sangshin 13mm x 4mm 1580Mhz]]&lt;br /&gt;
Part of interest: '''[http://www.sangshinec.com/eng/patch_spec.htm KSA-ST1580MS13]'''&lt;br /&gt;
&lt;br /&gt;
The Tiny 0.99 (not 0.9) and 1.1 were designed around this antenna but users are advised to install 18mm units for better performance.&lt;br /&gt;
&lt;br /&gt;
Size: 13 x 13 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
Center Frequency: 1580 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
Bandwidth: 5 MHz&amp;lt;br/&amp;gt;&lt;br /&gt;
@Fo: -15 dB&amp;lt;br/&amp;gt;&lt;br /&gt;
GAIN (dBi): 0 dBi&amp;lt;br/&amp;gt;&lt;br /&gt;
Ground Plane: 50 x 50 mm&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Available From'''&lt;br /&gt;
&lt;br /&gt;
[http://www.systroninc.com/ Systronic INC.] - Alberta, Canada&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emtac 20mm Patch ===&lt;br /&gt;
&lt;br /&gt;
[[image:Salvaged_20mm_onboard.jpg|thumb|Emtac 20mm x 4mm]]&lt;br /&gt;
The Tiny 0.9 was designed around this 1583Mhz antenna and performed extremely well.  Emtac has replaced this with an 18mm model that they claim offers even better performance.&lt;br /&gt;
&lt;br /&gt;
* Obsolete&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sarantel GeoHelix-P2 ===&lt;br /&gt;
&lt;br /&gt;
[[image:Geohelix-p2.jpg|thumb|Sarantel Geohelix P-2 1575Mhz]]&lt;br /&gt;
&lt;br /&gt;
This antenna is popular among UAV designers due to it's natural rejection of other radio frequencies such as those originating from the modem or video system as well as it's improved rejection of signals reflected from the ground.  U-blox recommends this antenna and features it in their [http://www.u-blox.com/news/sarantel.html reference design].  Frequency and polarization are not dependent upon ground plane geometry so this antenna is sold only in the true GPS frequency of 1575Mhz.&lt;br /&gt;
The geometry makes this antenna very inconvenient to mount, especially in an airplane.  Some very non-scientific testing has been done with one of these antennas connected to a Tiny with a short length of 50 Ohm coax above a 120mm square of ungrounded aluminum foil and performance was adequate.  The helical design should theoretically outperform a patch in the air, but not on the ground, so any organized comparison will be difficult.  Possibly the most important aspect of this antenna is it's natural RFI filtering, which should be evaluated further.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sarantel.com/products/geohelix-p2 GeoHelix-P2] Passive GPS Antenna [[http://www.sarantel.com/downloads/specifications/geohelix-p2.pdf datasheet]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Availability'''&lt;br /&gt;
&lt;br /&gt;
* Sarantel @ cost of approx $18 USD each (active versions available for ~$40)&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
* [http://www.onefastdaddy.com/catalog/product_info.php?products_id=40&amp;amp;osCsid=709e839698120c5cd324072b77d67cc1 PPZUAV]&lt;/div&gt;</summary>
		<author><name>Danstah</name></author>
	</entry>
</feed>