<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.extremist.software/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markcruz</id>
	<title>Noisebridge - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.extremist.software/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markcruz"/>
	<link rel="alternate" type="text/html" href="https://wiki.extremist.software/wiki/Special:Contributions/Markcruz"/>
	<updated>2026-04-05T11:49:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.extremist.software/index.php?title=Autonomous_Flying_Platform&amp;diff=70137</id>
		<title>Autonomous Flying Platform</title>
		<link rel="alternate" type="text/html" href="https://wiki.extremist.software/index.php?title=Autonomous_Flying_Platform&amp;diff=70137"/>
		<updated>2019-09-01T15:45:00Z</updated>

		<summary type="html">&lt;p&gt;Markcruz: /* Open hardware/source DIY drones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
A long desire of mine has been to create an autonomous flying solution.  I was initially inspired when I saw a competition with the following specifications:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Solution cannot touch the ground&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Retrieve a metal ring on the other side of a barrier&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Bring it back to its origin and drop it off&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The autonomous rc helicopter from Stanford won the competition.  Blimps were tried but they flew away etc... in the outdoor winds.&lt;br /&gt;
&lt;br /&gt;
==Team Members==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Expertise&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Role&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Tim Heath&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Software Developer, Project Management&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Project Leader/Developer&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use a solution that is modular and used as many off the shelf components for rapid prototyping/solutions&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Easy to reprogram and loosely coupled&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Easy to interface with external control devices&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Navigates in 3d space in an efficient easy way&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am going to use the G1 cell phone as it is the most modular.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;G1 Info&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Property&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;th&amp;gt;Value&amp;lt;/th&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Weight&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5.6 ounces&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Size&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4.6 by 2.2 by 0.6 inches&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Memory&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1GB (memory card of up to 8 GB possible)&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Wifi&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Bluetooth&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;USB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Non host mode but yes&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Serial&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Camera&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3 megapixels&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blimp Size Calculations==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
air is about 1.2 kg/m^3&lt;br /&gt;
helium is about 1/6th of that&lt;br /&gt;
 6.2 ounces = 175.767043 grams&lt;br /&gt;
 then you&#039;d need about 175 liters&lt;br /&gt;
180 liters = 6.35664001 cubic feet&lt;br /&gt;
((6.3566 * 3) / (4 * pi))^(1 / 3) = 1.14915539&lt;br /&gt;
 a balloon with a diameter of 2.3 ft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blimps for Purchase We could Use==&lt;br /&gt;
&lt;br /&gt;
http://cgi.ebay.com.sg/52-Mylar-Silver-Blimp-Balloon-Mach-RC-Airship-Blimp_W0QQcmdZViewItemQQitemZ130276783354&lt;br /&gt;
&lt;br /&gt;
I also found out they make latex 3 foot balloons we could use for only 7 dollars that I can pick up locally!&lt;br /&gt;
&lt;br /&gt;
==How to create a Propeller==&lt;br /&gt;
&lt;br /&gt;
http://eds.dyndns.org/~ircjunk/tutorials/mech/prop/prop.html&lt;br /&gt;
&lt;br /&gt;
==Servo Interface Design==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
macpod suggested:  probably cheapest would be to use a arduino based unit to talk to the g1, and have it use a multiplexer or i2c servo controller.  Look how diydrones does it.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Serial Connection Information==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I am by no means a G1 god or guru. There are better people to ask and I&lt;br /&gt;
do hope they&#039;ll chime in. I am however linked to that nickname that you&lt;br /&gt;
dropped and so I feel compelled to answer. ( And no, I&#039;m not nor have I&lt;br /&gt;
ever been, a woman. )&lt;br /&gt;
&lt;br /&gt;
The serial interface you&#039;re discussing does indeed exist on the HTC&lt;br /&gt;
Dream (G1). I hear it&#039;s possible to build a cable that is a mini-usb on&lt;br /&gt;
one end and a normal sized usb on the other. Between the two is a usb to&lt;br /&gt;
serial device. It&#039;s just a nice way to have a set of pin outs and power;&lt;br /&gt;
it&#039;s otherwise not a special cable.&lt;br /&gt;
&lt;br /&gt;
If you have or build such a cable, you&#039;ll then be able to access a few&lt;br /&gt;
low level debuggers or boot prompts on the serial port. If you have the&lt;br /&gt;
right setup, you should be able to connect the cable, attach to the usb&lt;br /&gt;
serial device and set minicom to operate at 115200 8N1 (and with no&lt;br /&gt;
software/hardware flow control).&lt;br /&gt;
&lt;br /&gt;
A photo of the mythical cable attached to my G1 is available here:&lt;br /&gt;
https://www.noisebridge.net/wiki/Image:G1-two-usb-to-serial-cable.jpg&lt;br /&gt;
&lt;br /&gt;
This is the code for that interface (see the Android source):&lt;br /&gt;
/kernel/drivers/serial/msm_serial_debugger.c&lt;br /&gt;
&lt;br /&gt;
From the source you&#039;ll see the following commands available when the&lt;br /&gt;
phone is booted:&lt;br /&gt;
pc&lt;br /&gt;
regs&lt;br /&gt;
reboot&lt;br /&gt;
irqs&lt;br /&gt;
kmsg&lt;br /&gt;
version&lt;br /&gt;
sysrq&lt;br /&gt;
&lt;br /&gt;
If you have the developer or engineering boot loader, you can do more...&lt;br /&gt;
&lt;br /&gt;
You can boot the phone with the camera button held down to access a&lt;br /&gt;
serial boot prompt that looks like this:&lt;br /&gt;
UART0:Cmd&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far I&#039;ve only seen a single command &#039;set&#039;. I didn&#039;t find very much&lt;br /&gt;
useful information beyond that for the serial interface to the (first?)&lt;br /&gt;
boot loader. Perhaps someone knows more about this? It may prove to be&lt;br /&gt;
useful...&lt;br /&gt;
&lt;br /&gt;
Another interesting but unrelated (GSM) test function is available in&lt;br /&gt;
the dialer program when the phone is booted by calling this number:&lt;br /&gt;
*#*#INFO#*#*&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
Jake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Serial Hardware to Interface with G1==&lt;br /&gt;
&lt;br /&gt;
https://noisebridge.net/wiki/Noisedroid/FAQ#USB_to_Serial_interface_with_the_G1 &lt;br /&gt;
&lt;br /&gt;
==Helpful Links==&lt;br /&gt;
&lt;br /&gt;
=== Android hacking ===&lt;br /&gt;
* https://noisebridge.net/Noisedroid&lt;br /&gt;
* http://www.android-unleashed.com/2009/01/root-your-android-g1-with-rc30-firmware.html&lt;br /&gt;
* http://forum.xda-developers.com/forumdisplay.php?f=448&lt;br /&gt;
* http://andblogs.net/2009/01/new-future-proofed-pre-cupcake-checkout/&lt;br /&gt;
&lt;br /&gt;
=== HTC Pinout/discussions ===&lt;br /&gt;
* http://www.tracyandmatt.co.uk/blogs/index.php/2006/09/10/htc_hermes_usb_connector_pin_config&lt;br /&gt;
* http://groups.google.com/group/android-platform/browse_thread/thread/f03730e25cc3fe55&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    For the USB pinout, check http://pinouts.ru/Slots/USB_pinout.shtml.&lt;br /&gt;
Now, converting to serial is (or should be due to the USB specs) more&lt;br /&gt;
than just running wires from one connector to the other. There are&lt;br /&gt;
chips used to do the conversion and they are pretty cheap (like $1/&lt;br /&gt;
each or less). You could be lazy and then get a usb-to-serial cable&lt;br /&gt;
like this one, http://www.geeks.com/details.asp?invtid=800A-RS232&amp;amp;cpc=SCH,&lt;br /&gt;
and put the mini-usb connector on it.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Open hardware/source DIY drones ===&lt;br /&gt;
* http://diydrones.com/&lt;br /&gt;
* http://paparazzi.enac.fr/wiki/Main_Page&lt;br /&gt;
* http://www.rcguys.com/66blimp.html&lt;br /&gt;
* [https://www.peigenesis.com/en/military/military-connectors.html | Drone connectors]&lt;br /&gt;
&lt;br /&gt;
===Awsome People===&lt;br /&gt;
* Macpod http://macpod.net/&lt;br /&gt;
&lt;br /&gt;
=== HTC 11pin breakout board (save your sanity) ===&lt;br /&gt;
* http://www.podgizmo.com/index.php?act=viewProd&amp;amp;productId=30&lt;/div&gt;</summary>
		<author><name>Markcruz</name></author>
	</entry>
</feed>