<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Clarkson Near-space Balloon</title>
	<atom:link href="http://k2cc.org/balloon/feed/" rel="self" type="application/rss+xml" />
	<link>http://k2cc.org/balloon</link>
	<description>Official Project Website</description>
	<lastBuildDate>Thu, 29 Dec 2011 15:53:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Perl serial terminal scripts</title>
		<link>http://k2cc.org/balloon/2011/11/26/perl-serial-terminal-scripts/</link>
		<comments>http://k2cc.org/balloon/2011/11/26/perl-serial-terminal-scripts/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 01:58:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://k2cc.org/balloon/?p=43</guid>
		<description><![CDATA[We have a few commands which we can send to our onboard xbee controller.  We can ping the balloon, repeat a message, request information, and set settings.  These commands are typed in a normal serial terminal (like putty), and this<span class="ellipsis">&#8230;</span> <a href="http://k2cc.org/balloon/2011/11/26/perl-serial-terminal-scripts/"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>We have a few commands which we can send to our onboard xbee controller.  We can ping the balloon, repeat a message, request information, and set settings.  These commands are typed in a normal serial terminal (like putty), and this keeps everything simple.  We don&#8217;t NEED special ground software.  But I started thinking, it would be nice be able to write command macros.  For example, say we are searching for the balloon.  What would be great is a script that sends the ping command every second until it gets a response (until he balloon is in range).   For this <a href="http://www.mattkrass.com/">Matt Krass</a> suggested Perl, and for once I agreed with him.  It will give us the ability to write short little scripts to automate certain commands to the balloon.  So far I put together a script for range testing which repeats the ping command to give us a constant stream of RSSI reports.  The only issue I have been having is it seems to be a little finicky about connecting to the serial port &#8211; it seems to be very very sensitive to the usb connection.  I will have to investigate.</p>
<p>I am using the Win32::SerialPort module.  Here is a simple example for windows (COM instead of tty):</p>
<pre>use Win32::SerialPort;
my $port = Win32::SerialPort-&gt;new("COM5");</pre>
<pre>$port-&gt;baudrate(9600);
$port-&gt;databits(8);
$port-&gt;parity("none");
$port-&gt;stopbits(1);

while (1)</pre>
<pre>{
  my $c = $port-&gt;lookfor();</pre>
<pre>if($c)
 print $c . "\n";
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://k2cc.org/balloon/2011/11/26/perl-serial-terminal-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First range test</title>
		<link>http://k2cc.org/balloon/2011/11/26/first-range-test/</link>
		<comments>http://k2cc.org/balloon/2011/11/26/first-range-test/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 01:56:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://k2cc.org/balloon/?p=41</guid>
		<description><![CDATA[I finally got out today to do a range test with the xbees, but it was almost dark.  Here is a short video: We found that our RHCP antennas (right hand circular polarization &#8211; not red hot chili peppers) did<span class="ellipsis">&#8230;</span> <a href="http://k2cc.org/balloon/2011/11/26/first-range-test/"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>I finally got out today to do a range test with the xbees, but it was almost dark.  Here is a short video:</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/5N2_JN8VFUw" frameborder="0" allowfullscreen></iframe></p>
<p>We found that our RHCP antennas (right hand circular polarization &#8211; not red hot chili peppers) did quite well.  Doyle walked half a mile out, stuck the antenna in the grass and I never received a signal level lower than 80%.  This is a good start, but we were at 1/40th of our expected range on launch day.  We will do more tests soon.  In the video you will see a perl script running.  I will devote a post to this soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://k2cc.org/balloon/2011/11/26/first-range-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xbee antenna</title>
		<link>http://k2cc.org/balloon/2011/11/26/xbee-antenna/</link>
		<comments>http://k2cc.org/balloon/2011/11/26/xbee-antenna/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 01:45:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://k2cc.org/balloon/?p=38</guid>
		<description><![CDATA[I searched for a long time online but was not able to find a lot of information regarding how successful people were using the xbee pro xsc radios at 20 miles up.  I did read one report of a balloon that used<span class="ellipsis">&#8230;</span> <a href="http://k2cc.org/balloon/2011/11/26/xbee-antenna/"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>I searched for a long time online but was not able to find a lot of information regarding how successful people were using the xbee pro xsc radios at 20 miles up.  I did read one report of a balloon that used a 2.4 ghx xbee @ 60 mW.  It got to 10000 meters (one thrisd the distance we need to go) before losing signal.  However we are using 900mhz vs. 2.4 ghz and 100mW vs. 60 mW.  So the question is how much does this change the results?  The extra power certainly will help, and out path losss will be less at 900 mhz.  I decided we need to build the best antenna system we can to ensure the best performance out of the xbee system.  In other words, the antenna setup in NOT trival.</p>
<p>Years ago I was into putting cameras on r/c aircraft and sending them up to fly around and send live video.  The equipment was pretty expensive and we were always try to get the best performance out of the least amount of power.  I had an issue at that time where banking the aircraft left or right cause the video signal to fade.  It was then that I learned about circular polarization.  I even have 2 helictical antennas left over from those project, but unfortunately they are made for a slightly different frequency.  So I decided to check out the r/c forums to see if anyone had caught on the using circular polarization.</p>
<p>Other than being fascinated by the leaps and bounds that the &#8216;FPV&#8217; hobby has made in the last 5 years or so I found a wealth of information about building many types of circularly polarized antennas, most from the <a href="http://www.rcgroups.com/forums/member.php?u=103113">member IBCrazy</a>.  I have to say, he provides really great tutorials on the antenna construction.  I also found<a href="http://sv1bsx.50webs.com/antenna-pol/polarization.html"> this site</a> which is a really excellent visualization on antenna polarization.</p>
<p>Anyway, here is a video of the antenna that will be balloon-side:</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/Mpx1DJzwvZw" frameborder="0" allowfullscreen></iframe></p>
<p>And the helictical antenna we plan to use on the ground (or in the SAR plane &#8211; more on this later).</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/8T623Ot7Yh4" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://k2cc.org/balloon/2011/11/26/xbee-antenna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Simple&#8221; Overview of the electronics</title>
		<link>http://k2cc.org/balloon/2011/11/21/simple-overview-of-the-electronics/</link>
		<comments>http://k2cc.org/balloon/2011/11/21/simple-overview-of-the-electronics/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:39:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://k2cc.org/balloon/?p=19</guid>
		<description><![CDATA[There are many components to the balloon&#8217;s electronics, so I will try to cover each section in a summarized overview. One of the biggest design goals here is reliability and fail safes.  From every system down to every line of code we need<span class="ellipsis">&#8230;</span> <a href="http://k2cc.org/balloon/2011/11/21/simple-overview-of-the-electronics/"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>There are many components to the balloon&#8217;s electronics, so I will try to cover each section in a summarized overview.</p>
<p>One of the biggest design goals here is reliability and fail safes.  From every system down to every line of code we need to consider what will happen if the the unexpected occurs.  An example of this might be if a message is send from one component to another we need to expect that it might not get there the first time &#8211; or it might not be exactly what we are expecting.  In terms of large scale design this means overall redundancy for mission objectives.  First and foremost being tracking the payload (the electronics package) as it flies over northern NY.  Ultimately we need to know the position.</p>
<p>For this reason all the electronics have been broken into two main subsystems &#8211; the xbee system and the APRS system.  Both of these systems have separate batteries, GPS, antennas and radios.  If one just plain stops working we have the other, and using one should not degrade our knowledge of the location of the payload.   I say &#8216;should not&#8217; because the only unknown here is the overall range in free space of the xbee radios, but I will get into that when we start range testing.</p>
<h2>The APRS subsystem</h2>
<p>The APRS system is our &#8216;dumb&#8217; system.  It does nothing except transmit GPS NMEA sentences.  This is accomplished with the <a href="http://www.argentdata.com/products/otplus.html">Opentracker</a>.  This device converts the serial data from the GPS into sound that can be transmitted over the radio, specifically using the <a href="http://en.wikipedia.org/wiki/Automatic_Packet_Reporting_System">APRS </a>formatting method.  Some APRS data comes into receivers and is sent to a server online at <a href="http://aprs.fi/">aprs.fi</a>.  However it is important to note that APRS can be received and decoded by any person with a radio and computer, and therefore does not rely on network connectivity or cell service &#8211; a point which I will cover in another post.  The APRS system is not charged by solar panels.  It runs off a 7,800 mAh 2 cell Lipo battery pack.  It will last a very long time -but once it runs out that&#8217;s it.</p>
<p>Here is a depiction of the APRS system. (red lines are power black are signal)</p>
<p><a href="http://k2cc.org/balloon/wp-content/uploads/2011/11/aprs_simple.gif"><img class="alignnone size-medium wp-image-20" title="APRS block diagram" src="http://k2cc.org/balloon/wp-content/uploads/2011/11/aprs_simple-300x266.gif" alt="" width="300" height="266" /></a></p>
<h2>The Xbee subsystem</h2>
<p>Simplicity is good, and generally it is more reliable, but Clarkson is an engineering school.  We are not going to just throw an iphone in a box and send it up &#8211; nor are we going to just send up an APRS tracker.  The second system, the Xbee system adds complexity, but also adds interactivity.<a href="http://www.digi.com/products/wireless-wired-embedded-solutions/zigbee-rf-modules/point-multipoint-rfmodules/xbee-pro-xsc#overview">  Xbees </a> are integrated data radios that act as a serial data link between two devices.  The have lots of fancy features, few of which we will use.  The Xbee will be connected to the xbee controller, which we built.  The xbee controller is responsible for handling all the commands the xbee receives.  The Xbee may request position, or other data from the <a href="http://www.youtube.com/watch?v=EWK6zfGOhcw">position supplier uC</a> (I may refer to micro controller as uC).  This system also monitors voltage levels, current consumption etc.  But that&#8217;s not all.  The cameras have to be controlled.  The balloon watch uC will handle this, as well as log data about the photos it takes.  (The cameras will play a special role in this project and I will have more about that system later)</p>
<p>Here is a block diagram showing the basic layout of the xbee system. (red lines are power black are signal)</p>
<p><a href="http://k2cc.org/balloon/wp-content/uploads/2011/11/main_simple.gif"><img class="alignnone size-medium wp-image-21" title="main_simple" src="http://k2cc.org/balloon/wp-content/uploads/2011/11/main_simple-300x240.gif" alt="" width="300" height="240" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://k2cc.org/balloon/2011/11/21/simple-overview-of-the-electronics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few videos to start off with</title>
		<link>http://k2cc.org/balloon/2011/11/21/a-videos-to-start-off-with/</link>
		<comments>http://k2cc.org/balloon/2011/11/21/a-videos-to-start-off-with/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 20:20:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://k2cc.org/balloon/?p=9</guid>
		<description><![CDATA[Hello and welcome. The Clarkson near space balloon is a project between the Clarkson University ham radio club &#8216;k2cc&#8217; and a few alumni to build a weather balloon and send it to  &#62; 100,000 feet.  I am working on an<span class="ellipsis">&#8230;</span> <a href="http://k2cc.org/balloon/2011/11/21/a-videos-to-start-off-with/"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>Hello and welcome.</p>
<p>The Clarkson near space balloon is a project between the Clarkson University ham radio club &#8216;k2cc&#8217; and a few alumni to build a weather balloon and send it to  &gt; 100,000 feet.  I am working on an overview of the systems that will be onboard and a summary of our mission, but for now here are a few tech oriented videos about some of the main components which have been built so far:</p>
<p><iframe src="http://www.youtube.com/embed/TbtoBlIoa-o" frameborder="0" width="560" height="315"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/EWK6zfGOhcw" frameborder="0" width="560" height="315"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/pfWv51O86GE" frameborder="0" width="560" height="315"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/i-P4esf-nmU" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://k2cc.org/balloon/2011/11/21/a-videos-to-start-off-with/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

