<?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=Teslatech</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=Teslatech"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/Teslatech"/>
	<updated>2026-04-08T13:54:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18524</id>
		<title>Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18524"/>
		<updated>2014-04-17T23:36:23Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lisa/Bone is a project consisting in designing a Paparazzi [http://beagleboard.org/Products/BeagleBone+Black Beaglebone Black] cape.&lt;br /&gt;
&lt;br /&gt;
For now, this page is a placeholder for the definition of the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MCU or not MCU ==&lt;br /&gt;
&lt;br /&gt;
BeagleBone Black (BBB) has all the peripherals needed to make an autopilot (PWM, ADC, SPI, I2C, UARTS, Capture, etc...). The daughter board could just be a connectors, supply and aspirin carrier board. It would minimize cost and complexity, but we'd lose the possibility of segregating critical code. Discarded for that reason&lt;br /&gt;
&lt;br /&gt;
I suggest a 64 pins STM F4 (like in Lisa/M)&lt;br /&gt;
&lt;br /&gt;
We don't need level converters. BBB is happy with 3.3V IOs&lt;br /&gt;
&lt;br /&gt;
My current plan is to base the cape on Lisa/M, rework supply and connectors.&lt;br /&gt;
   NeoFromMatrix: Maybe we could use a MCU with more IO and 0805 parts.&lt;br /&gt;
   The cape should provide enough parts and 0805 is easier tosolder by hand. &lt;br /&gt;
&lt;br /&gt;
Communications between F4 and BBB is through SPI (BBB master, F4 slave) in order to have high bandwith&lt;br /&gt;
&lt;br /&gt;
Gautier says he wants UART communications: &lt;br /&gt;
   can you justify and specify which UART of the F4 you'd use ?&lt;br /&gt;
   My argument against it is that UARTs are a scarce resource on the F4 - SPI is easy on BBB, from userland using SPIdev ( [http://elinux.org/BeagleBone_Black_Enable_SPIDEV see here]) &lt;br /&gt;
   On F4, Lisa/L's SPI code can be reused. This code is well validated (or did it get broken by the change to libopencm?)&lt;br /&gt;
&lt;br /&gt;
   =&amp;gt; UART comminucation is still easier to use expecially for new-comers. It is also sufficient for high-level operations (controlling at navigation level) from the BB.&lt;br /&gt;
   SPI code on MCU side has changed a lot since Lisa/L, I wouldn't bet it is still working.&lt;br /&gt;
   I really don't care which UART is used.&lt;br /&gt;
   &lt;br /&gt;
   Looking into the UART on both the F4 and BBB are very fast.  We can achieve over 3Mbps.&lt;br /&gt;
&lt;br /&gt;
== Connectors ==&lt;br /&gt;
&lt;br /&gt;
Let's start from Lisa/M connectors. We have a little bit more space available&lt;br /&gt;
  - I would like 10 full size servo connectors - supply bus isolated&lt;br /&gt;
&lt;br /&gt;
   NeoFromMatrix: how about 0.1&amp;quot; headers ? They are easier to solder by hand and molex connectors cost a bit...&lt;br /&gt;
&lt;br /&gt;
== Supply ==&lt;br /&gt;
&lt;br /&gt;
-If we're going for the code segregation thing, it makes sense to have two independent rails: one non-critical for BBB and one critical for F4&lt;br /&gt;
&lt;br /&gt;
-I would like to be able to power the whole thing from 3/4S flight pack&lt;br /&gt;
   6S would be cool (for extreme fast models), this is also the limitaton for most cheap chargers&lt;br /&gt;
&lt;br /&gt;
-Should we go for the PTH8080 that were used on Lisa/L, a pair of them?&lt;br /&gt;
&lt;br /&gt;
-Any idea for a good connector for input supply ? Or do we just skip that and go for beefy solder pads as usual?&lt;br /&gt;
   0.1&amp;quot; screw terminals, seperate input for the servos (these maybe need higher voltage and will need more power)&lt;br /&gt;
&lt;br /&gt;
-Beagle has the possibility to run on one lipo cell and has a chip capable of charging it from the 5V supply ( [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system see here] )&lt;br /&gt;
Should we implement something like this to allow changing the vehicle's battery pack without having to shutdown the autopilot (or switch from lab power supply to flight pack) ?&lt;br /&gt;
1400mAh give ~3h endurance and weights 25g, 500mAh is 10g&lt;br /&gt;
   Discarded, Bryan says it doesn't work&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
  &lt;br /&gt;
-We want a push button for triggering BBB shutdown - maybe with a molex to be able to mount a button in a convenient place when in airframe (P9-9 to ground [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/03/05/bbb--sonos-like-sound-system see here])&lt;br /&gt;
&lt;br /&gt;
-If linux system is setup properly you will not have to shutdown the BB.  You will be able to just pull power with no issues.&lt;br /&gt;
&lt;br /&gt;
-Maybe one or two GPIO in order to have status leds next to the button?&lt;br /&gt;
&lt;br /&gt;
-Do we want to be able to flash F4 from BBB?&lt;br /&gt;
&lt;br /&gt;
   NeoFromMatrix: That would be nice.&lt;br /&gt;
&lt;br /&gt;
== Communications ==&lt;br /&gt;
&lt;br /&gt;
* BBB drives the xbee and tunnels communications to F4. Bad, we lose advantage of code segregation &lt;br /&gt;
* BBB and F4 each have a xbee. Bad, we increase weight and power consumption :) &lt;br /&gt;
* for short distances (rotorcraft), BBB through wifi(Bryan-wifi is not hard real time), F4 through wifi&lt;br /&gt;
* BBB communicates throught internet stick, BBB forwards data to F4 &lt;br /&gt;
* BBB uses internet stick, F4 uses xbee -&amp;gt; redundant communication, interent stick could be used for image/video&lt;br /&gt;
* BBB to F4 SPI interconnect, for doing some things as userprocesss on BBB and realtime stuff on the F4&lt;br /&gt;
* CAN has built in data framing and CRC with many-master-many-slave type data system.&lt;br /&gt;
   Lisa/M (the F4 board) has one can driver. Do we want to add a second driver for the BBB?&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
   &lt;br /&gt;
Let's describe a couple of scenarios of what we would do with that board:&lt;br /&gt;
&lt;br /&gt;
* I want to investigate autonomous soaring. F4 runs the current fixedwing code. BBB runs the autonomous soaring program written in Python/Numpy and talks to the navigation layer running on F4. BBB receives every sensor measurement, state estimation and actuators command from F4, for real time use and logging.&lt;br /&gt;
&lt;br /&gt;
* Someone runs image processing on BBB (using a usb webcam?) and current rotorcraft code in F4 - similar to case 1&lt;br /&gt;
&lt;br /&gt;
* OpenCV onboard for motion tracking and 2d ground tracking for extra stability systems.&lt;br /&gt;
&lt;br /&gt;
  Does image processing require some kind of fancy camera with a fancy interface, or is USB good enough?  BBB only has one USB... so webcam, or wifi, or hub.. &lt;br /&gt;
  Bryan: Cheap USB-webcam would be all we would need.&lt;br /&gt;
&lt;br /&gt;
  Do we want a USB hub on the daughterboard - i would say no, keep it cheap and simple&lt;br /&gt;
  Bryan:  We may be able to enable host mode on USB0 and get use of both USB0 and USB1 on the board.&lt;br /&gt;
&lt;br /&gt;
* Run code, used for research topics (maybe generated from Matlab/Simulink) on the BBB and let the F4 fly the plane and do the basic (realtime) stuff&lt;br /&gt;
&lt;br /&gt;
* What else?&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:Autopilots]]&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18481</id>
		<title>Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18481"/>
		<updated>2014-04-15T01:21:50Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lisa/Bone is a project consisting in designing a Paparazzi [http://beagleboard.org/Products/BeagleBone+Black Beaglebone Black] cape.&lt;br /&gt;
&lt;br /&gt;
For now, this page is a placeholder for the definition of the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MCU or not MCU ==&lt;br /&gt;
&lt;br /&gt;
BeagleBone Black (BBB) has all the peripherals needed to make an autopilot (PWM, ADC, SPI, I2C, UARTS, Capture, etc...). The daughter board could just be a connectors, supply and aspirin carrier board. It would minimize cost and complexity, but we'd lose the possibility of segregating critical code. Discarded for that reason&lt;br /&gt;
&lt;br /&gt;
I suggest a 64 pins STM F4 (like in Lisa/M)&lt;br /&gt;
&lt;br /&gt;
We don't need level converters. BBB is happy with 3.3V IOs&lt;br /&gt;
&lt;br /&gt;
My current plan is to base the cape on Lisa/M, rework supply and connectors.&lt;br /&gt;
&lt;br /&gt;
Communications between F4 and BBB is through SPI (BBB master, F4 slave) in order to have high bandwith&lt;br /&gt;
&lt;br /&gt;
Gautier says he wants UART communications: &lt;br /&gt;
   can you justify and specify which UART of the F4 you'd use ?&lt;br /&gt;
   My argument against it is that UARTs are a scarce resource on the F4 - SPI is easy on BBB, from userland using SPIdev ( [http://elinux.org/BeagleBone_Black_Enable_SPIDEV see here]) &lt;br /&gt;
   On F4, Lisa/L's SPI code can be reused. This code is well validated (or did it get broken by the change to libopencm?)&lt;br /&gt;
&lt;br /&gt;
   =&amp;gt; UART comminucation is still easier to use expecially for new-comers. It is also sufficient for high-level operations (controlling at navigation level) from the BB.&lt;br /&gt;
   SPI code on MCU side has changed a lot since Lisa/L, I wouldn't bet it is still working.&lt;br /&gt;
   I really don't care which UART is used.&lt;br /&gt;
&lt;br /&gt;
== Connectors ==&lt;br /&gt;
&lt;br /&gt;
Let's start from Lisa/M connectors. We have a little bit more space available&lt;br /&gt;
  - I would like 10 full size servo connectors - supply bus isolated&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Supply ==&lt;br /&gt;
&lt;br /&gt;
-If we're going for the code segregation thing, it makes sense to have two independent rails: one non-critical for BBB and one critical for F4&lt;br /&gt;
&lt;br /&gt;
-I would like to be able to power the whole thing from 3/4S flight pack&lt;br /&gt;
&lt;br /&gt;
-Should we go for the PTH8080 that were used on Lisa/L, a pair of them?&lt;br /&gt;
&lt;br /&gt;
-Any idea for a good connector for input supply ? Or do we just skip that and go for beefy solder pads as usual?&lt;br /&gt;
&lt;br /&gt;
-Beagle has the possibility to run on one lipo cell and has a chip capable of charging it from the 5V supply ( [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system see here] )&lt;br /&gt;
Should we implement something like this to allow changing the vehicle's battery pack without having to shutdown the autopilot (or switch from lab power supply to flight pack) ?&lt;br /&gt;
1400mAh give ~3h endurance and weights 25g, 500mAh is 10g&lt;br /&gt;
   Discarded, Bryan says it doesn't work&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
  &lt;br /&gt;
-We want a push button for triggering BBB shutdown - maybe with a molex to be able to mount a button in a convenient place when in airframe (P9-9 to ground [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/03/05/bbb--sonos-like-sound-system see here])&lt;br /&gt;
&lt;br /&gt;
-If linux system is setup properly you will not have to shutdown the BB.  You will be able to just pull power with no issues.&lt;br /&gt;
&lt;br /&gt;
-Maybe one or two GPIO in order to have status leds next to the button?&lt;br /&gt;
&lt;br /&gt;
-Do we want to be able to flash F4 from BBB?&lt;br /&gt;
&lt;br /&gt;
== Communications ==&lt;br /&gt;
&lt;br /&gt;
* BBB drives the xbee and tunnels communications to F4. Bad, we lose advantage of code segregation &lt;br /&gt;
* BBB and F4 each have a xbee. Bad, we increase weight and power consumption :) &lt;br /&gt;
* for short distances (rotorcraft), BBB through wifi(Bryan-wifi is not hard real time), F4 through wifi&lt;br /&gt;
* BBB communicates throught internet stick, BBB forwards data to F4 &lt;br /&gt;
* BBB uses internet stick, F4 uses xbee -&amp;gt; redundant communication, interent stick could be used for image/video&lt;br /&gt;
* CAN has built in data framing and CRC with many-master-many-slave type data system.&lt;br /&gt;
   Lisa/M (the F4 board) has one can driver. Do we want to add a second driver for the BBB?&lt;br /&gt;
== Use cases ==&lt;br /&gt;
   &lt;br /&gt;
Let's describe a couple of scenarios of what we would do with that board:&lt;br /&gt;
&lt;br /&gt;
* I want to investigate autonomous soaring. F4 runs the current fixedwing code. BBB runs the autonomous soaring program written in Python/Numpy and talks to the navigation layer running on F4. BBB receives every sensor measurement, state estimation and actuators command from F4, for real time use and logging.&lt;br /&gt;
&lt;br /&gt;
* Someone runs image processing on BBB (using a usb webcam?) and current rotorcraft code in F4 - similar to case 1&lt;br /&gt;
&lt;br /&gt;
* OpenCV onboard for motion tracking and 2d ground tracking for extra stability systems.&lt;br /&gt;
&lt;br /&gt;
  Does image processing require some kind of fancy camera with a fancy interface, or is USB good enough?  BBB only has one USB... so webcam, or wifi, or hub.. &lt;br /&gt;
  Bryan: Cheap USB-webcam would be all we would need.&lt;br /&gt;
&lt;br /&gt;
  Do we want a USB hub on the daughterboard - i would say no, keep it cheap and simple&lt;br /&gt;
  Bryan:  We may be able to enable host mode on USB0 and get use of both USB0 and USB1 on the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* What else?&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:Autopilots]]&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18477</id>
		<title>Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18477"/>
		<updated>2014-04-14T19:23:20Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: /* Use cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lisa/Bone is a project consisting in designing a Paparazzi [http://beagleboard.org/Products/BeagleBone+Black Beaglebone Black] cape.&lt;br /&gt;
&lt;br /&gt;
For now, this page is a placeholder for the definition of the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MCU or not MCU ==&lt;br /&gt;
&lt;br /&gt;
BeagleBone Black (BBB) has all the peripherals needed to make an autopilot (PWM, ADC, SPI, I2C, UARTS, Capture, etc...). The daughter board could just be a connectors, supply and aspirin carrier board. It would minimize cost and complexity, but we'd lose the possibility of segregating critical code. Discarded for that reason&lt;br /&gt;
&lt;br /&gt;
I suggest a 64 pins STM F4 (like in Lisa/M)&lt;br /&gt;
&lt;br /&gt;
We don't need level converters. BBB is happy with 3.3V IOs&lt;br /&gt;
&lt;br /&gt;
My current plan is to base the cape on Lisa/M, rework supply and connectors.&lt;br /&gt;
&lt;br /&gt;
Communications between F4 and BBB is through SPI (BBB master, F4 slave) in order to have high bandwith&lt;br /&gt;
&lt;br /&gt;
Gautier says he wants UART communications: &lt;br /&gt;
   can you justify and specify which UART of the F4 you'd use ?&lt;br /&gt;
   My argument against it is that UARTs are a scarce resource on the F4 - SPI is easy on BBB, from userland using SPIdev ( [http://elinux.org/BeagleBone_Black_Enable_SPIDEV see here]) &lt;br /&gt;
   On F4, Lisa/L's SPI code can be reused. This code is well validated (or did it get broken by the change to libopencm?)&lt;br /&gt;
&lt;br /&gt;
   =&amp;gt; UART comminucation is still easier to use expecially for new-comers. It is also sufficient for high-level operations (controlling at navigation level) from the BB.&lt;br /&gt;
   SPI code on MCU side has changed a lot since Lisa/L, I wouldn't bet it is still working.&lt;br /&gt;
   I really don't care which UART is used.&lt;br /&gt;
&lt;br /&gt;
== Connectors ==&lt;br /&gt;
&lt;br /&gt;
Let's start from Lisa/M connectors. We have a little bit more space available&lt;br /&gt;
  - I would like 10 full size servo connectors - supply bus isolated&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Supply ==&lt;br /&gt;
&lt;br /&gt;
-If we're going for the code segregation thing, it makes sense to have two independent rails: one non-critical for BBB and one critical for F4&lt;br /&gt;
&lt;br /&gt;
-I would like to be able to power the whole thing from 3/4S flight pack&lt;br /&gt;
&lt;br /&gt;
-Should we go for the PTH8080 that were used on Lisa/L, a pair of them?&lt;br /&gt;
&lt;br /&gt;
-Any idea for a good connector for input supply ? Or do we just skip that and go for beefy solder pads as usual?&lt;br /&gt;
&lt;br /&gt;
-Beagle has the possibility to run on one lipo cell and has a chip capable of charging it from the 5V supply ( [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system see here] )&lt;br /&gt;
Should we implement something like this to allow changing the vehicle's battery pack without having to shutdown the autopilot (or switch from lab power supply to flight pack) ?&lt;br /&gt;
1400mAh give ~3h endurance and weights 25g, 500mAh is 10g&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
  &lt;br /&gt;
-We want a push button for triggering BBB shutdown - maybe with a molex to be able to mount a button in a convenient place when in airframe (P9-9 to ground [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/03/05/bbb--sonos-like-sound-system see here])&lt;br /&gt;
&lt;br /&gt;
-If linux system is setup properly you will not have to shutdown the BB.  You will be able to just pull power with no issues.&lt;br /&gt;
&lt;br /&gt;
-Maybe one or two GPIO in order to have status leds next to the button?&lt;br /&gt;
&lt;br /&gt;
-Do we want to be able to flash F4 from BBB?&lt;br /&gt;
&lt;br /&gt;
== Communications ==&lt;br /&gt;
&lt;br /&gt;
* BBB drives the xbee and tunnels communications to F4. Bad, we lose advantage of code segregation &lt;br /&gt;
* BBB and F4 each have a xbee. Bad, we increase weight and power consumption :) &lt;br /&gt;
* for short distances (rotorcraft), BBB through wifi(Bryan-wifi is not hard real time), F4 through wifi&lt;br /&gt;
* BBB communicates throught internet stick, BBB forwards data to F4 &lt;br /&gt;
* BBB uses internet stick, F4 uses xbee -&amp;gt; redundant communication, interent stick could be used for image/video&lt;br /&gt;
* CAN has built in data framing and CRC with many-master-many-slave type data system.&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
   &lt;br /&gt;
Let's describe a couple of scenarios of what we would do with that board:&lt;br /&gt;
&lt;br /&gt;
* I want to investigate autonomous soaring. F4 runs the current fixedwing code. BBB runs the autonomous soaring program written in Python/Numpy and talks to the navigation layer running on F4. BBB receives every sensor measurement, state estimation and actuators command from F4, for real time use and logging.&lt;br /&gt;
&lt;br /&gt;
* Someone runs image processing on BBB (using a usb webcam?) and current rotorcraft code in F4 - similar to case 1&lt;br /&gt;
&lt;br /&gt;
* OpenCV onboard for motion tracking and 2d ground tracking for extra stability systems&lt;br /&gt;
&lt;br /&gt;
* What else?&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:Autopilots]]&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18476</id>
		<title>Talk:Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18476"/>
		<updated>2014-04-14T19:16:49Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;JKG Questions:&lt;br /&gt;
*Do we need a power supply on the cape? It will increase cost quite a bit. If Lisa/M is still connected directly to peripherals it may as well get power from off-board, most vehicles already have a 5-6V servo bus&lt;br /&gt;
* fully-populated Lia vs Lisa/M?&lt;br /&gt;
** Allows (almost) all connections to be broken out through the cape and BBB -- 0.1&amp;quot; header pins on Lia and sockets on cape with screws to lock boards together&lt;br /&gt;
*** much less wire nest&lt;br /&gt;
** no header pin access to ANALOG1 or ANALOG2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note from Bryan:&lt;br /&gt;
*The SPI bus on the BB only can act as master.  This would make the BB have to do busy loops polling the autopilot to check for data.  I propose CAN as it has error detection and data framing.&lt;br /&gt;
*The lithium battery system only can act as a charger.  The BB's power supply will not let it run on the nominal 3.6v of the lithium cell without a boosting SMPS.&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18475</id>
		<title>Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18475"/>
		<updated>2014-04-14T19:14:46Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: /* Misc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lisa/Bone is a project consisting in designing a Paparazzi [http://beagleboard.org/Products/BeagleBone+Black Beaglebone Black] cape.&lt;br /&gt;
&lt;br /&gt;
For now, this page is a placeholder for the definition of the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MCU or not MCU ==&lt;br /&gt;
&lt;br /&gt;
BeagleBone Black (BBB) has all the peripherals needed to make an autopilot (PWM, ADC, SPI, I2C, UARTS, Capture, etc...). The daughter board could just be a connectors, supply and aspirin carrier board. It would minimize cost and complexity, but we'd lose the possibility of segregating critical code. Discarded for that reason&lt;br /&gt;
&lt;br /&gt;
I suggest a 64 pins STM F4 (like in Lisa/M)&lt;br /&gt;
&lt;br /&gt;
We don't need level converters. BBB is happy with 3.3V IOs&lt;br /&gt;
&lt;br /&gt;
My current plan is to base the cape on Lisa/M, rework supply and connectors.&lt;br /&gt;
&lt;br /&gt;
Communications between F4 and BBB is through SPI (BBB master, F4 slave) in order to have high bandwith&lt;br /&gt;
&lt;br /&gt;
Gautier says he wants UART communications: &lt;br /&gt;
   can you justify and specify which UART of the F4 you'd use ?&lt;br /&gt;
   My argument against it is that UARTs are a scarce resource on the F4 - SPI is easy on BBB, from userland using SPIdev ( [http://elinux.org/BeagleBone_Black_Enable_SPIDEV see here]) &lt;br /&gt;
   On F4, Lisa/L's SPI code can be reused. This code is well validated (or did it get broken by the change to libopencm?)&lt;br /&gt;
&lt;br /&gt;
   =&amp;gt; UART comminucation is still easier to use expecially for new-comers. It is also sufficient for high-level operations (controlling at navigation level) from the BB.&lt;br /&gt;
   SPI code on MCU side has changed a lot since Lisa/L, I wouldn't bet it is still working.&lt;br /&gt;
   I really don't care which UART is used.&lt;br /&gt;
&lt;br /&gt;
== Connectors ==&lt;br /&gt;
&lt;br /&gt;
Let's start from Lisa/M connectors. We have a little bit more space available&lt;br /&gt;
  - I would like 10 full size servo connectors - supply bus isolated&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Supply ==&lt;br /&gt;
&lt;br /&gt;
-If we're going for the code segregation thing, it makes sense to have two independent rails: one non-critical for BBB and one critical for F4&lt;br /&gt;
&lt;br /&gt;
-I would like to be able to power the whole thing from 3/4S flight pack&lt;br /&gt;
&lt;br /&gt;
-Should we go for the PTH8080 that were used on Lisa/L, a pair of them?&lt;br /&gt;
&lt;br /&gt;
-Any idea for a good connector for input supply ? Or do we just skip that and go for beefy solder pads as usual?&lt;br /&gt;
&lt;br /&gt;
-Beagle has the possibility to run on one lipo cell and has a chip capable of charging it from the 5V supply ( [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system see here] )&lt;br /&gt;
Should we implement something like this to allow changing the vehicle's battery pack without having to shutdown the autopilot (or switch from lab power supply to flight pack) ?&lt;br /&gt;
1400mAh give ~3h endurance and weights 25g, 500mAh is 10g&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
  &lt;br /&gt;
-We want a push button for triggering BBB shutdown - maybe with a molex to be able to mount a button in a convenient place when in airframe (P9-9 to ground [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/03/05/bbb--sonos-like-sound-system see here])&lt;br /&gt;
&lt;br /&gt;
-If linux system is setup properly you will not have to shutdown the BB.  You will be able to just pull power with no issues.&lt;br /&gt;
&lt;br /&gt;
-Maybe one or two GPIO in order to have status leds next to the button?&lt;br /&gt;
&lt;br /&gt;
-Do we want to be able to flash F4 from BBB?&lt;br /&gt;
&lt;br /&gt;
== Communications ==&lt;br /&gt;
&lt;br /&gt;
* BBB drives the xbee and tunnels communications to F4. Bad, we lose advantage of code segregation &lt;br /&gt;
* BBB and F4 each have a xbee. Bad, we increase weight and power consumption :) &lt;br /&gt;
* for short distances (rotorcraft), BBB through wifi(Bryan-wifi is not hard real time), F4 through wifi&lt;br /&gt;
* BBB communicates throught internet stick, BBB forwards data to F4 &lt;br /&gt;
* BBB uses internet stick, F4 uses xbee -&amp;gt; redundant communication, interent stick could be used for image/video&lt;br /&gt;
* CAN has built in data framing and CRC with many-master-many-slave type data system.&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
   &lt;br /&gt;
Let's describe a couple of scenarios of what we would do with that board:&lt;br /&gt;
&lt;br /&gt;
* I want to investigate autonomous soaring. F4 runs the current fixedwing code. BBB runs the autonomous soaring program written in Python/Numpy and talks to the navigation layer running on F4. BBB receives every sensor measurement, state estimation and actuators command from F4, for real time use and logging.&lt;br /&gt;
&lt;br /&gt;
* Someone runs image processing on BBB (using a usb webcam?) and current rotorcraft code in F4 - similar to case 1&lt;br /&gt;
&lt;br /&gt;
* What else?&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:Autopilots]]&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18474</id>
		<title>Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/Bone&amp;diff=18474"/>
		<updated>2014-04-14T19:12:59Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: /* Communications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lisa/Bone is a project consisting in designing a Paparazzi [http://beagleboard.org/Products/BeagleBone+Black Beaglebone Black] cape.&lt;br /&gt;
&lt;br /&gt;
For now, this page is a placeholder for the definition of the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MCU or not MCU ==&lt;br /&gt;
&lt;br /&gt;
BeagleBone Black (BBB) has all the peripherals needed to make an autopilot (PWM, ADC, SPI, I2C, UARTS, Capture, etc...). The daughter board could just be a connectors, supply and aspirin carrier board. It would minimize cost and complexity, but we'd lose the possibility of segregating critical code. Discarded for that reason&lt;br /&gt;
&lt;br /&gt;
I suggest a 64 pins STM F4 (like in Lisa/M)&lt;br /&gt;
&lt;br /&gt;
We don't need level converters. BBB is happy with 3.3V IOs&lt;br /&gt;
&lt;br /&gt;
My current plan is to base the cape on Lisa/M, rework supply and connectors.&lt;br /&gt;
&lt;br /&gt;
Communications between F4 and BBB is through SPI (BBB master, F4 slave) in order to have high bandwith&lt;br /&gt;
&lt;br /&gt;
Gautier says he wants UART communications: &lt;br /&gt;
   can you justify and specify which UART of the F4 you'd use ?&lt;br /&gt;
   My argument against it is that UARTs are a scarce resource on the F4 - SPI is easy on BBB, from userland using SPIdev ( [http://elinux.org/BeagleBone_Black_Enable_SPIDEV see here]) &lt;br /&gt;
   On F4, Lisa/L's SPI code can be reused. This code is well validated (or did it get broken by the change to libopencm?)&lt;br /&gt;
&lt;br /&gt;
   =&amp;gt; UART comminucation is still easier to use expecially for new-comers. It is also sufficient for high-level operations (controlling at navigation level) from the BB.&lt;br /&gt;
   SPI code on MCU side has changed a lot since Lisa/L, I wouldn't bet it is still working.&lt;br /&gt;
   I really don't care which UART is used.&lt;br /&gt;
&lt;br /&gt;
== Connectors ==&lt;br /&gt;
&lt;br /&gt;
Let's start from Lisa/M connectors. We have a little bit more space available&lt;br /&gt;
  - I would like 10 full size servo connectors - supply bus isolated&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Supply ==&lt;br /&gt;
&lt;br /&gt;
-If we're going for the code segregation thing, it makes sense to have two independent rails: one non-critical for BBB and one critical for F4&lt;br /&gt;
&lt;br /&gt;
-I would like to be able to power the whole thing from 3/4S flight pack&lt;br /&gt;
&lt;br /&gt;
-Should we go for the PTH8080 that were used on Lisa/L, a pair of them?&lt;br /&gt;
&lt;br /&gt;
-Any idea for a good connector for input supply ? Or do we just skip that and go for beefy solder pads as usual?&lt;br /&gt;
&lt;br /&gt;
-Beagle has the possibility to run on one lipo cell and has a chip capable of charging it from the 5V supply ( [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system see here] )&lt;br /&gt;
Should we implement something like this to allow changing the vehicle's battery pack without having to shutdown the autopilot (or switch from lab power supply to flight pack) ?&lt;br /&gt;
1400mAh give ~3h endurance and weights 25g, 500mAh is 10g&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
  &lt;br /&gt;
-We want a push button for triggering BBB shutdown - maybe with a molex to be able to mount a button in a convenient place when in airframe (P9-9 to ground [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/03/05/bbb--sonos-like-sound-system see here])&lt;br /&gt;
&lt;br /&gt;
-Maybe one or two GPIO in order to have status leds next to the button?&lt;br /&gt;
&lt;br /&gt;
-Do we want to be able to flash F4 from BBB?&lt;br /&gt;
&lt;br /&gt;
== Communications ==&lt;br /&gt;
&lt;br /&gt;
* BBB drives the xbee and tunnels communications to F4. Bad, we lose advantage of code segregation &lt;br /&gt;
* BBB and F4 each have a xbee. Bad, we increase weight and power consumption :) &lt;br /&gt;
* for short distances (rotorcraft), BBB through wifi(Bryan-wifi is not hard real time), F4 through wifi&lt;br /&gt;
* BBB communicates throught internet stick, BBB forwards data to F4 &lt;br /&gt;
* BBB uses internet stick, F4 uses xbee -&amp;gt; redundant communication, interent stick could be used for image/video&lt;br /&gt;
* CAN has built in data framing and CRC with many-master-many-slave type data system.&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
   &lt;br /&gt;
Let's describe a couple of scenarios of what we would do with that board:&lt;br /&gt;
&lt;br /&gt;
* I want to investigate autonomous soaring. F4 runs the current fixedwing code. BBB runs the autonomous soaring program written in Python/Numpy and talks to the navigation layer running on F4. BBB receives every sensor measurement, state estimation and actuators command from F4, for real time use and logging.&lt;br /&gt;
&lt;br /&gt;
* Someone runs image processing on BBB (using a usb webcam?) and current rotorcraft code in F4 - similar to case 1&lt;br /&gt;
&lt;br /&gt;
* What else?&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:Autopilots]]&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18473</id>
		<title>Talk:Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18473"/>
		<updated>2014-04-14T19:10:06Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;JKG Questions:&lt;br /&gt;
*Do we need a power supply on the cape? It will increase cost quite a bit. If Lisa/M is still connected directly to peripherals it may as well get power from off-board, most vehicles already have a 5-6V servo bus&lt;br /&gt;
* fully-populated Lia vs Lisa/M?&lt;br /&gt;
** Allows (almost) all connections to be broken out through the cape and BBB -- 0.1&amp;quot; header pins on Lia and sockets on cape with screws to lock boards together&lt;br /&gt;
*** much less wire nest&lt;br /&gt;
** no header pin access to ANALOG1 or ANALOG2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note from Bryan:&lt;br /&gt;
The SPI bus on the BB only can act as master.  This would make the BB have to do busy loops polling the autopilot to check for data.  I propose CAN as it has error detection and data framing.&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18472</id>
		<title>Talk:Lisa/Bone</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Talk:Lisa/Bone&amp;diff=18472"/>
		<updated>2014-04-14T19:09:34Z</updated>

		<summary type="html">&lt;p&gt;Teslatech: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;JKG Questions:&lt;br /&gt;
*Do we need a power supply on the cape? It will increase cost quite a bit. If Lisa/M is still connected directly to peripherals it may as well get power from off-board, most vehicles already have a 5-6V servo bus&lt;br /&gt;
* fully-populated Lia vs Lisa/M?&lt;br /&gt;
** Allows (almost) all connections to be broken out through the cape and BBB -- 0.1&amp;quot; header pins on Lia and sockets on cape with screws to lock boards together&lt;br /&gt;
*** much less wire nest&lt;br /&gt;
** no header pin access to ANALOG1 or ANALOG2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note from Bryan:&lt;br /&gt;
The SPI bus on the BB only can act as master.  This would make the BB have to do busy loops polling the autopilot to check for data.  I propose CAN as it has error correction and data framing.&lt;/div&gt;</summary>
		<author><name>Teslatech</name></author>
	</entry>
</feed>