<?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=DirkDokter</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=DirkDokter"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/DirkDokter"/>
	<updated>2026-05-04T23:02:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:RawSdWithDelayOnSd.png&amp;diff=13313</id>
		<title>File:RawSdWithDelayOnSd.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:RawSdWithDelayOnSd.png&amp;diff=13313"/>
		<updated>2012-10-08T20:33:05Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: uploaded a new version of &amp;quot;File:RawSdWithDelayOnSd.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:RawSdWithDelayOnSd.png&amp;diff=13312</id>
		<title>File:RawSdWithDelayOnSd.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:RawSdWithDelayOnSd.png&amp;diff=13312"/>
		<updated>2012-10-08T20:20:31Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13311</id>
		<title>NRAFS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13311"/>
		<updated>2012-10-08T11:21:37Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* A data block */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Not Really a File System  = &lt;br /&gt;
== Criteria ==&lt;br /&gt;
* Should be usable on flash memory: don't overwrite the same blocks over and over.&lt;br /&gt;
* Fast&lt;br /&gt;
* Should miss at most one block of data when a write operation is interrupted. (For example when a logger without dedicated battery is disconnected.)&lt;br /&gt;
* Table-like logging: a table header and a rows with data, separated in columns.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
[[File:NrafsOverview.png]]&lt;br /&gt;
&lt;br /&gt;
== First block of disk, the &amp;quot;partition table&amp;quot; ==&lt;br /&gt;
The first block (512 Bytes) of the disk only has to be written once. It has an 8-bytes header which indicates that the disk is 'formatted' in NRAFS format. The remaining 504 Bytes are reserved for future use, and will store usage information about the SD-card's blocks.&lt;br /&gt;
&lt;br /&gt;
== First block of log, the &amp;quot;table header&amp;quot; ==&lt;br /&gt;
The first block of a log can be seen as a table header. It consists off:&lt;br /&gt;
* A 16-byte header to indicate the block type.&lt;br /&gt;
* 16 bytes containing the airframe's MD5 sum.&lt;br /&gt;
* 1 byte containing the airframe ID.&lt;br /&gt;
* 5 bytes describing the reference (start) time of the log: 4 bytes descibe the time in seconds since Unix Epoch, and 1 byte indicates the 1/255th seconds.&lt;br /&gt;
(total 38 bytes)&lt;br /&gt;
&lt;br /&gt;
And per field:&lt;br /&gt;
* 6 bytes describing the name of the field in ASCII.&lt;br /&gt;
* 1 byte describing the data type: 2 bits indicate the size of the field (8/16/24/32 bits); another bit indicates if it is a float or an interger; a fourth bit indicates if it is a signed or unsigned type.&lt;br /&gt;
* 1 byte containing the XOR checksum of this field description.&lt;br /&gt;
(total 8 bytes per field description)&lt;br /&gt;
&lt;br /&gt;
When 59 fields are used, this would take 59*8=472 Bytes. As 38 Bytes are used for the header, there are still 512-472-38=2 Bytes available for a CRC checksum of this block.&lt;br /&gt;
&lt;br /&gt;
== A data block ==&lt;br /&gt;
A data block simply consists of concatenated rows of binary data. &lt;br /&gt;
  FieldA FieldB FieldC FieldD FieldA FieldB FieldC FieldD&lt;br /&gt;
No row seperator characters are used. We have to see how well that turns out. We could easily add a CRC per block as the STM32F10x and STM32F4 have hardware CRC-checksum generation.&lt;br /&gt;
&lt;br /&gt;
== Where to start a new log? ==&lt;br /&gt;
Blocks are read starting from the second block of the SD card, until a block is found which does not start with the 16-byte &amp;quot;start of log&amp;quot; header. A&lt;br /&gt;
[[File:NrafsFindFreeLogSpace.png]]&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13310</id>
		<title>NRAFS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13310"/>
		<updated>2012-10-08T10:32:38Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Where to start a new log? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Not Really a File System  = &lt;br /&gt;
== Criteria ==&lt;br /&gt;
* Should be usable on flash memory: don't overwrite the same blocks over and over.&lt;br /&gt;
* Fast&lt;br /&gt;
* Should miss at most one block of data when a write operation is interrupted. (For example when a logger without dedicated battery is disconnected.)&lt;br /&gt;
* Table-like logging: a table header and a rows with data, separated in columns.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
[[File:NrafsOverview.png]]&lt;br /&gt;
&lt;br /&gt;
== First block of disk, the &amp;quot;partition table&amp;quot; ==&lt;br /&gt;
The first block (512 Bytes) of the disk only has to be written once. It has an 8-bytes header which indicates that the disk is 'formatted' in NRAFS format. The remaining 504 Bytes are reserved for future use, and will store usage information about the SD-card's blocks.&lt;br /&gt;
&lt;br /&gt;
== First block of log, the &amp;quot;table header&amp;quot; ==&lt;br /&gt;
The first block of a log can be seen as a table header. It consists off:&lt;br /&gt;
* A 16-byte header to indicate the block type.&lt;br /&gt;
* 16 bytes containing the airframe's MD5 sum.&lt;br /&gt;
* 1 byte containing the airframe ID.&lt;br /&gt;
* 5 bytes describing the reference (start) time of the log: 4 bytes descibe the time in seconds since Unix Epoch, and 1 byte indicates the 1/255th seconds.&lt;br /&gt;
(total 38 bytes)&lt;br /&gt;
&lt;br /&gt;
And per field:&lt;br /&gt;
* 6 bytes describing the name of the field in ASCII.&lt;br /&gt;
* 1 byte describing the data type: 2 bits indicate the size of the field (8/16/24/32 bits); another bit indicates if it is a float or an interger; a fourth bit indicates if it is a signed or unsigned type.&lt;br /&gt;
* 1 byte containing the XOR checksum of this field description.&lt;br /&gt;
(total 8 bytes per field description)&lt;br /&gt;
&lt;br /&gt;
When 59 fields are used, this would take 59*8=472 Bytes. As 38 Bytes are used for the header, there are still 512-472-38=2 Bytes available for a CRC checksum of this block.&lt;br /&gt;
&lt;br /&gt;
== A data block ==&lt;br /&gt;
A data block simply consists of concatenated rows of binary data. &lt;br /&gt;
  FieldA FieldB FieldC FieldD FieldA FieldB FieldC FieldD&lt;br /&gt;
No row seperator characters are used. We have to see how well that turns out. We could easily add a CRC per block as the STM32F10x and STM32F4 have hardware CRC-checksum generation.&lt;br /&gt;
A log contains a minimum of 6 data blocks. &lt;br /&gt;
&lt;br /&gt;
== Where to start a new log? ==&lt;br /&gt;
Blocks are read starting from the second block of the SD card, until a block is found which does not start with the 16-byte &amp;quot;start of log&amp;quot; header. A&lt;br /&gt;
[[File:NrafsFindFreeLogSpace.png]]&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:NrafsFindFreeLogSpace.png&amp;diff=13309</id>
		<title>File:NrafsFindFreeLogSpace.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:NrafsFindFreeLogSpace.png&amp;diff=13309"/>
		<updated>2012-10-08T10:31:57Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13308</id>
		<title>NRAFS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13308"/>
		<updated>2012-10-07T18:21:55Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Not Really a File System  = &lt;br /&gt;
== Criteria ==&lt;br /&gt;
* Should be usable on flash memory: don't overwrite the same blocks over and over.&lt;br /&gt;
* Fast&lt;br /&gt;
* Should miss at most one block of data when a write operation is interrupted. (For example when a logger without dedicated battery is disconnected.)&lt;br /&gt;
* Table-like logging: a table header and a rows with data, separated in columns.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
[[File:NrafsOverview.png]]&lt;br /&gt;
&lt;br /&gt;
== First block of disk, the &amp;quot;partition table&amp;quot; ==&lt;br /&gt;
The first block (512 Bytes) of the disk only has to be written once. It has an 8-bytes header which indicates that the disk is 'formatted' in NRAFS format. The remaining 504 Bytes are reserved for future use, and will store usage information about the SD-card's blocks.&lt;br /&gt;
&lt;br /&gt;
== First block of log, the &amp;quot;table header&amp;quot; ==&lt;br /&gt;
The first block of a log can be seen as a table header. It consists off:&lt;br /&gt;
* A 16-byte header to indicate the block type.&lt;br /&gt;
* 16 bytes containing the airframe's MD5 sum.&lt;br /&gt;
* 1 byte containing the airframe ID.&lt;br /&gt;
* 5 bytes describing the reference (start) time of the log: 4 bytes descibe the time in seconds since Unix Epoch, and 1 byte indicates the 1/255th seconds.&lt;br /&gt;
(total 38 bytes)&lt;br /&gt;
&lt;br /&gt;
And per field:&lt;br /&gt;
* 6 bytes describing the name of the field in ASCII.&lt;br /&gt;
* 1 byte describing the data type: 2 bits indicate the size of the field (8/16/24/32 bits); another bit indicates if it is a float or an interger; a fourth bit indicates if it is a signed or unsigned type.&lt;br /&gt;
* 1 byte containing the XOR checksum of this field description.&lt;br /&gt;
(total 8 bytes per field description)&lt;br /&gt;
&lt;br /&gt;
When 59 fields are used, this would take 59*8=472 Bytes. As 38 Bytes are used for the header, there are still 512-472-38=2 Bytes available for a CRC checksum of this block.&lt;br /&gt;
&lt;br /&gt;
== A data block ==&lt;br /&gt;
A data block simply consists of concatenated rows of binary data. &lt;br /&gt;
  FieldA FieldB FieldC FieldD FieldA FieldB FieldC FieldD&lt;br /&gt;
No row seperator characters are used. We have to see how well that turns out. We could easily add a CRC per block as the STM32F10x and STM32F4 have hardware CRC-checksum generation.&lt;br /&gt;
A log contains a minimum of 6 data blocks. &lt;br /&gt;
&lt;br /&gt;
== Where to start a new log? ==&lt;br /&gt;
Blocks are read starting from the second block of the SD card, until a block is found which does not start with the 16-byte &amp;quot;start of log&amp;quot; header. A&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13307</id>
		<title>NRAFS</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=NRAFS&amp;diff=13307"/>
		<updated>2012-10-07T18:04:14Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: Created page with &amp;quot;= Not Really a File System  =  == Criteria == * Should be usable on flash memory: don't overwrite the same blocks over and over. * Fast * Should miss at most one block of data wh…&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Not Really a File System  = &lt;br /&gt;
== Criteria ==&lt;br /&gt;
* Should be usable on flash memory: don't overwrite the same blocks over and over.&lt;br /&gt;
* Fast&lt;br /&gt;
* Should miss at most one block of data when a write operation is interrupted. (For example when a logger without dedicated battery is disconnected.)&lt;br /&gt;
* Table-like logging: a table header and a rows with data, separated in columns.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
[[File:NrafsOverview.png]]&lt;br /&gt;
&lt;br /&gt;
== First block of disk, the &amp;quot;partition table&amp;quot; ==&lt;br /&gt;
The first block (512 Bytes) of the disk only has to be written once. It has an 8-bytes header which indicates that the disk is 'formatted' in NRAFS format. The remaining 504 Bytes are reserved for future use, and will store usage information about the SD-card's blocks.&lt;br /&gt;
&lt;br /&gt;
== First block of log, the &amp;quot;table header&amp;quot; ==&lt;br /&gt;
The first block of a log can be seen as a table header. It consists off:&lt;br /&gt;
* A 16-byte header to indicate the block type.&lt;br /&gt;
* 16 bytes containing the airframe's MD5 sum.&lt;br /&gt;
* 1 byte containing the airframe ID.&lt;br /&gt;
* 5 bytes describing the reference (start) time of the log: 4 bytes descibe the time in seconds since Unix Epoch, and 1 byte indicates the 1/255th seconds.&lt;br /&gt;
(total 38 bytes)&lt;br /&gt;
&lt;br /&gt;
And per field:&lt;br /&gt;
* 6 bytes describing the name of the field in ASCII.&lt;br /&gt;
* 1 byte describing the data type: 2 bits indicate the size of the field (8/16/24/32 bits); another bit indicates if it is a float or an interger; a fourth bit indicates if it is a signed or unsigned type.&lt;br /&gt;
* 1 byte containing the XOR checksum of this field description.&lt;br /&gt;
(total 8 bytes per field description)&lt;br /&gt;
&lt;br /&gt;
When 59 fields are used, this would take 59*8=472 Bytes. As 38 Bytes are used for the header, there are still 512-472-38=2 Bytes available for a CRC checksum of this block.&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:NrafsOverview.png&amp;diff=13306</id>
		<title>File:NrafsOverview.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:NrafsOverview.png&amp;diff=13306"/>
		<updated>2012-10-07T17:37:37Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video&amp;diff=13232</id>
		<title>Video</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video&amp;diff=13232"/>
		<updated>2012-09-26T10:06:57Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* On-Screen Display (OSD) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The main application for small UAVs is video. There are various means to take pictures from the aircraft and transfer them to the ground.&lt;br /&gt;
&lt;br /&gt;
=Analog Video=&lt;br /&gt;
&lt;br /&gt;
The easiest and most practical way is to transfer video in an analog way either as NTSC or PAL signal. The picture is taken by a camera, put to an analog signal and sent through an FM modulated transmitter.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
Affordable CCD cameras tend to be better in dynamic range and noise than same price CMOS cameras. On the other side CMOS ones do need less energy and they are more likely to run with 5V.&lt;br /&gt;
&lt;br /&gt;
Small digital handheld cameras do have a much better optical system and sensor than stand alone cameras. There are ongoing efforts to reduce size and weight to be able to implement them.&lt;br /&gt;
&lt;br /&gt;
=== Recommended cameras ===&lt;br /&gt;
A good selection of miniature cameras can be found at [http://www.microcameras.com/micro_cameras.htm Microcameras.com]. If you´re looking for Panasonic KX-xxx cameras find them here: [http://rangevideo.com/index.php?main_page=index&amp;amp;cPath=6 RangeVideo].&lt;br /&gt;
&lt;br /&gt;
[[Image:micro_clr_cmos_02.jpg|thumb|left|Mini Color CMOS Camera with Pinhole Lens&amp;lt;br&amp;gt;TV Lines: 380&amp;lt;br&amp;gt;Lux: 1.5 at F1.2&amp;lt;br&amp;gt;Shutter: 1/50-1/63000&amp;lt;br&amp;gt;Power: 7-12V DC, 25mA (bypass regulator for 5V use)&amp;lt;br&amp;gt;Dim: 12mm x 12mm x 14mm&amp;lt;br&amp;gt;Weight: 3.3g (w/o cable)]]&lt;br /&gt;
[[Image:Cam_up.jpg|thumb|left|Camera position for upright pictures (crystal up). The blank copper is ground, blue is signal and red is 7V supply.]]&lt;br /&gt;
[[Image:Cam_up_5v.jpg|thumb|left|Solder the red cable to the other side of the capacitor connected to ground for 5V supply.]]&lt;br /&gt;
* Simple, lightweight camera with good performance&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Panasonic KX-141 (a.k.a. Pacific Corp. PC-2005) CCD====&lt;br /&gt;
[[Image:PC-2005_COLOR_CAMERA.JPG|thumb|left|Pacific Corp. PC-2005 CCD&amp;lt;br&amp;gt;5V supply, signal is yellow&amp;lt;br&amp;gt;12g]]&lt;br /&gt;
* Available at [http://www.blackwidowav.com/productcameras.html Black Widow AV]&lt;br /&gt;
* Available here too [http://rangevideo.com/index.php?main_page=index&amp;amp;cPath=6 RangeVideo]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pan/tilt mechanism ===&lt;br /&gt;
For help in building a pan/tilt camera mechanism see our [[Pan_Tilt_Camera|pan/tilt camera]] page.&lt;br /&gt;
Code for driving such as system is in &amp;lt;tt&amp;gt;/sw/airborne/cam.c&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Transmitter ==&lt;br /&gt;
There are various FM transmitters available at 10mW, 50mW, 200mW or even more. Keep them as far away from the GPS receiver/antenna as possible as they might cause severe interference. For the competitions mostly 50mW or 200mW transmitters have been used.&lt;br /&gt;
&lt;br /&gt;
Standard 2.4GHz Wi-Fi antennas can be used as lightweight dipole antennas by breaking the plastic case and removing everything except the coaxial cable and the counter balance soldered to the shield.&lt;br /&gt;
&lt;br /&gt;
== Receiver ==&lt;br /&gt;
The most important thing about the receiver is a good antenna (we used a 2.4GHz Yagi (532-4474 from RS components) at some competitions, also some patch antennas). The analog receiver modules itself do not seem to differ very much.&lt;br /&gt;
&lt;br /&gt;
== Display ==&lt;br /&gt;
CRT television sets seem to have the best picture. It blurs out the pixels that the human eye can see and the eye is very good at adapting to it. We used them whenever transport was not an issue. If not possible, small TFT video screens intended for car entertainment were used.&lt;br /&gt;
&lt;br /&gt;
== Digital Display ==&lt;br /&gt;
[[Image:Pollin_usb_r1.jpg|thumb|left|Pollin USB R1 video receiver/digitizer]]&lt;br /&gt;
There is a TFT screen in the ground station, so why not use it? For that the picture does need to be digitized and feed into the laptop. In the early days we used a [http://www.plextor.com/english/products/M402U.htm Plextor M402U] to digitize and MPEG4 compress the analog video. It was then recorded or decompressed and displayed on screen. The drawback on this nice box is the delay you get through compressing/decompressing plus the size and the need for an external video receiver and power supply. A lot easier to use is the [http://www.pollin.de/shop/shop.php?cf=detail.php&amp;amp;pg=NQ==&amp;amp;a=NzM4OTE0OTk= Pollin USB-R1] which includes an analog video receiver and an USB (High Speed) digitizer. It does not need any external component or power supply.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Plextor M402U===&lt;br /&gt;
This box not really recommended any more. With a recent kernel and driver patches from the Paparazzi cvs it should be possible to get it to run.&lt;br /&gt;
&lt;br /&gt;
===Pollin USB R1===&lt;br /&gt;
&lt;br /&gt;
The [http://www.pollin.de/shop/dt/NzM4OTE0OTk-/Haustechnik/Sicherheitstechnik/Kameras/USB_Funkkamera_2_4_GHz.html Pollin USB-R1] requires no additional software drivers since the release of Ubuntu 10.04 (Lucid Lynx). It now works out of the box. &lt;br /&gt;
&lt;br /&gt;
====Watching Video====&lt;br /&gt;
&lt;br /&gt;
Watch video with (maybe adjust the NORM to PAL or whatever your cameras standard is):&lt;br /&gt;
&lt;br /&gt;
 mplayer tv:// -tv driver=v4l2:width=320:height=240:norm=NTSC:input=0:device=/dev/video0:noaudio&lt;br /&gt;
&lt;br /&gt;
====LinuxTv (old driver)====&lt;br /&gt;
&lt;br /&gt;
http://www.linuxtv.org/wiki/index.php/Em28xx_devices&lt;br /&gt;
&lt;br /&gt;
 shell&amp;gt; hg clone http://linuxtv.org/hg/v4l-dvb&lt;br /&gt;
&lt;br /&gt;
 shell&amp;gt; cd v4l-dvb&lt;br /&gt;
 shell&amp;gt; make&lt;br /&gt;
 shell&amp;gt; sudo make install&lt;br /&gt;
&lt;br /&gt;
 shell&amp;gt; mplayer tv:// -tv driver=v4l2:width=320:height=240:norm=PAL:input=1:device=/dev/video0:noaudio -vo x11&lt;br /&gt;
&lt;br /&gt;
====Linux Kernel 2.18 (old driver)====&lt;br /&gt;
Some work is needed to get it to run with Linux as it needs a recent and patched version of the em28xx driver (this will get easier as the patches are integrated to v4l). You need some version control system as well as the kernel headers and video encoders, do as root:&lt;br /&gt;
&lt;br /&gt;
 aptitude install mercurial linux-headers-$(uname -r) libxvidcore4 libxvidcore-dev mplayer&lt;br /&gt;
&lt;br /&gt;
Get the video4linux drivers using the (v4l) special version control system, as user:&lt;br /&gt;
&lt;br /&gt;
 hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel&lt;br /&gt;
&lt;br /&gt;
Copy over the two changed files &amp;quot;em28xx-cards.c&amp;quot; and &amp;quot;em28xx.h&amp;quot; from sw/in_progress/videolizer/v4l-dvb-experimental/ to the v4l-dvb-kernel/linux/drivers/media/video/em28xx/ folder. Then build v4l-dvb as user:&lt;br /&gt;
&lt;br /&gt;
 cd v4l-dvb-kernel&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
And install as root (you have to do this each time you update the kernel):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Add the follwing to /etc/modprobe.d/emb28xx (as the Pollin USB-R1 does not have an EEPROM for auto detect.) &lt;br /&gt;
&lt;br /&gt;
 options em28xx card=62&lt;br /&gt;
&lt;br /&gt;
====Linux Kernel 2.26 (old driver)====&lt;br /&gt;
The changes to the emb28xx driver have now been [http://mcentral.de/hg/~mrec/em28xx-new/rev/94d8ffd2d696 integrated upstream]. To build the driver, follow the [http://mcentral.de/wiki/index.php5/Installation_Guide instructions on the emb28xx driver website.]&lt;br /&gt;
&lt;br /&gt;
Add the follwing to /etc/modprobe.d/emb28xx (as the Pollin USB-R1 does not have an EEPROM for auto detect.) &lt;br /&gt;
&lt;br /&gt;
 options em28xx card=76&lt;br /&gt;
&lt;br /&gt;
===Using separate Frame Grabber and Video Receiver===&lt;br /&gt;
&lt;br /&gt;
This solution provides maximum possible range, video quality and flexiblity due to modularity. Though it requires more hardware than the integrated [[Video#Pollin_USB_R1|Pollin USB R1]] solution.&lt;br /&gt;
&lt;br /&gt;
====Frame Grabber====&lt;br /&gt;
A frame grabber takes the output of any video receiver and streams it into Linux. &lt;br /&gt;
[[Image:AVerMedia_EZMaker.jpg|thumb|left|AVerMedia DVD EZMaker USB 2.0 Gold]]&lt;br /&gt;
The AVerMedia DVD EZMaker USB 2.0 Gold works well and comes with a Linux driver. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Easycap DC60+ (with Empia chip) works well and is less expensive but not as compact as the Pollin unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The video stream can be directly integrated into the GCS as described in [[GCS#Video_Plugin|Video Plugin]].&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Video Receiver====&lt;br /&gt;
&lt;br /&gt;
[[Image:YellowJacket_Pro.jpg|thumb|left|Yellowjacket Pro Video Receiver 2.4GHz]]&lt;br /&gt;
&lt;br /&gt;
This diversity receiver provides high range and video quality. Especially when connected to high gain patch antennas.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Streaming ==&lt;br /&gt;
&lt;br /&gt;
The USB video converters can be used to do live streams over the internet as seen at 24C3. We use [http://www.litech.org/spook/ spook] to receive the video data from the USB converter, compress it with MPEG4 and send it using the rtsp protocol. Spook needs some patches to work with the Pollin converter. Build it from Paparazzi cvs:&lt;br /&gt;
&lt;br /&gt;
 cd sw/in_progress/videolizer/spook&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
All encoders should be enabled. Then build it:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
and start it&lt;br /&gt;
&lt;br /&gt;
 ./spook -c spook.conf.usbraw&lt;br /&gt;
&lt;br /&gt;
Watch video through vlc from it&lt;br /&gt;
&lt;br /&gt;
 vlc rtsp://localhost:7070/webcam&lt;br /&gt;
&lt;br /&gt;
Note: a first time spook user must chose the correct video camera output format i.e. NTSC or PAL, for instance. Navigate to ~paparazzi3/sw/in_progress/videolizer/spook/spook.conf.usbraw/input VL42/InputType PAL; The CVS default is set as PAL. &lt;br /&gt;
&lt;br /&gt;
Somehow the standard Debian 4.0 (etch) mplayer does not support rtsp:// video. The debian-multimedia.org mplayer seems to work. It can be installed adding to /etc/apt/sources.list:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.debian-multimedia.org etch main&lt;br /&gt;
&lt;br /&gt;
and install with&lt;br /&gt;
&lt;br /&gt;
 aptitude install -t stable mplayer&lt;br /&gt;
&lt;br /&gt;
== Forward USB Streaming Video over a Mobile TCP/IP Link to a Remote Windows Viewer ==&lt;br /&gt;
&lt;br /&gt;
If one has installed a fully functional USB video streaming payload, as outlined above, and wishes to share the output with associates beyond the perimeter of the local gcs TFT, implement the following. &lt;br /&gt;
&lt;br /&gt;
===Modem Hardware===&lt;br /&gt;
[[Image:Vodafone_Huawei_E800_HSDPA_3G_Mobile_Data_Card.jpg|thumb|left|Vodafone mobile data card]] &lt;br /&gt;
Mobile modem choice is up to the user and ability to configure the interface to an ISP. The model described here and utilised for now is a Vodafone/Huawei E800 HSDPA 3G mobile data card. Compatible with Express Card laptops.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modem Linux Drivers===&lt;br /&gt;
[[Image:Vodafone_MC_startup_splash.jpg|thumb|left|Startup splash]]&lt;br /&gt;
Download the appropriate vodafone-mobile-connect-card-driver-for-linux for your Linux OS release at &lt;br /&gt;
[https://forge.vodafonebetavine.net/frs/?group_id=12 Forge Vodafone Betavine]. The Unbuntu Gutsy Gibbon &amp;amp; Hardy Heron version used by me can be loaded here: [https://forge.vodafonebetavine.net/frs/download.php/167/vodafone-mobile-connect-card-driver-for-linux-2.0.beta2-ubuntu-installer.run vodafone-mobile-connect-card-driver-for-linux-2.0.beta2-ubuntu-installer.run]. Right click link, choose 'save link as' to your home folder. Check the permissions tab to allow the downloaded file to run as an executable. Run file. Follow the instructions in the [https://forge.vodafonebetavine.net/frs/download.php/179/README_2.0.beta2.txt README]. &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Warning - the user is advised to install the data card in the express card slot prior to booting and turn off the wifi radio before intialising the software found in the /Applications/Internet drop down menus. Furthermore, the later procedure should be instituted before starting spook.&lt;br /&gt;
&lt;br /&gt;
The local gcs server should be ready now to transmit video as well as other data once a connection to the ISP is established. Confirm this by getting the IP address, as user:&lt;br /&gt;
&lt;br /&gt;
 ifconfig &lt;br /&gt;
&lt;br /&gt;
===Remote Client Connection Configuration===&lt;br /&gt;
[[Image:VLC_front_page.jpg|thumb|left|VLC Media Player]]&lt;br /&gt;
Windows client users will have to download VLC Media Player here: [http://www.videolan.org/ Version 0.8.6f] to view JPEG/HTTP video as defined in ~paparazzi3/sw/in_progress/videolizer/spook/spook.conf.dist&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:PuTTY_SSH_front_page.jpg|thumb|left|PuTTY basic SSH configuration]]&lt;br /&gt;
To faciltate a secure SSH TCP forward port connection from the host to the Windows client install PuTTY here: &lt;br /&gt;
[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY Download page]. Insert the gcs host Mobile IP address obtained from the remote operator via a preferred form of communication .ie. chat, email etc.in the box labelled 'Host Name (or IP address)'. Confirm Port 22 is chosen and the connection type is SSH. Expand SSH category in left panel and click 'tunnels'. See next box.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:PuTTY_SSH_port_forwarding.jpg|thumb|left|PuTTY SSH port forwarding]]&lt;br /&gt;
Tick both port forwarding options. Set Source port to '80' and destination to 'localhost:7070/webcam'. Click 'Add' and then 'Open'. See next box. &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:PuTTY_Terminal.jpg|thumb|left|PuTTY terminal logged in]]&lt;br /&gt;
The information contained within this terminal is self explanatory after a successful login. &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:VLC_open_network_stream_page.jpg|thumb|left|VLC http network stream configuration]]&lt;br /&gt;
Open VLC, click 'file', select 'open network stream' and then 'HTTP/HTTPS/FTP/MMS'. Enter 'localhost:80/webcam' in the URL box and select 'Open'. See next box.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Streaming_JPEG_HTTP_window.jpg|thumb|left|VLC Streaming jpeg/http window]]&lt;br /&gt;
Hopefully, whatever the on board camera is viewing is faithfully reproduced in the window. Unfortunately, the 'Print Screen' function fails to capture the live video output.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Digital Video =&lt;br /&gt;
&lt;br /&gt;
A fast digital telemetry link would be needed to send usable digital video. There are [http://www.comedia.com.cn/sm/C328.pdf serial bus cameras] that could be hooked up to the autopilot and the image data be sent through telemetry.&lt;br /&gt;
&lt;br /&gt;
A full integration of a [http://www.gumstix.com/store/product_info.php?products_id=254 Caspa FS camera] on a [[Lisa]]/L board is currently under [[Dev/Caspa|development]].&lt;br /&gt;
&lt;br /&gt;
= On-Screen Display (OSD) =&lt;br /&gt;
&lt;br /&gt;
There are some situations where on-board data needs to be overlayed on the video stream. Examples include:&lt;br /&gt;
* Alternative display of on-board data without a telemetry link and GCS;&lt;br /&gt;
* In Australia, 2.4GHz analogue video links with OSD are considered as &amp;quot;telemetry transmitters&amp;quot; allowing 1000mW EIRP emission without a licence; or&lt;br /&gt;
* Sending a callsign when operating under an amateur licence.&lt;br /&gt;
&lt;br /&gt;
A number of OSD devices exist.&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]] [[Category:User_Documentation]]&lt;br /&gt;
&lt;br /&gt;
== IVY to Mavlink to UDP to UART ==&lt;br /&gt;
  $ mavlink-ivy-interface 127.0.0.1&lt;br /&gt;
  $ stty -F /dev/ttyUSB1 57600&lt;br /&gt;
  $ nc -l -u 127.0.0.1 14550 &amp;gt; /dev/ttyUSB1&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=JTAG&amp;diff=13223</id>
		<title>JTAG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=JTAG&amp;diff=13223"/>
		<updated>2012-09-22T12:19:42Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Black Magic Probe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
A JTAG interface is designed for on-chip debugging. It is used to program that do not have a means to upload software via USB already. For short; if you want to upload your own software or want to do serious paparazzi development work, the you need a cable like this.&lt;br /&gt;
&lt;br /&gt;
=JTAG Cable overview=&lt;br /&gt;
There are multiple Paparazzi-compatible devices available that support JTAG. Below you find a list of JTAG devices that you can use in combination with e.g. a Paparazzi Lisa/M board. &lt;br /&gt;
&lt;br /&gt;
== FLOSS JTAG ==&lt;br /&gt;
 &lt;br /&gt;
The FLOSS JTAG is based on an FTDI chip that allows two simultaneous USB connections, which means that FLOSS JTAG allows JTAG and UART/COM connections.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at upper side of the board. It contains JTAG connector (which is connected on photo) and two sets of RX/TX LEDs for JTAG and UART/COM interface separately. The JTAG connector is 2x5 pins, 0.05-inch pitch, and is compatible with the Samtec FFSD-05-D-06.00-01-N-RW-R ribbon cable.&lt;br /&gt;
&lt;br /&gt;
[[Image:Jtag-up.jpg]]&lt;br /&gt;
&lt;br /&gt;
On the other side of the board there is 4 pin UART/COM connector, which contains: Ground (black), TX (yellow), RX (orange) and +5V (red)&lt;br /&gt;
&lt;br /&gt;
[[Image:Jtag-down.jpg]]&lt;br /&gt;
&lt;br /&gt;
Usage of board is pretty simple: JTAG can be used to upload firmware into the board and/or repair board with broken bootloader, and UART/COM interfaced can be used to make &amp;quot;COM port style&amp;quot; connection to the board. COM connection can be used for example for telemetry debug.&lt;br /&gt;
&lt;br /&gt;
More info available on the [http://randomprojects.org/wiki/Floss-JTAG randomprojects.org wiki].&lt;br /&gt;
&lt;br /&gt;
== Black Magic Probe ==&lt;br /&gt;
&lt;br /&gt;
[[Image:BMPM_1_top.jpg|500x500px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BMPM_1_bottom.jpg|500x500px]]&lt;br /&gt;
&lt;br /&gt;
Full info about the Black Magic Probe is available at the [http://www.blacksphere.co.nz/main/blackmagic Black Sphere Technology website].&lt;br /&gt;
&lt;br /&gt;
To use Black Magic Probe instead of FLOSS-JTAG or Luftboot, append the following string to the upload command:&lt;br /&gt;
&lt;br /&gt;
On Linux:&lt;br /&gt;
 FLASH_MODE=JTAG BMP_PORT=/dev/ttyACM0&lt;br /&gt;
On Mac OS:&lt;br /&gt;
 FLASH_MODE=JTAG BMP_PORT=/dev/cu.usbmodem&amp;lt;serial&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are good Reasons to use Black Magic Probe Mini instead of FLOSS-JTAG: It just has much more options and cost less.&lt;br /&gt;
&lt;br /&gt;
*No need for OpenOCD as BMPM has a built in GDB server&lt;br /&gt;
*Orders of magnitude faster as all the high speed protocol logic happens on the built-in STM32&lt;br /&gt;
*Supports Serial Wire Debug (SWD)&lt;br /&gt;
*Supports tracing using the SWD trace pin&lt;br /&gt;
*No need for loading and unloading of FTDI drivers on Mac OS X&lt;br /&gt;
&lt;br /&gt;
===How to use Debugging features===&lt;br /&gt;
&lt;br /&gt;
A page describing on how to start debugging using the BlackMagic probe cable can be found here JTAG: [[DevGuide/JTAG-Debug]]&lt;br /&gt;
&lt;br /&gt;
===Upgrade BMP firmware===&lt;br /&gt;
  git clone git://blackmagicdebug.git.sourceforge.net/gitroot/blackmagicdebug/blackmagicdebug&lt;br /&gt;
  cd blackmagicdebug/src&lt;br /&gt;
  make CROSS_COMPILE=~/sat/bin/arm-none-eabi-&lt;br /&gt;
  ../scripts/stm32_mem.py blackmagic.bin&lt;br /&gt;
&lt;br /&gt;
== FT2232 Dev Board ==&lt;br /&gt;
&lt;br /&gt;
Use ftdi prog to change the Description String into: FLOSS-JTAG&lt;br /&gt;
&lt;br /&gt;
[[File:AlternativeFlossJtag.png]]&lt;br /&gt;
&lt;br /&gt;
= Related articles =&lt;br /&gt;
* [[DevGuide/JTAG-Debug]] - Developer's guide JTAG debugging&lt;br /&gt;
* [[Dev/Debugging]] - General debugging information&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]] [[Category:Software]] [[Category:Developer_Documentation]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
(*(oo)*), ,~&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/M_v2.0&amp;diff=13176</id>
		<title>Lisa/M v2.0</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/M_v2.0&amp;diff=13176"/>
		<updated>2012-09-17T17:10:36Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Extra Input */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;float: right; width: 15%&amp;quot;&amp;gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Autopilots&amp;lt;/categorytree&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right; width: 45%; overflow: hidden&amp;quot;&amp;gt;[[Image:LisaM_V2_0_TopView.JPG|right|500px|Lisa/M V2.0 top view]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right; width: 40%&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lisa/M is a small, general purpose autopilot designed with flexibility across multiple applications in mind. Small weight and size, with (optional) integrated [[AspirinIMU | Aspirin IMU]] and full size 0.1&amp;quot; servo headers make the Lisa/M suitable for both fixed-wing and rotorcraft vehicles. This autopilot is based on the STM32 for improved peripherals and faster processing.&lt;br /&gt;
&lt;br /&gt;
A number of tutorials are being prepared for getting started with Lisa/M:&lt;br /&gt;
* [[Lisa/M/Tutorial/FixedWing|Fixedwing tutorial]]&lt;br /&gt;
* [[Lisa/M/Tutorial/RotorCraft|Rotorcraft tutorial]]&lt;br /&gt;
&lt;br /&gt;
== Hardware Revision History ==&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;
!''Version #''!!''Release Date''!!''Release Notes''&lt;br /&gt;
|-&lt;br /&gt;
|v2.0(current)||03/2012||Updated Production Release&lt;br /&gt;
|-&lt;br /&gt;
|v1.1||MM/YYYY||Updated Prototype&lt;br /&gt;
|-&lt;br /&gt;
|v1.0||MM/YYYY||Initial Production Release&lt;br /&gt;
|-&lt;br /&gt;
|v0.1||MM/YYYY||Initial prototype of Lisa/M&lt;br /&gt;
|}&lt;br /&gt;
For detailed hardware revision history, please [[Lisa/M#Detailed_Hardware_Revision_History | see below]].&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
Lisa/M is based on the 64 pins STM32F105RCT6 [http://www.st.com/internet/mcu/product/221023.jsp connectivity line family] processor featuring 64k of RAM and 256k of FLASH. All the pins are exposed, providing access to the complete set of the STM32 peripherals.&lt;br /&gt;
NOTE: This MCU is different from LISA/L. Lisa/L is based on the 64 pins STM32F103RE processor featuring 64k of RAM and 512k of FLASH, which is part of the [http://www.st.com/internet/mcu/product/164485.jsp high-density performance line family].&lt;br /&gt;
&lt;br /&gt;
* STM32 microcontroller [http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00220364.pdf STM32F105RCT6 datasheet] with 256kB flash and 64kB RAM&lt;br /&gt;
* Pressure sensor [http://www.bosch-sensortec.com/content/language1/html/3477.htm BMP085] (optional as of 08/2012)&lt;br /&gt;
* 7 x Analog input channels&lt;br /&gt;
* 3 x Generic digital in-/out-puts&lt;br /&gt;
* 2 x 3.3V TTL UART (5V tolerant)&lt;br /&gt;
* 8 x Servo PPM outputs (only 6 if second I2C (I2C1) bus in use)&lt;br /&gt;
* 1 x CAN bus&lt;br /&gt;
* 1 x [http://en.wikipedia.org/wiki/Serial_Peripheral_Interface SPI] bus&lt;br /&gt;
* 1 x [http://en.wikipedia.org/wiki/I2c I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C] bus (2 x when using only the first 6 Servo PPM outputs)&lt;br /&gt;
* 1 x Micro USB&lt;br /&gt;
* 4 x status LEDs with attached test point&lt;br /&gt;
* 10.8 grams (0.4 oz) (with Aspirin IMU mounted)&lt;br /&gt;
* 9.9 grams (0.35 oz) (without Aspirin IMU mounted)&lt;br /&gt;
* ~34mm x ~60mm x ~10mm&lt;br /&gt;
* 4 layers PCB design&lt;br /&gt;
&lt;br /&gt;
With mounted Aspirin IMU has the following additional sensors on board:&lt;br /&gt;
&lt;br /&gt;
* 3 Axis Gyroscope&lt;br /&gt;
* 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (as of Aspirin v2.1r1)&lt;br /&gt;
&lt;br /&gt;
'''Lisa/M has pads for the BMP085 pressure sensor.  Boards made before August 2012 had the BMP085 sensor mounted. Boards made after August 2012 do not have the sensor mounted as they are designed to be used with Aspirin 2.1r1 which has the new MS5611-01BA03 barometric pressure sensor.'''&lt;br /&gt;
&lt;br /&gt;
The drivers for the MS5611-01BA03 are work in progress and will be available in the master branch of the Paparazzi codebase soon. All help with testing and improving the driver are very welcome!&lt;br /&gt;
&lt;br /&gt;
So, except for a GPS unit you have all necessary sensors for full attitude and altitude stabilization in an extremely small package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=200px heigths=200px&amp;gt;&lt;br /&gt;
Image:LisaM_V2_0_TopView.JPG|Lisa/M V2.0 top view&lt;br /&gt;
Image:LisaM_V2_0_BottomView.JPG|Lisa/M V2.0 bottom view&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
Pins Name and Type are specified with respect to the Autopilot Board.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: right; width: 100%&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:LisaM_V2_0_top_labeled.png|900px]]&lt;br /&gt;
[[Image:LisaM_warning_label.png|200px]]&lt;br /&gt;
&amp;lt;/div&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''SERVO1/2/3/4/5/6/7/8'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||SERVOx||OUT||Servo signal (PWM)(See Note 1 below)||style=&amp;quot;background:Yellow; color:black&amp;quot;|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|2||SV||PWR||Servo Bus Voltage Rail (conf w/ JP1)||style=&amp;quot;background:red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''JTAG'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||N/A||N/A||JTAG Debug Header (Pin 1 is +3V3)||style=&amp;quot;background:white; color:black&amp;quot;|None&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART3'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2||V_IN||PWR||UART Voltage (conf w/ JP6 and JP7)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||TX||OUT||USART3 Serial Output (3.3V level)||style=&amp;quot;background:Yellow; color:black&amp;quot;|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|4||RX||IN||USART3 Serial Input (3.3V level)(Pullup to Pin 2 voltage)(5V tolerant)||style=&amp;quot;background:Orange; color:white&amp;quot;|Orange&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART1/5'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot (conf w/ JP8 and JP9)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||RX1||IN||USART1 Serial Input (3.3V level)(Pullup to Pin 2 voltage)(5V tolerant)||style=&amp;quot;background:Orange; color:white&amp;quot;|Orange&lt;br /&gt;
|-&lt;br /&gt;
|4||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| +3V3||PWR||3.3V Rail from autopilot (conf w/ JP8 and JP9)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|6||RX5||IN||UART5 Serial Input (3.3V level)(Pullup to Pin 5 voltage)(5V tolerant)||style=&amp;quot;background:Orange; color:white&amp;quot;|Orange&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''GPIO'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|4||PC12||I/O||GPIO, connected to PC12 (5V tolerant)||style=&amp;quot;background:#FDC579; color:black&amp;quot;|Dark Tan&lt;br /&gt;
|-&lt;br /&gt;
|5||TRST||I/O||JTAG_TRST (also connected to LED1 cathode)||style=&amp;quot;background:#FED6B1; color:black&amp;quot;|Light Tan&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''ANALOG2'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3|| +5V||PWR||5V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|4||ADC4||I/O||by default connected to LED_4 cathode (Remove LED/resistor to use as ADC4)||style=&amp;quot;background:magenta; color:white&amp;quot;|Magenta&lt;br /&gt;
|-&lt;br /&gt;
|5||ADC6||I/O||by default connected to LED_3 cathode (Remove LED/resistor to use as ADC6)||style=&amp;quot;background:#FFA1B2; color:black&amp;quot;|Pink&lt;br /&gt;
|-&lt;br /&gt;
|6||BOOT0||I/O||BOOT0||style=&amp;quot;background:grey; color:black&amp;quot;|Grey&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''USB'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||N/A||N/A||USB (The USB connections are also available as 0.05&amp;quot; (1.27mm) through hole pads underneath the GPIO header)||style=&amp;quot;background:white; color:black&amp;quot;|None&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''I2C1 CAN'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| V_BATT||PWR||V_BATT Bus on autopilot, voltage divider for V_BAT_MEAS, (conf w/ JP2 to connect to V_IN)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3|| V_IN||PWR||Connected to autopilot voltage regulator inputs (conf w/ JP1, JP2 and JP3)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|4||CANL||I/O||CANL (5V level)||style=&amp;quot;background:orange; color:white&amp;quot;|Orange&lt;br /&gt;
|-&lt;br /&gt;
|5||CANH||I/O||CANH (5V level)||style=&amp;quot;background:yellow; color:black&amp;quot;|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|6||SCL||I/O||SCL (5V level)(See Note 1 below)||style=&amp;quot;background:green; color:white&amp;quot;|Green&lt;br /&gt;
|-&lt;br /&gt;
|7||SDA||I/O||SDA (5V level)(See Note 1 below)||style=&amp;quot;background:blue; color:white&amp;quot;|Blue&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''SPI1'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||MOSI||Out||MOSI||style=&amp;quot;background:orange; color:white&amp;quot;|Orange&lt;br /&gt;
|-&lt;br /&gt;
|4||MISO||In||MISO||style=&amp;quot;background:yellow; color:black&amp;quot;|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|5||SCK||Out||SCK||style=&amp;quot;background:green; color:white&amp;quot;|Green&lt;br /&gt;
|-&lt;br /&gt;
|6||SS||Out||SS||style=&amp;quot;background:blue; color:white&amp;quot;|Blue&lt;br /&gt;
|-&lt;br /&gt;
|7||DRDY||I/O||DRDY||style=&amp;quot;background:#FDC579; color:black&amp;quot;|Dark Tan&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''ANALOG1'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3|| +5V||PWR||5V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|4||ADC1||In||ADC1 (or LED_6 if populated)||style=&amp;quot;background:green; color:white&amp;quot;|Green&lt;br /&gt;
|-&lt;br /&gt;
|5||ADC2||In||ADC2 (or LED_7 if populated)||style=&amp;quot;background:blue; color:white&amp;quot;|Blue&lt;br /&gt;
|-&lt;br /&gt;
|6||ADC3||In||ADC3 (or LED_8 if populated)||style=&amp;quot;background:#FED6B1; color:black&amp;quot;|Light Tan&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART2'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||UART Voltage (conf w/ JP4 and JP5)||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||TX||OUT||USART2 Serial Output (3.3V level)||style=&amp;quot;background:Yellow; color:black&amp;quot;|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|4||RX||IN||USART2 Serial Input (3.3V level)('''NOT 5V TOLERANT''')(Pullup to Pin 2 voltage)||style=&amp;quot;background:Orange; color:white&amp;quot;|Orange&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''I2C2'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Pin #''!!width=&amp;quot;10%&amp;quot;|''Name''!!width=&amp;quot;10%&amp;quot;|''Type''!!''Description''!!width=&amp;quot;5%&amp;quot;|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|1||GND||PWR||common ground||style=&amp;quot;background:black; color:white&amp;quot;|Black&lt;br /&gt;
|-&lt;br /&gt;
|2|| +3V3||PWR||3.3V Rail from autopilot||style=&amp;quot;background:Red; color:white&amp;quot;|Red&lt;br /&gt;
|-&lt;br /&gt;
|3||SCL||I/O||SCL (3.3V level)||style=&amp;quot;background:green; color:white&amp;quot;|Green&lt;br /&gt;
|-&lt;br /&gt;
|4||SDA||I/O||SDA (3.3V level)||style=&amp;quot;background:blue; color:white&amp;quot;|Blue&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE 1''': SERVO7 and SERVO8 are directly connected to I2C1_SCL and I2C1_SDA lines. There one has to choose, either use SERVO7 and SERVO8 '''OR''' the use ''second'' I2C bus (I2C1) if that one needs to be used for whatever reason. To use the servos 7 and 8 just set the  &amp;lt;define name=&amp;quot;USE_SERVOS_7AND8&amp;quot;/&amp;gt;  in your airframe file and you are good to go. This is recently fixed, so for this to work one must make sure to have the latest Paparazzi sourcecode.&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
Lisa/M 2.0 has 5 LEDS (+1 power LED). There are 3 additional LEDs (LED_6, LED_7, LED_8) that are not populated by default (in favor of using ADC1-3 on the ANALOG1 connector).&lt;br /&gt;
By default the LEDs are use for:&lt;br /&gt;
; LED_1, red: ''SYS_TIME_LED'': blinks with 1Hz&lt;br /&gt;
; LED_2, green : ''AHRS_ALIGNER_LED'': blinks until the AHRS is aligned (gyro bias initilalized) and then stays on&lt;br /&gt;
; LED_3, green : ''GPS_LED'': blinking if trying to get a fix, on if 3D fix&lt;br /&gt;
; LED_4, red : ''RADIO_CONTROL_LED'': on if RC signal is ok&lt;br /&gt;
; LED_5, green : not set to anything by default&lt;br /&gt;
&lt;br /&gt;
=== Jumper Configuration ===&lt;br /&gt;
There are a number of jumpers on Lisa/M used to configure voltage levels and power input.&lt;br /&gt;
&lt;br /&gt;
The default configuration is UART3 VCC at V_IN, UART1/2/5 VCC at +3V3, with the V_SERVO servo voltage rail NOT connected to the autopilot V_IN rail, allowing one to power the autopilot and servos separately. The +5V regulator is NOT bypassed, allowing a regulated +5V on listed headers and for the CAN transceiver and I2C level shifter. The V_BATT connector is NOT connected to V_IN, so one can attach a battery voltage to the V_BATT pin to measure the battery voltage, if so desired.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=380px heights=205px&amp;gt;&lt;br /&gt;
Image:LisaM_V2_0_top_jumpers_and_leds.png | Lisa/M v2.0 Top Jumpers and LEDs&lt;br /&gt;
Image:LisaM_V2_0_bottom_jumpers.png | Lisa/M v2.0 Bottom Jumpers&lt;br /&gt;
&amp;lt;/gallery&amp;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;  cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;text-align:center&amp;quot; cellpadding=&amp;quot;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''Power Jumper Configuration'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Jumper''!!width=&amp;quot;20%&amp;quot;|''Bus Connection''!!width=&amp;quot;7%&amp;quot;|''Default''!!''Description''&lt;br /&gt;
|-&lt;br /&gt;
|JP1||SERVO_BUS to V_IN||OPEN||Connects servo header voltage rail SERVO_BUS to autopilot input voltage V_IN rail&lt;br /&gt;
|-&lt;br /&gt;
|JP2||V_BATT to V_IN||OPEN||Connects I2C1/CAN rail V_BATT to autopilot input voltage V_IN rail&lt;br /&gt;
|-&lt;br /&gt;
|JP3||V_IN to +5V||OPEN||Connects autopilot input voltage V_IN rail to autopilot +5V rail, bypassing onboard 5V supply&lt;br /&gt;
|}&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART3 VCC Configuration'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Jumper''!!width=&amp;quot;20%&amp;quot;|''Bus Connection''!!width=&amp;quot;7%&amp;quot;|''Default''!!''Description''&lt;br /&gt;
|-&lt;br /&gt;
|JP6||UART3_VCC to V_IN||style=&amp;quot;background:black; color:white&amp;quot;|CLOSED||Connects UART3 connector VCC to autopilot input voltage V_IN rail&lt;br /&gt;
|-&lt;br /&gt;
|JP7||UART3_VCC to +3V3||OPEN||Connects UART3 connector VCC to autopilot +3V3 rail&lt;br /&gt;
|}&lt;br /&gt;
'''WARNING: UART3 GPS Connector is connected to V_IN, check your GPS input voltage before connecting!!!'''&lt;br /&gt;
&lt;br /&gt;
'''WARNING: DO NOT CLOSE BOTH JP6 AND JP7 SIMULTANEOUSLY!!!'''&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART2 VCC Configuration'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Jumper''!!width=&amp;quot;20%&amp;quot;|''Bus Connection''!!width=&amp;quot;7%&amp;quot;|''Default''!!''Description''&lt;br /&gt;
|-&lt;br /&gt;
|JP4||UART2_VCC to V_IN||OPEN||Connects UART2 connector VCC to autopilot input voltage V_IN rail '''SEE WARNING BELOW'''&lt;br /&gt;
|-&lt;br /&gt;
|JP5||UART2_VCC to +3V3||style=&amp;quot;background:black; color:white&amp;quot;|CLOSED||Connects UART2 connector VCC to autopilot +3V3 rail&lt;br /&gt;
|}&lt;br /&gt;
'''WARNING: UART2 RX is NOT 5V TOLERANT. Thus, while possible to connect UART2_VCC to V_IN, DO NOT ATTEMPT THIS. Only use JP5 (the default).&lt;br /&gt;
&lt;br /&gt;
'''WARNING: DO NOT CLOSE BOTH JP4 AND JP5 SIMULTANEOUSLY!!!'''&lt;br /&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;2%&amp;quot; width=&amp;quot;70%&amp;quot;&lt;br /&gt;
|+'''UART1 and UART5 VCC Configuration'''&lt;br /&gt;
!width=&amp;quot;7%&amp;quot;|''Jumper''!!width=&amp;quot;20%&amp;quot;|''Bus Connection''!!width=&amp;quot;7%&amp;quot;|''Default''!!''Description''&lt;br /&gt;
|-&lt;br /&gt;
|JP8||UART1&amp;amp;5_VCC to V_IN||OPEN||Connects UART1 and UART5 connector VCC to autopilot input voltage V_IN rail&lt;br /&gt;
|-&lt;br /&gt;
|JP9||UART1&amp;amp;5_VCC to +3V3||style=&amp;quot;background:black; color:white&amp;quot;|CLOSED||Connects UART1 and UART5 connector VCC to autopilot +3V3 rail&lt;br /&gt;
|}&lt;br /&gt;
'''WARNING: DO NOT CLOSE BOTH JP8 AND JP9 SIMULTANEOUSLY!!!'''&lt;br /&gt;
&lt;br /&gt;
There are additional jumpers on the board for expert or developer configurations, please see [[Lisa/M_v20#Schematic|schematic]] and [[Lisa/M_v20#Downloads|layout]] for more information.&lt;br /&gt;
&lt;br /&gt;
=== Powering the Board ===&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaM_warning_label.png|right|200px]]&lt;br /&gt;
&lt;br /&gt;
The 3.3V regulator on Lisa/M is a [http://www.micrel.com/page.do?page=/product-info/products/mic5209.shtml MIC5209-3.3YM] capable of delivering up to 500mA. While it is possible to power this regulator with up to 16V, '''DO NOT''' do this. By default, the UART3 RX pin is pulled up to the input voltage V_IN. For this reason, 5V is the maximum input voltage. Note that the UART3 GPS Connector is connected to V_IN, check your GPS input voltage before connecting. If one desires to have V_IN at a higher voltage, the jumpers should be adjusted accordingly. As noted, this regulator can handle up to 16V, though experience has shown that this regulator can become very hot in operation with high input voltages, resulting in potential thermal shutdown while in flight. Depending on the expected current draw, it is best to power this regulator with a lower voltage. 5V is the perfect choice. &lt;br /&gt;
&lt;br /&gt;
The onboard 5V regulator on Lisa/M is a [http://www.national.com/pf/LP/LP2992.html LP2992], a low-noise, low-dropout linear regulator capable of delivering up to 250mA. This regulator can be bypassed with JP3, connecting the autopilot V_IN bus directly to the autopilot 5V bus if, for example, one is using an external 5V regulated supply, and a higher current is needed. Unless external use of 5V is required on the ANALOG1 and ANALOG2 headers, the only 5V usage onboard is for the CAN transceiver and the I2C1 level shifter.&lt;br /&gt;
&lt;br /&gt;
When measuring the supply voltage of a battery with the V_BATT pin (could be connected to V_IN through JP2), it is important to note the maximum voltage limit. The voltage divider on the board for measuring with a 3.3V ADC is --'''V_BAT'''--/\/\'''10k'''/\/\--'''V_BAT_MEAS'''--/\/\'''2k2'''/\/\--'''GND'''--. This means that the maximum allowable voltage on V_BATT is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;V\_BAT_{max} = 3.3V*\frac{10k}{2.2k} = 15V&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a higher voltage measurement is desired, another voltage divider is required off-board. Alternatively, one could modify the existing voltage divider (e.g. change 10k resistor to 22k to get 33V maximum). When checking if voltage exceeds the maximum, make sure to consider maximum battery voltage, not nominal voltage (e.g. 4.22V or so for a single lithium cell, not 3.7V nominal, so the maximum number of cells in series is 3, like a 3S LiPo pack).&lt;br /&gt;
&lt;br /&gt;
== Schematic ==&lt;br /&gt;
&amp;lt;gallery widths=250px heights=168px&amp;gt;&lt;br /&gt;
Image:Lisa_m_v2_0_sheet_1.png | LisaM V2.0 Schematic Sheet 1/3&lt;br /&gt;
Image:Lisa_m_v2_0_sheet_2.png | LisaM V2.0 Schematic Sheet 2/3&lt;br /&gt;
Image:Lisa_m_v2_0_sheet_3.png | LisaM V2.0 Schematic Sheet 3/3&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples of Airborne Equipment Electrical Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Quadrocopter, Spektrum Satellite Receivers and PWM Motor Controllers (ESC) ===&lt;br /&gt;
&lt;br /&gt;
[[File:LisaM_v2_0_wiring_quadrocopter_spektrum_pwmesc.png|700px]]&lt;br /&gt;
&lt;br /&gt;
When using cheap ATMega or SiLabs-based PWM motor controllers consider replacing their firmware with either [https://github.com/sim-/tgy Simon Kirby] or [https://github.com/bitdump/BLHeli BLHeli] firmware respectively to get useful performance of your multicopter! You can find a firmware compatibility list [https://docs.google.com/spreadsheet/ccc?key=0AhR02IDNb7_MdEhfVjk3MkRHVzhKdjU1YzdBQkZZRlE here].&lt;br /&gt;
&lt;br /&gt;
=== Quadrocopter, Spektrum Satellite Receivers and I2C Motor Controllers (ESC) ===&lt;br /&gt;
&lt;br /&gt;
[[File:LisaM_V2_0_quadrocopter_spektrum_i2c_esc_wiring.png|700px]]&lt;br /&gt;
&lt;br /&gt;
This diagram &amp;quot;should&amp;quot; be the same for AscTec as well as Mikrokopter motor controller based airframes.&lt;br /&gt;
&lt;br /&gt;
=== Fixedwing, Spektrum Satellite Receivers and Elevons Only ===&lt;br /&gt;
&lt;br /&gt;
[[File:LisaM_V2_0_wiring_fixedwing_spektrum_elevons.png|700px]]&lt;br /&gt;
&lt;br /&gt;
=== Fixedwing, Spektrum Satellite Receivers ===&lt;br /&gt;
&lt;br /&gt;
[[File:LisaM_V2_0_wiring_fixedwing_spektrum.png|700px]]&lt;br /&gt;
&lt;br /&gt;
=== Transitioning [http://wiki.thequadshot.com Quadshot] Using Spektrum Receivers ===&lt;br /&gt;
&lt;br /&gt;
[[File:LisaM_V2_0_wiring_quadshot_spektrum.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Still need: Large Fixed-wing with advanced power system and/or IC engine, PPM example&lt;br /&gt;
&lt;br /&gt;
=== R/C Receivers ===&lt;br /&gt;
One can use traditional PPM receivers as wel as Spektrum DSM2 or compatible receivers for flying your aircraft in manual mode during setup and test phase. The Lisa M can direcly connect to a Spectrum DSM2 satellite receiver. It is even possible to connect two satellite receivers for better redundancy or RC reception. It is&lt;br /&gt;
&lt;br /&gt;
==== Bind your Spectrum DSM receiver ====&lt;br /&gt;
&lt;br /&gt;
It is important to bind your receiver with your transmitter '''via your Lisa board''', not in any other way. The way to do this is via fiddly small molex pins&lt;br /&gt;
&lt;br /&gt;
Before you start make sure you have your airframe configuration already uploaded either via USB or a JTAG cable&lt;br /&gt;
&lt;br /&gt;
* On the connector ANALOG1 have a wire between the GND pin ADC1, located in the middle of the board&lt;br /&gt;
* Power up your autopilot board&lt;br /&gt;
* Hold the bind button on your '''transmitter''', while '''keeping it pressed''' switch on your transmitter&lt;br /&gt;
* Wait.. all light of receiver blink then go steady&lt;br /&gt;
* Let go of your transmitter bind button&lt;br /&gt;
* Power off your Lisa Board&lt;br /&gt;
* remove the wire between GND and ADC1 pins&lt;br /&gt;
* Repower your board, if you have servos connected and wiggle the RC transmitter sticks some sould move&lt;br /&gt;
&lt;br /&gt;
That all, you are done. Only needs to be done '''once''' for your receiver.&lt;br /&gt;
&lt;br /&gt;
=== Extra Input ===&lt;br /&gt;
&lt;br /&gt;
Also UART pins can be used as general purpose I/O to be used for PPM input. By default connect your PPM out able receiver to servo pin 6. If you do not have or cannot create a PPM out able receiver, additionally a [[PPM_Encoder | PPM encoder board]] can be used to avoid receiver hardware modification.&lt;br /&gt;
&lt;br /&gt;
=== Use USB as UART1TX + hardware flow control ===&lt;br /&gt;
[[File:Lisam-usb-uart1.jpg]]&lt;br /&gt;
&lt;br /&gt;
The USB_VBUS on the Lisa/M 2.0 can be used as UART1 TX. To do this, a diode has to be removed. Make sure to include a series resistor of 100-3000 Ohm to protect the microcontroller from overcurrents. The 2nd and 3th pin of the USB pads are CTS and RTS respactively. It is recommended to include a series resistor in the RTS line, as this is an outgoing line. &lt;br /&gt;
&lt;br /&gt;
If you want to enable flow control in the software, but don't want to use flow control when no cable is connected to the CTS/RTS, a pulldown resistor of 10 kOhm has to be added between the CTS and the GND. If you do this, take care when connecting UART devices that have a large series resistor in their RTS line. The combination of the pulldown resistor and the series resistor might cause the high-level voltage to drop under the high-level treshold of the microcontroller, causing strange behaviour.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=380px heights=205px&amp;gt;&lt;br /&gt;
Image:Lisam-diode.JPG | Remove this diode. After removing this diode you can not power the board via USB anymore.&lt;br /&gt;
Image:Lisam-gpio-usb.JPG | Take care of the small distance between the GPIO pins and the USB pads.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PCB ==&lt;br /&gt;
&lt;br /&gt;
=== Gerber &amp;amp; Drill Files  ===&lt;br /&gt;
&lt;br /&gt;
'''''Download  Lisa/M v2.0 gerber &amp;amp; drill files (zip)''''' ''NOT YET AVAILABLE BUT SEE [[Lisa/M#Downloads|Downloads]]''&lt;br /&gt;
Need some generated gerbers and drill files here.&lt;br /&gt;
&lt;br /&gt;
== Assembly ==&lt;br /&gt;
&lt;br /&gt;
===Components Layout===&lt;br /&gt;
&lt;br /&gt;
''NOT YET AVAILABLE BUT SEE [[Lisa/M#Downloads|Downloads]]''&lt;br /&gt;
Need some top and bottom of board images and line drawings here.&lt;br /&gt;
&lt;br /&gt;
=== Bill Of Material ===&lt;br /&gt;
&lt;br /&gt;
'''''Download  Lisa/M v2.0 Bill Of Material (zipped .xls file)''''' ''NOT YET AVAILABLE BUT SEE [[Lisa/M#Downloads|Downloads]]''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PCB and assembled boards suppliers ==&lt;br /&gt;
&lt;br /&gt;
Available on [[Get_Hardware|Get Hardware]] page, hopefully :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mechanical Dimensions ==&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaM_V2_0_top_mechanical.png|500px|Lisa/M v2.0 Mechanical Dimensions]]&lt;br /&gt;
&lt;br /&gt;
The overall height of the board including the servo connectors is 10mm. Note that the overall length includes the USB connector. The mounting holes are nominal 2mm diameter (with a bit of clearance).&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
'''Source files'''&lt;br /&gt;
:*download available on GitHub: ''[https://github.com/paparazzi/paparazzi-hardware/tree/master/controller/lisa_m/v2.0 Lisa/M v2.0 Cadsoft Eagle 6 Design]''&lt;br /&gt;
'''Gerber &amp;amp; Drill files'''&lt;br /&gt;
:*download ''NOT YET AVAILABLE'' Need generated gerbers and drill files&lt;br /&gt;
'''Assembly files'''&lt;br /&gt;
:*download ''NOT YET AVAILABLE'' Need Lisa/M v2.0 Components layouts (pdf)&lt;br /&gt;
:*download ''NOT YET AVAILABLE'' Need Lisa/M v2.0 Bill Of Material&lt;br /&gt;
&lt;br /&gt;
== Uploading new software ==&lt;br /&gt;
&lt;br /&gt;
New onboard software for the Lisa/M v2.0 can uploaded by connecting your PC via a micro-USB port to the autopilot board. For this the board need to contain a &amp;quot;luftboot&amp;quot; bootloader. All Lisa/M 2.0 from Transition Robotics Inc. come with luftboot already in the board.&lt;br /&gt;
&lt;br /&gt;
An alternative to get your software/flightplane in the board is by using a JTAG connector connected via the 10-pin Samtec connector that is available on the board.&lt;br /&gt;
&lt;br /&gt;
=== Using luftboot ===&lt;br /&gt;
&lt;br /&gt;
First make sure you '''update to the latest stable Paparazzi version''', then you will have support for this bootloader method. By default use the associated DFU loader to program the firmware. Make sure that your airframe file is set to use Lisa/M 2.0 as it's target board.&lt;br /&gt;
&lt;br /&gt;
Currently Paparazzi firmware does not contain the needed software to switch into bootloader mode using software only by USB. To circumvent this shortcoming, you need a small cable to force the bootloader to run. This cable should bridge pin GND and ADC2. Make sure you do not shortcircuit your board.&lt;br /&gt;
&lt;br /&gt;
Once your &amp;quot;Boot mode connector&amp;quot; is inserted, connect the Lisa/M to the PC via a micro-usb cable and it should start in bootloader mode. If the status LEDs cycle up and down, it is in booatloader mode, ready to receive your new flightplan and autopilot control software upgdate.&lt;br /&gt;
&lt;br /&gt;
Note that all of this won't be necessary in the future once a working USB stack stub is added to the latest Paparazzi.&lt;br /&gt;
&lt;br /&gt;
[[File:Luftboot.gif|320px]]&lt;br /&gt;
&lt;br /&gt;
You should disconnect the &amp;quot;Boot mode connector&amp;quot; after enforcing the bootloader. Pressing upload in the Paparazzi Center should now upload new code onto the board.&lt;br /&gt;
&lt;br /&gt;
In the rare case you somehow have removed the luftboot bootloader, you can re-insert this Boatloader by following the instructions of ''Uploading the Paparazzi USB Bootloader''&lt;br /&gt;
&lt;br /&gt;
=== Uploading the Paparazzi USB Bootloader ===&lt;br /&gt;
&lt;br /&gt;
Reading or performing these steps is not needed if you got your Lisa/M 2.0 from Transition Robotics Inc., these boards come with luftboot already preloaded. But in the case you made a board yourself or somehow do not have a preloaded bootloader, or it is gone because of unknown cause, then read this section. It describes the process on how to upload/recover the luftboot bootloader on your Lisa/M 2.0.&lt;br /&gt;
&lt;br /&gt;
[https://github.com/paparazzi/luftboot Luftboot] is a Paparazzi-compatible bootloader for STM32-based autopilots.&lt;br /&gt;
Depending on your vendor, your Lisa/M may already come with a bootloader, in which case you should skip to [[Lisa/M#Uploading new software]]&lt;br /&gt;
&lt;br /&gt;
==== Required components ====&lt;br /&gt;
&lt;br /&gt;
*Floss-JTAG debugger or Blacksphere mini JTAG&lt;br /&gt;
*Lisa/M board&lt;br /&gt;
*PC&lt;br /&gt;
&lt;br /&gt;
==== Procedure ====&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Get the [https://github.com/paparazzi/luftboot Luftboot sourcecode from Github] via&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;git clone https://github.com/paparazzi/luftboot.git&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Change directory into the luftboot/src folder&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;cd ./luftboot/src&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Build luftboot&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;make clean &amp;amp;&amp;amp; make&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flash the Lisa/M&lt;br /&gt;
Attach the floss-jtag unit to the PC and connect it to the Lisa/M via the black connector.&lt;br /&gt;
Power the Lisa/M (easiest way is to connect to the PC via a micro-USB cable).&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;make flash DEV_SERIAL=&amp;quot;LM2-ser&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
where &amp;quot;ser&amp;quot; stands for the serial number of your Lisa/M. So for example if you have lisa/m with the serial number 020 this would be:&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;make clean &amp;amp;&amp;amp; make flash DEV_SERIAL=&amp;quot;LM2-020&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Connection Diagram ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Boot Sequence ====&lt;br /&gt;
&lt;br /&gt;
* Luftboot&lt;br /&gt;
** Check if ADC2 is configured as output pull down indicating software bootloader request&lt;br /&gt;
*** '''If ADC2 output pull down:''' initialize usb and stay in bootloader mode&lt;br /&gt;
** Setting the ADC2 pin to input pull up&lt;br /&gt;
** Checking if the ADC2 pin is low&lt;br /&gt;
*** '''If ADC2 low:''' initialize USB and stay in bootloader mode&lt;br /&gt;
*** '''If ADC2 high:''' check if there is a payload at 0x8002000&lt;br /&gt;
**** '''If payload detected:''' set vector table pointer to be at 0x8002000 and jump to the reset handler of the payload&lt;br /&gt;
**** '''If payload not detected:''' initialize USB and stay in bootloader mode&lt;br /&gt;
&lt;br /&gt;
==== Luftboot USB permissions ====&lt;br /&gt;
&lt;br /&gt;
[[Installation/Linux#Udev_rules|Copy the udev-rules file]] is needed for the upload software to get permission to use this hardware in your PC for uploading.&lt;br /&gt;
For short: the Python program &amp;quot;stm32_mem.py&amp;quot; needs permission to write to the the Luftboot USB device. If you do not have set this rules already you get an error message, which explanation what is wrong is quite obscure due to the way python-libusb accesses the device.&lt;br /&gt;
&lt;br /&gt;
=== Using JTAG ===&lt;br /&gt;
If you are using the Lisa/M 2.0 target board you still can use JTAG for programming and debugging your paparazzi firmware. To use JTAG flashing configure the ''FLASH_MODE'' in your firmware section:&lt;br /&gt;
:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;configure name=&amp;quot;FLASH_MODE&amp;quot; value=&amp;quot;JTAG&amp;quot;/&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
Using JTAG will not overwrite the bootloader by default. To overwrite the luftboot bootloader configure&lt;br /&gt;
:&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;configure name=&amp;quot;NO_LUFTBOOT&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[JTAG]] description;&lt;br /&gt;
* General [[Dev/Debugging|debugging information]];&lt;br /&gt;
* [[DevGuide/JTAG-Debug|JTAG usage]], includes Eclipse uplink tutorial.&lt;br /&gt;
&lt;br /&gt;
==== Quick JTAG Upload Guide ====&lt;br /&gt;
# Connect floss-jtag to Lisa via the cortex cable (little black socket)&lt;br /&gt;
# Attach the UART port on the bottom of the floss-jtag to UART2 on the Lisa.&lt;br /&gt;
# Plug in USB port of the floss jtag&lt;br /&gt;
# Plug in USB port of the Lisa&lt;br /&gt;
# Make sure your airframe uses the &amp;lt;target name=&amp;quot;ap&amp;quot; board=&amp;quot;lisa_m_2.0&amp;quot;&amp;gt; definition&lt;br /&gt;
# Click Build, wait until complete, then click Upload.  You should see the following towards the end:&lt;br /&gt;
{{{&lt;br /&gt;
...&lt;br /&gt;
Info : device id = 0x10016418&lt;br /&gt;
Info : flash size = 256kbytes&lt;br /&gt;
stm32x mass erase complete&lt;br /&gt;
Info : Padding image section 1 with 7972 bytes&lt;br /&gt;
wrote 152576 bytes from file src/paparazzi/var/Hexa_LisaL/ap/ap.elf in 7.498179s (19.871 KiB/s)&lt;br /&gt;
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)&lt;br /&gt;
Info : JTAG tap: stm32.bs tap/device found: 0x06418041 (mfg: 0x020, part: 0x6418, ver: 0x0)&lt;br /&gt;
shutdown command invoked&lt;br /&gt;
}}}&lt;br /&gt;
# Run Flight USB-serial at the baud rate you need (default 57600 for rotorcraft)&lt;br /&gt;
# You may need to change the device to /dev/ttyUSB1, and 'Redo' the Data Link&lt;br /&gt;
&lt;br /&gt;
=== Serial Firmware Upload ===&lt;br /&gt;
&lt;br /&gt;
Firmware upload using the factory integrated bootloader can be useful e.g. if you have overwritten Luftboot accidentally and don´t have access to JTAG.&lt;br /&gt;
&lt;br /&gt;
Due to hardware constraints, the board has to be modified to make use of the bootloader, which is only accessible on UART1:&lt;br /&gt;
# Diode D3 has to be removed (the bigger black brick next to the USB connector). Attention, no more powering via USB after that.&lt;br /&gt;
# BOOT1 has to be set to GND by connecting ACC_DRDY(unused) to GND at the Aspirin pads&lt;br /&gt;
&lt;br /&gt;
Now a boot sequence works as follows:&lt;br /&gt;
#BOOT1 has to be set to 3.3V by use of a jumper cable&lt;br /&gt;
#Connect a 3,3V serial cable (FTDI, MAX232...) to UART1, the TX pin is USB_VBUS&lt;br /&gt;
#Power the board and activate the bootloader program&lt;br /&gt;
&lt;br /&gt;
The according bootloader script can be found at :&lt;br /&gt;
[https://github.com/jsnyder/stm32loader stm32loader from Github]&lt;br /&gt;
&amp;lt;source lang=bash&amp;gt;git clone https://github.com/jsnyder/stm32loader.git&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To reload Luftboot, upload luftboot.bin&lt;br /&gt;
&lt;br /&gt;
Serial upload can also be used directly from paparazzi Center by adapting the right path in [https://github.com/paparazzi/paparazzi/blob/dev/conf/Makefile.stm32 Makefile.stm32] for the LOADER argument and setting &lt;br /&gt;
&lt;br /&gt;
&amp;lt;define name=&amp;quot;FLASH_MODE&amp;quot; value=&amp;quot;SERIAL&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
in the target section of the airframe configuration.&lt;br /&gt;
&lt;br /&gt;
== Detailed Hardware Revision History ==&lt;br /&gt;
&lt;br /&gt;
=== Changes Between LISA v1.1 and v2.0 ===&lt;br /&gt;
&lt;br /&gt;
* Lots of silkscreen improvements&lt;br /&gt;
* Added attributes to all parts to make the usage of bom-ex ulp possible.&lt;br /&gt;
* Improved routing to allow teardropping&lt;br /&gt;
* Fixed stm32f1, f2 and f4 compatibility circuit. (has to jump to ground not to 3v3)&lt;br /&gt;
* Connected existing UART RX pullups to the respective connector power pins instead of 3v3. To prevent connecting 5V over IO pin to the 3v3 power rail.&lt;br /&gt;
* Added pullups on all UART RX lines to prevent undesired floatation.&lt;br /&gt;
* LED's are connected to 3v3 now. To make sure we don't have an issue with voltage tolerance on the gpio pins.&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Hardware Change Requests ==&lt;br /&gt;
&lt;br /&gt;
If you have a Lisa/M 2.0 and in the process of using it you come up with something you find annoying, dangerous, or restricting, add your hardware update requests here. Better still, modify the Lisa schematics yourself and show your new improvements if you are skilled enough to do this.&lt;br /&gt;
&lt;br /&gt;
* REQ: Replace BMP085 with MS5611 (the MS5611 seems to be better in performance then the BMP but it is more expensive and seems to be more difficult to obtain. &lt;br /&gt;
** A: Using a MS5611 is possible through using a Aspirin v2.1 board&lt;br /&gt;
&lt;br /&gt;
* REQ: Replace 7 Pin CAN with molex with something less risky to be inserted in 7 Pin SPI in relation to powering the board via CAN molex.&lt;br /&gt;
&lt;br /&gt;
* REQ: Separate spot for external power if powered via separate battery. Realizing we can via Servo ports by Bridge J1 but still like to measure board voltage then and have a way to add power without mistakenly insert I2CCAN Molex conector into SPI Molex on board connector. Thus a separate CAN and Power plug. Power on regular four pin molex with GND, V+5, , V_BATT, V_I (Current sense). Option to have thicker wire to be soldered to the board, for power hungry setups and other issues connectors for power are not a good idea.&lt;br /&gt;
&lt;br /&gt;
* REQ: Replace Aspirin IMU board with InvenSense MPU-9150 and bring the MS5611 back onto the Lisa/M board to reduce footprint, mass, and manufacturing cost once the 9150 becomes readily available(if at al with SPI) and is tested to perform well.&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-usb-uart1.jpg&amp;diff=13175</id>
		<title>File:Lisam-usb-uart1.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-usb-uart1.jpg&amp;diff=13175"/>
		<updated>2012-09-17T17:02:32Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-gpio-usb.JPG&amp;diff=13174</id>
		<title>File:Lisam-gpio-usb.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-gpio-usb.JPG&amp;diff=13174"/>
		<updated>2012-09-17T16:56:33Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-diode.JPG&amp;diff=13173</id>
		<title>File:Lisam-diode.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Lisam-diode.JPG&amp;diff=13173"/>
		<updated>2012-09-17T16:54:20Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13112</id>
		<title>Lisa Gumstix Breakout</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13112"/>
		<updated>2012-08-31T13:05:11Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is currently dedicated to a proposal of a Lisa/M to Overo Gumstix breakout board.&lt;br /&gt;
&lt;br /&gt;
== System Design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lmgs_system_diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
* 10/100 Base-T ethernet phy (at least one if not two)&lt;br /&gt;
* USB Host&lt;br /&gt;
* USB OTG&lt;br /&gt;
* FTDI based USB to serial converter connected to the Overo serial console&lt;br /&gt;
* Isolated SPI for connectivity to Lisa/M or other systems&lt;br /&gt;
* Isolated USART for connectivity to Lisa/M or other systems&lt;br /&gt;
* Levelshifted I2C to 5V/3.3V&lt;br /&gt;
* Levelshifted Gumstix GPIO to 5V/3.3V&lt;br /&gt;
* Break out and level-shift GPIO 48,49,50,51. Those pins are the hardware UART TX, RX, CTS, RTS pins. It is very useful to have the CTS and RTS pins broken out, in case someone would want to set up an PPP network link using two Digi XTends. It is not possible to use software flow control in this case, as the binary data stream might contain bytes that equal ctrl+s or ctrl+q.&lt;br /&gt;
* Break out PWM GPIO pins, e.g. to be able to control servo's. (level-shift to 5V) Oh... those can be used as timer inputs too of course.... take this into account when level-shifting (maybe add padds for the level-shifted output, and for the un-level-shifted input, for high frequency signal capture)&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13111</id>
		<title>Lisa Gumstix Breakout</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13111"/>
		<updated>2012-08-31T13:04:55Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is currently dedicated to a proposal of a Lisa/M to Overo Gumstix breakout board.&lt;br /&gt;
&lt;br /&gt;
== System Design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lmgs_system_diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
* 10/100 Base-T ethernet phy (at least one if not two)&lt;br /&gt;
* USB Host&lt;br /&gt;
* USB OTG&lt;br /&gt;
* FTDI based USB to serial converter connected to the Overo serial console&lt;br /&gt;
* Isolated SPI for connectivity to Lisa/M or other systems&lt;br /&gt;
* Isolated USART for connectivity to Lisa/M or other systems&lt;br /&gt;
* Levelshifted I2C to 5V/3.3V&lt;br /&gt;
* Levelshifted Gumstix GPIO to 5V/3.3V&lt;br /&gt;
* Break out and level-shift GPIO 48,49,50,51. Those pins are the hardware UART TX, RX, CTS, RTS pins. It is very useful to have the CTS and RTS pins broken out, in case someone would want to set up an PPP network link using two Digi XTends. It is not possible to use software flow control in this case, as the binary data stream might contain bytes that equal ctrl+s or ctrl+q.&lt;br /&gt;
* Break out PWM GPIO pins, e.g. to be able to control servo's. (level-shift to 5V)&lt;br /&gt;
  * Oh... those can be used as timer inputs too of course.... take this into account when level-shifting (maybe add padds for the level-shifted output, and for the un-level-shifted input, for high frequency signal capture)&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13110</id>
		<title>Lisa Gumstix Breakout</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13110"/>
		<updated>2012-08-31T13:00:10Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is currently dedicated to a proposal of a Lisa/M to Overo Gumstix breakout board.&lt;br /&gt;
&lt;br /&gt;
== System Design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lmgs_system_diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
* 10/100 Base-T ethernet phy (at least one if not two)&lt;br /&gt;
* USB Host&lt;br /&gt;
* USB OTG&lt;br /&gt;
* FTDI based USB to serial converter connected to the Overo serial console&lt;br /&gt;
* Isolated SPI for connectivity to Lisa/M or other systems&lt;br /&gt;
* Isolated USART for connectivity to Lisa/M or other systems&lt;br /&gt;
* Levelshifted I2C to 5V/3.3V&lt;br /&gt;
* Levelshifted Gumstix GPIO to 5V/3.3V&lt;br /&gt;
* Break out and level-shift GPIO 48,49,50,51. Those pins are the hardware UART TX, RX, CTS, RTS pins. It is very useful to have the CTS and RTS pins broken out, in case someone would want to set up an PPP network link using two Digi XTends. It is not possible to use software flow control in this case, as the binary data stream might contain bytes that equal ctrl+s or ctrl+q.&lt;br /&gt;
* Break out PWM GPIO pins, e.g. to be able to control servo's. (level-shift to 5V)&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13109</id>
		<title>Lisa Gumstix Breakout</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13109"/>
		<updated>2012-08-31T12:59:17Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is currently dedicated to a proposal of a Lisa/M to Overo Gumstix breakout board.&lt;br /&gt;
&lt;br /&gt;
== System Design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lmgs_system_diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
* 10/100 Base-T ethernet phy (at least one if not two)&lt;br /&gt;
* USB Host&lt;br /&gt;
* USB OTG&lt;br /&gt;
* FTDI based USB to serial converter connected to the Overo serial console&lt;br /&gt;
* Isolated SPI for connectivity to Lisa/M or other systems&lt;br /&gt;
* Isolated USART for connectivity to Lisa/M or other systems&lt;br /&gt;
* Levelshifted I2C to 5V/3.3V&lt;br /&gt;
* Levelshifted Gumstix GPIO to 5V/3.3V&lt;br /&gt;
* Break out and level-shift GPIO 48,49,50,51. Those pins are the hardware UART TX, RX, CTS, RTS pins. It is very useful to have the CTS and RTS pins broken out, in case someone would want to set up an PPP network link using two Digi XTends. It is not possible to use software flow control in this case, as the binary data stream might contain bytes that equal ctrl+s or ctrl+q.&lt;br /&gt;
* Break out PWM GPIO pins, e.g. to be able to control servo's. (maybe also level-shift to 5V)&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13108</id>
		<title>Lisa Gumstix Breakout</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa_Gumstix_Breakout&amp;diff=13108"/>
		<updated>2012-08-31T12:48:58Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is currently dedicated to a proposal of a Lisa/M to Overo Gumstix breakout board.&lt;br /&gt;
&lt;br /&gt;
== System Design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lmgs_system_diagram.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
* 10/100 Base-T ethernet phy (at least one if not two)&lt;br /&gt;
* USB Host&lt;br /&gt;
* USB OTG&lt;br /&gt;
* FTDI based USB to serial converter connected to the Overo serial console&lt;br /&gt;
* Isolated SPI for connectivity to Lisa/M or other systems&lt;br /&gt;
* Isolated USART for connectivity to Lisa/M or other systems&lt;br /&gt;
* Levelshifted I2C to 5V/3.3V&lt;br /&gt;
* Levelshifted Gumstix GPIO to 5V/3.3V&lt;br /&gt;
* Break out and level-shift GPIO 48,49,50,51. Those pins are the hardware UART TX, RX, CTS, RTS pins. It is very useful to have the CTS and RTS pins broken out, in case someone would want to set up an PPP network link using two Digi XTends. It is not possible to use software flow control in this case, as the binary data stream might contain bytes that equal ctrl+s or ctrl+q.&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/L&amp;diff=11470</id>
		<title>Lisa/L</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/L&amp;diff=11470"/>
		<updated>2012-02-04T23:59:27Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: /* IO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describe how to use Lisa/L from a user point of view&lt;br /&gt;
&lt;br /&gt;
= Lisa/L =&lt;br /&gt;
&lt;br /&gt;
Lisa ( the Lost Illusions Serendipitous Autopilot) is a new range of autopilots based on [http://www.st.com/mcu/inchtml-pages-stm32.html STM32] microcontrollers ( CortexM3@72Mhz ) designed to run Paparazzi.&lt;br /&gt;
There's no such thing as a perfect autopilot, only autopilots adapted to a particular purpose. This is the reason why Lisa comes in different flavors for different usages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
Lisa/L is a dual processor board autopilot designed to allow the possibility of using Linux for Paparazzi airborne code.&lt;br /&gt;
&lt;br /&gt;
[[Image:lisa_l_bloc_diag_simple.png|360px]]&lt;br /&gt;
[[Image:lisa_l_top.png|360px]] [[Image:lisa_l_bot.png|360px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware Revision History =&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;
!''Version #''!!''Release Date''!!''Release Notes''&lt;br /&gt;
|-&lt;br /&gt;
|v1.00||???||Initial release of Lisa/L&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
* STM32 microcontroller (CortexM3@72Mhz) [http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00191185.pdf STM32F103RE datasheet]&lt;br /&gt;
* ?x Analog input channels 0V - 3.3V (2 channels with optional on-board resistor bridge)&lt;br /&gt;
* 3x 3.3V TTL UART (5V tolerant)&lt;br /&gt;
* 1x CAN&lt;br /&gt;
* 6x PWM outputs&lt;br /&gt;
* 1x R/C receiver PPM frame input (trig pin on UART1 connector)&lt;br /&gt;
* 2x [http://en.wikipedia.org/wiki/Serial_Peripheral_Interface SPI] bus&lt;br /&gt;
* 2x [http://en.wikipedia.org/wiki/I2c I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C] bus&lt;br /&gt;
* ?x USB (client)&lt;br /&gt;
* ? switching power supply&lt;br /&gt;
* ? linear regulator&lt;br /&gt;
* ?x status LEDs with attached test point&lt;br /&gt;
* ? grams (? oz)&lt;br /&gt;
* dimensions&lt;br /&gt;
* 4 layers PCB design&lt;br /&gt;
&lt;br /&gt;
=Getting started=&lt;br /&gt;
&lt;br /&gt;
* Install Gnu/Linux Ubuntu and the paparazzi-dev, paparazzi-arm-multilib packages and paparazzi-omap( Installation from the Command Line: on this page [[Installation]] ).&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install paparazzi-dev  paparazzi-arm-multilib paparazzi-omap&lt;br /&gt;
* Connect power to the board. The board accepts input voltage from 6V to 18V. The power connector is from JST and known in the rc world as a BEC connector&lt;br /&gt;
* Connect a mini USB cable in the mini USB connector. This should give you two USB devices. The first one ( usualy /dev/ttyUSB0) is the console for the Overo, the second one is the JTAG for the STM32&lt;br /&gt;
* Flash a test program in the stm32 : &lt;br /&gt;
  make AIRCRAFT=BOOZ2_A7 test_baro.upload&lt;br /&gt;
&lt;br /&gt;
=== Overo ===&lt;br /&gt;
* The main documentation page for the overo on gumstix website is [http://www.gumstix.net/Setup-and-Programming/cat/Overo-Setup-and-Programming/111.html here].&lt;br /&gt;
* We now have a Overo toolchain package ! install the paparazzi-omap package.&lt;br /&gt;
 sudo apt-get install paparazzi-omap&lt;br /&gt;
If you feel it's too easy, you can look at [http://paparazzi.enac.fr/wiki/LisaOveroImage here] and enjoy the fun of compiling openembedded yourself&lt;br /&gt;
* In order to use the SPI link between the STM32 and the Overo, you'll need a patched linux kernel and a couple of libraries. Look in the developer section if you wanna know the gore details of it. If not, just download our pre-compiled filesystem image and kernel from [http://paparazzi.enac.fr/overo/ here] and follow the instruction from [http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Creating-a-bootable-microSD-card/111.html here] to write them on a micro sd card.&lt;br /&gt;
&lt;br /&gt;
When you want the files to be downloaded en written on the SD do: &lt;br /&gt;
&lt;br /&gt;
 cd ~/sw/tools/overo_sd_maker/&lt;br /&gt;
 sw/tools/overo_sd_maker&lt;br /&gt;
 sudo ./overo_sd_maker.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once you have written your OS image to the sd card, you may insert it in the Overo and power Lisa. Connecting a mini usb cable to it will give you access to the console of the Overo as the first USB device ( usualy /dev/ttyUSB0). You can run a terminal like gtkterm or kermit to watch your Overo booting and log on it using root for login and no password. &lt;br /&gt;
&lt;br /&gt;
Install the Kermit application via:&lt;br /&gt;
 $ sudo apt-get install ckermit&lt;br /&gt;
&lt;br /&gt;
Then start up Kemit terminal application do:&lt;br /&gt;
&lt;br /&gt;
 $ kermit -l /dev/ttyUSB0&lt;br /&gt;
 C-Kermit&amp;gt;set flow-control none&lt;br /&gt;
 C-Kermit&amp;gt;set carrier-watch off&lt;br /&gt;
 C-Kermit&amp;gt;set speed 115200&lt;br /&gt;
 /dev/ttyUSB0, 115200 bps&lt;br /&gt;
 C-Kermit&amp;gt;connect&lt;br /&gt;
 Connecting to /dev/ttyUSB0, speed 115200&lt;br /&gt;
 Escape character: Ctrl-\ (ASCII 28, FS): enabled&lt;br /&gt;
 Type the escape character followed by C to get back,&lt;br /&gt;
 or followed by ? to see other options.&lt;br /&gt;
&lt;br /&gt;
When you wait a few minutes your overo is booted from the SD card and you can log in if you see overo login:&lt;br /&gt;
&lt;br /&gt;
 overo login: root&lt;br /&gt;
 root@overo:~#&lt;br /&gt;
&lt;br /&gt;
* One on the first things you might want to do is setup wireless networking. Overo Air has a builting wifi adapter. On others you can use an external USB wifi stick.   &lt;br /&gt;
* Flash the STM32 with the link test program&lt;br /&gt;
  make AIRCRAFT=BOOZ2_A8 stm_test_spi_link.upload&lt;br /&gt;
* Compile and upload the Overo test program.&lt;br /&gt;
  make AIRCRAFT=BOOZ2_A8 overo_test_spi_link.upload&lt;br /&gt;
* Log on your Overo and run it&lt;br /&gt;
&lt;br /&gt;
=Use case #1: the fixedwing firmware running in the STM32 only=&lt;br /&gt;
&lt;br /&gt;
Coming soon... look for airframes/AirborneCodeReorg/LisaFw.xml&lt;br /&gt;
&lt;br /&gt;
=Use case #2: the rotorcraft firmware running in the STM32 only=&lt;br /&gt;
&lt;br /&gt;
Use the airframes/Poine/booz2_a7 as an example. You may only have to change some subsystems type to match your peripherals.&lt;br /&gt;
&lt;br /&gt;
    make AIRCRAFT=BOOZ2_A7 ap.upload&lt;br /&gt;
&lt;br /&gt;
=Use case #3: the lisa_passthrough firmware=&lt;br /&gt;
&lt;br /&gt;
This firmware is about turning the STM32 into a simple io processor that sends sensors and radio control to the Overo and fetches actuators position in return.&lt;br /&gt;
&lt;br /&gt;
The stm_passthrough target is what is ran on the STM32.&lt;br /&gt;
&lt;br /&gt;
The overo_test_passthrough target demonstrates the use of the Paparazzi framework on the Overo: communications with the stm32, accurate periodic events and telemetry/datalink over wifi.&lt;br /&gt;
&lt;br /&gt;
= IO =&lt;br /&gt;
&lt;br /&gt;
Lisa-L 0.99 LED order:&lt;br /&gt;
&lt;br /&gt;
  green: 3,  5,  7,  1&lt;br /&gt;
  red:   2,  4,  6,  0&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-top-labeled.png|700px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-back-labeled.png|500px]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE: The silkscreen on the PCB says that the 8th pin of the ADC/Spare header is PB2. This is incorrect, pin 8 is PD2.'''&lt;br /&gt;
&lt;br /&gt;
= Spektrum/JR remote receiver connection diagram =&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_L_V1_1_satellite_receiver_connection.png|500px]]&lt;br /&gt;
&lt;br /&gt;
= PPM Remote receiver =&lt;br /&gt;
&lt;br /&gt;
To use the PPM signal of a PPM remote receiver, the input pin for the signal is the Trig.pin 1 (on UART1 connector), it is hardcoded and can not be changed.  Also make sure that a bridge(~0 Ohm) in the conductor path is soldered. See below picture for the right position.&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-top-labeled-marked.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/L&amp;diff=11469</id>
		<title>Lisa/L</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/L&amp;diff=11469"/>
		<updated>2012-02-04T23:59:05Z</updated>

		<summary type="html">&lt;p&gt;DirkDokter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describe how to use Lisa/L from a user point of view&lt;br /&gt;
&lt;br /&gt;
= Lisa/L =&lt;br /&gt;
&lt;br /&gt;
Lisa ( the Lost Illusions Serendipitous Autopilot) is a new range of autopilots based on [http://www.st.com/mcu/inchtml-pages-stm32.html STM32] microcontrollers ( CortexM3@72Mhz ) designed to run Paparazzi.&lt;br /&gt;
There's no such thing as a perfect autopilot, only autopilots adapted to a particular purpose. This is the reason why Lisa comes in different flavors for different usages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
Lisa/L is a dual processor board autopilot designed to allow the possibility of using Linux for Paparazzi airborne code.&lt;br /&gt;
&lt;br /&gt;
[[Image:lisa_l_bloc_diag_simple.png|360px]]&lt;br /&gt;
[[Image:lisa_l_top.png|360px]] [[Image:lisa_l_bot.png|360px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Hardware Revision History =&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;
!''Version #''!!''Release Date''!!''Release Notes''&lt;br /&gt;
|-&lt;br /&gt;
|v1.00||???||Initial release of Lisa/L&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
* STM32 microcontroller (CortexM3@72Mhz) [http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00191185.pdf STM32F103RE datasheet]&lt;br /&gt;
* ?x Analog input channels 0V - 3.3V (2 channels with optional on-board resistor bridge)&lt;br /&gt;
* 3x 3.3V TTL UART (5V tolerant)&lt;br /&gt;
* 1x CAN&lt;br /&gt;
* 6x PWM outputs&lt;br /&gt;
* 1x R/C receiver PPM frame input (trig pin on UART1 connector)&lt;br /&gt;
* 2x [http://en.wikipedia.org/wiki/Serial_Peripheral_Interface SPI] bus&lt;br /&gt;
* 2x [http://en.wikipedia.org/wiki/I2c I&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;C] bus&lt;br /&gt;
* ?x USB (client)&lt;br /&gt;
* ? switching power supply&lt;br /&gt;
* ? linear regulator&lt;br /&gt;
* ?x status LEDs with attached test point&lt;br /&gt;
* ? grams (? oz)&lt;br /&gt;
* dimensions&lt;br /&gt;
* 4 layers PCB design&lt;br /&gt;
&lt;br /&gt;
=Getting started=&lt;br /&gt;
&lt;br /&gt;
* Install Gnu/Linux Ubuntu and the paparazzi-dev, paparazzi-arm-multilib packages and paparazzi-omap( Installation from the Command Line: on this page [[Installation]] ).&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install paparazzi-dev  paparazzi-arm-multilib paparazzi-omap&lt;br /&gt;
* Connect power to the board. The board accepts input voltage from 6V to 18V. The power connector is from JST and known in the rc world as a BEC connector&lt;br /&gt;
* Connect a mini USB cable in the mini USB connector. This should give you two USB devices. The first one ( usualy /dev/ttyUSB0) is the console for the Overo, the second one is the JTAG for the STM32&lt;br /&gt;
* Flash a test program in the stm32 : &lt;br /&gt;
  make AIRCRAFT=BOOZ2_A7 test_baro.upload&lt;br /&gt;
&lt;br /&gt;
=== Overo ===&lt;br /&gt;
* The main documentation page for the overo on gumstix website is [http://www.gumstix.net/Setup-and-Programming/cat/Overo-Setup-and-Programming/111.html here].&lt;br /&gt;
* We now have a Overo toolchain package ! install the paparazzi-omap package.&lt;br /&gt;
 sudo apt-get install paparazzi-omap&lt;br /&gt;
If you feel it's too easy, you can look at [http://paparazzi.enac.fr/wiki/LisaOveroImage here] and enjoy the fun of compiling openembedded yourself&lt;br /&gt;
* In order to use the SPI link between the STM32 and the Overo, you'll need a patched linux kernel and a couple of libraries. Look in the developer section if you wanna know the gore details of it. If not, just download our pre-compiled filesystem image and kernel from [http://paparazzi.enac.fr/overo/ here] and follow the instruction from [http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Creating-a-bootable-microSD-card/111.html here] to write them on a micro sd card.&lt;br /&gt;
&lt;br /&gt;
When you want the files to be downloaded en written on the SD do: &lt;br /&gt;
&lt;br /&gt;
 cd ~/sw/tools/overo_sd_maker/&lt;br /&gt;
 sw/tools/overo_sd_maker&lt;br /&gt;
 sudo ./overo_sd_maker.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once you have written your OS image to the sd card, you may insert it in the Overo and power Lisa. Connecting a mini usb cable to it will give you access to the console of the Overo as the first USB device ( usualy /dev/ttyUSB0). You can run a terminal like gtkterm or kermit to watch your Overo booting and log on it using root for login and no password. &lt;br /&gt;
&lt;br /&gt;
Install the Kermit application via:&lt;br /&gt;
 $ sudo apt-get install ckermit&lt;br /&gt;
&lt;br /&gt;
Then start up Kemit terminal application do:&lt;br /&gt;
&lt;br /&gt;
 $ kermit -l /dev/ttyUSB0&lt;br /&gt;
 C-Kermit&amp;gt;set flow-control none&lt;br /&gt;
 C-Kermit&amp;gt;set carrier-watch off&lt;br /&gt;
 C-Kermit&amp;gt;set speed 115200&lt;br /&gt;
 /dev/ttyUSB0, 115200 bps&lt;br /&gt;
 C-Kermit&amp;gt;connect&lt;br /&gt;
 Connecting to /dev/ttyUSB0, speed 115200&lt;br /&gt;
 Escape character: Ctrl-\ (ASCII 28, FS): enabled&lt;br /&gt;
 Type the escape character followed by C to get back,&lt;br /&gt;
 or followed by ? to see other options.&lt;br /&gt;
&lt;br /&gt;
When you wait a few minutes your overo is booted from the SD card and you can log in if you see overo login:&lt;br /&gt;
&lt;br /&gt;
 overo login: root&lt;br /&gt;
 root@overo:~#&lt;br /&gt;
&lt;br /&gt;
* One on the first things you might want to do is setup wireless networking. Overo Air has a builting wifi adapter. On others you can use an external USB wifi stick.   &lt;br /&gt;
* Flash the STM32 with the link test program&lt;br /&gt;
  make AIRCRAFT=BOOZ2_A8 stm_test_spi_link.upload&lt;br /&gt;
* Compile and upload the Overo test program.&lt;br /&gt;
  make AIRCRAFT=BOOZ2_A8 overo_test_spi_link.upload&lt;br /&gt;
* Log on your Overo and run it&lt;br /&gt;
&lt;br /&gt;
=Use case #1: the fixedwing firmware running in the STM32 only=&lt;br /&gt;
&lt;br /&gt;
Coming soon... look for airframes/AirborneCodeReorg/LisaFw.xml&lt;br /&gt;
&lt;br /&gt;
=Use case #2: the rotorcraft firmware running in the STM32 only=&lt;br /&gt;
&lt;br /&gt;
Use the airframes/Poine/booz2_a7 as an example. You may only have to change some subsystems type to match your peripherals.&lt;br /&gt;
&lt;br /&gt;
    make AIRCRAFT=BOOZ2_A7 ap.upload&lt;br /&gt;
&lt;br /&gt;
=Use case #3: the lisa_passthrough firmware=&lt;br /&gt;
&lt;br /&gt;
This firmware is about turning the STM32 into a simple io processor that sends sensors and radio control to the Overo and fetches actuators position in return.&lt;br /&gt;
&lt;br /&gt;
The stm_passthrough target is what is ran on the STM32.&lt;br /&gt;
&lt;br /&gt;
The overo_test_passthrough target demonstrates the use of the Paparazzi framework on the Overo: communications with the stm32, accurate periodic events and telemetry/datalink over wifi.&lt;br /&gt;
&lt;br /&gt;
= IO =&lt;br /&gt;
&lt;br /&gt;
Lisa-L 0.99 LED order:&lt;br /&gt;
&lt;br /&gt;
  green: 3,  5,  7,  1&lt;br /&gt;
  red:   2,  4,  6,  0&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-top-labeled.png|700px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-back-labeled.png|500px]]&lt;br /&gt;
'''NOTE: The silkscreen on the PCB says that the 8th pin of the ADC/Spare header is PB2. This is incorrect, pin 8 is PD2.'''&lt;br /&gt;
&lt;br /&gt;
= Spektrum/JR remote receiver connection diagram =&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_L_V1_1_satellite_receiver_connection.png|500px]]&lt;br /&gt;
&lt;br /&gt;
= PPM Remote receiver =&lt;br /&gt;
&lt;br /&gt;
To use the PPM signal of a PPM remote receiver, the input pin for the signal is the Trig.pin 1 (on UART1 connector), it is hardcoded and can not be changed.  Also make sure that a bridge(~0 Ohm) in the conductor path is soldered. See below picture for the right position.&lt;br /&gt;
&lt;br /&gt;
[[Image:LisaL-V1 1-top-labeled-marked.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>DirkDokter</name></author>
	</entry>
</feed>