<?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"
	>

<channel>
	<title>BEAUHINKS &#187; School</title>
	<atom:link href="http://beauhinks.com/category/school/feed/" rel="self" type="application/rss+xml" />
	<link>http://beauhinks.com</link>
	<description>An undergrad's talk of physics, computer science, math, and travels.</description>
	<pubDate>Mon, 01 Dec 2008 07:12:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>July Recap: DBP, Darwin, Robots.. Oh my.</title>
		<link>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/</link>
		<comments>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 04:29:17 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[School]]></category>

		<category><![CDATA[dream build play]]></category>

		<category><![CDATA[physics]]></category>

		<category><![CDATA[robots]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=66</guid>
		<description><![CDATA[Didn&#8217;t win in the Darwin Race of Languages&#8230; that wasn&#8217;t a big shock! Ah well congratulations to the individuals that did, some of the submissions were really well done and significantly easier to install than mine. Check out the entries!
Good prizes as well.
Dream Build Play
St. Mary&#8217;s College is fielding two teams for Microsoft&#8217;s Dream Build [...]]]></description>
			<content:encoded><![CDATA[<p>Didn&#8217;t win in the Darwin Race of Languages&#8230; that wasn&#8217;t a big shock! Ah well congratulations to the individuals that did, some of the submissions were really well done and significantly easier to install than mine. <a href="http://www.darwinraceoflanguages.com/">Check out the entries!</a></p>
<p>Good prizes as well.</p>
<h2>Dream Build Play</h2>
<p>St. Mary&#8217;s College is fielding two teams for Microsoft&#8217;s <a href="http://www.dreambuildplay.com/main/default.aspx">Dream Build Play</a> contest. I&#8217;m part of one, we&#8217;re working on ideas now. Hopefully we get started soon, we only have approximately two months left. Should be a blast if we can dedicate some time and effort to a good game building on experience from last year.</p>
<h2>Thesis</h2>
<p>I&#8217;ve a final thesis to do. I want to build robots. This is not <em>entirely</em> physics as my adviser will probably point out, but I am a joint major. So, at the suggestion of a partner, we&#8217;re going to play with genetic algorithms and robots.</p>
<p><strong>First Stages:<br />
</strong><a href="http://www.flickr.com/photos/23488385@N03/2721809940/"><img class="alignright" style="float: right;" src="http://farm4.static.flickr.com/3232/2721809940_21a6b5b40d.jpg" alt="" /></a></p>
<p>We need a robot platform, and we&#8217;re strapped for cash. I&#8217;m going to be in charge of building something cost effective that will allow us to run simulations from a host. Let&#8217;s look at some candidates for parts for a platform to test the feasibility of our idea:</p>
<ul>
<li>(1) PICAXE-08M Microcontroller - the brains of the little guys. 128 bytes to work with. 8 pins. This could get hairy!</li>
<li>(1) L293D Driver. Used for controlling motors. Actually, we might be going with a project board for the picaxe which would give us 4 digital on/offs and 2 reversible power outputs without much headache. Enough to turn two servos and collect a little input from the environment.</li>
<li>(1) 5V Voltage Regulator. We don&#8217;t want any blue smoke.</li>
<li>(2) Microswitches to collect input.</li>
<li>(1) 9V Battery.</li>
<li>(2) GM10 <a href="http://www.solarbotics.com/products/gm10w_deal/">Motor Kits</a>.  They have to move <em>somehow</em>.</li>
</ul>
<p>All of these parts thrown together should make a fairly basic robot. If we add a wireless serial controller, then we&#8217;ve a mobile platform which we can control from a host.</p>
<p>Where&#8217;s my credit card? I&#8217;ll be using it at <a href="http://octopart.com/">Octopart</a>, that&#8217;s for sure!</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Saturated Absorption Spectroscopy</title>
		<link>http://beauhinks.com/2008/03/24/saturated-absorption-spectroscopy/</link>
		<comments>http://beauhinks.com/2008/03/24/saturated-absorption-spectroscopy/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 18:07:26 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[School]]></category>

		<category><![CDATA[Science]]></category>

		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://beauhinks.com/2008/03/24/saturated-absorption-spectroscopy/</guid>
		<description><![CDATA[The What.
A large part of part of scientific research involves the principles of optical and atomic physics through laser-driven saturated absorption spectroscopy. In this experiment a single laser is split to provide both a pump and probe beam to examine the absorption spectra of a vapor cell containing primarily rubidium85 and rubidium87 as shown:
 The [...]]]></description>
			<content:encoded><![CDATA[<h3>The What.</h3>
<p>A large part of part of <a href="http://en.wikipedia.org/wiki/Scientific_method" title="Scientific method" rel="wikipedia" target="_blank" class="zem_slink">scientific research</a> involves the principles of optical and <a href="http://en.wikipedia.org/wiki/Atomic_physics" title="Atomic physics" rel="wikipedia" target="_blank" class="zem_slink">atomic physics</a> through laser-driven saturated absorption <a href="http://en.wikipedia.org/wiki/Saturated_spectroscopy">spectroscopy</a>. In this experiment a single laser is split to provide both a pump and probe beam to examine the <a href="http://en.wikipedia.org/wiki/Absorption_spectrum" title="Absorption spectrum" rel="wikipedia" target="_blank" class="zem_slink">absorption spectra</a> of a vapor cell containing primarily <a href="http://en.wikipedia.org/wiki/Rubidium">rubidium</a>85 and rubidium87 as shown:<img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/photodiode.gif" alt="photodiode1" /></p>
<h3> The How.</h3>
<p>Initially, one must check for fluorescence within the vapor cell to ensure that the laser intensity is tuned properly. Very precise control of the laser is provided by frequency and temperature (wavelength) locking circuits. Once fluorescence is achieved adjustments are made to the frequency of the laser (adjusting the voltage to the laser’s PZT) to “scan” over the <a href="http://en.wikipedia.org/wiki/Spectroscopy" title="Spectroscopy" rel="wikipedia" target="_blank" class="zem_slink">spectra</a> lines of the ground and <a href="http://en.wikipedia.org/wiki/Excited_state" title="Excited state" rel="wikipedia" target="_blank" class="zem_slink">excited states</a> of rubidium. These lines are observed on a digital oscilloscope. One small change is to be noted: the photodiode in this experiment had two active regions and a subtraction circuit attached to it. This allows for the account of <a href="http://en.wikipedia.org/wiki/Doppler_effect" title="Doppler effect" rel="wikipedia" target="_blank" class="zem_slink">Doppler shifts</a> within the vapor cell while scanning to provide clearer spectra lines.</p>
<p>Once several lines were observed, the best observable spectra lines are recorded. See below (Standard Transition Level Schema) for expected states to be <a href="http://en.wikipedia.org/wiki/Visible_spectrum" title="Visible spectrum" rel="wikipedia" target="_blank" class="zem_slink">visible</a> in the experiment:<br />
<img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/photodiode2.gif" alt="spectra lines" /></p>
<p>Next, the vapor cell is switched out with another wrapped in coils of wire attached to a power supply in order to observe the effects of a <a href="http://en.wikipedia.org/wiki/Magnetic_field" title="Magnetic field" rel="wikipedia" target="_blank" class="zem_slink">magnetic field</a> generated by the <a href="http://en.wikipedia.org/wiki/Zeeman_effect">Zeeman</a> shifter on the vapor cell. Once the Zeeman shifter is powered, another <a href="http://en.wikipedia.org/wiki/Spectral_line" title="Spectral line" rel="wikipedia" target="_blank" class="zem_slink">absorption line</a> is recorded and saved once again for comparison to the preliminary lines where a splitting of the lines should be observed. See below for a visual representation (Zeeman Level Schema) of the splitting expected.</p>
<p><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/photodiode3.gif" alt="photodiode3" /></p>
<h3>The Numbers.</h3>
<p><strong>Rb85 5P<sub>3/2</sub> Spectrum Lines:</strong></p>
<p><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/photodiode4.gif" alt="photodiode4.gif" /></p>
<p>Table 1: No Effect, Rb85 5P<sub>3/2</sub><br />
<img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/pdtable1.gif" alt="pdtable1" /></p>
<p><strong>Zeeman Effect Spacing</strong><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/photodiode5.gif" alt="pd4" /></p>
<p><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/pdtable2.gif" alt="pdtable2" /></p>
<h3>The Outcome.</h3>
<p>The exercise of this experiment is particularly useful in determining the proper operating frequencies of a laser allowing an individual to create a magneto optical trap or <a href="http://en.wikipedia.org/wiki/Magneto-optical_trap">MOT</a>. Principally, one should be able to find the frequencies at which it is possible to slow rubidium atoms both when under the influence of the Zeeman effect and otherwise. Although after considerable trial and error in the short lab window given, we were able to properly align the optical setup with the diode to achieve both a pump and probe beam providing fluorescence, it was difficult initially to locate the spectra lines of the rubidium in the vapor cell. After finally getting clean lines without the Zeeman effect,  an average frequency spread was calculated for the Rb85 5P<sub>3/2</sub> transition lines to be approximately 11 GHz with an average spreading of 5.6 GHz/Volt. These findings seem to be valid. However, once the effect was introduced severe noise was clearly visible in the signal on the oscilloscope most likely from building vibration and potentially interference picked up through the effect&#8217;s wires. In order to combat this issue,  the digital oscilloscope&#8217;s snapshot feature was used to prevent movement of the lines while recording data. This may have negatively impacted the Zeeman effect data even though multiple snapshots were taken, as the spectrum was constantly moving on the oscilloscope.</p>
<p>Thus, the first half of the experiment was useful in observing spectra lines. Noise and incorrect data in the second part of the experiment involving the effect resulting in 40% error is unsatisfactory to make any conclusions about the effects of the Zeeman effect on splitting spectra lines. However, the splitting is indeed visible. If the experiment were to be repeated, greater care eliminating noise and alignment should be taken, as well as increased resolution on the oscilloscope in order to achieve a better comprehension of the Zeeman effect. It should be noted that this research was conducted as an undergraduate experiment and the results are not to be considered valid as the experiment was repeated later with greater precision and verification. If there is any incorrect information presented please feel free to send me an e-mail, I&#8217;d appreciate it!</p>
<p id="zemanta-pixie" style="margin: 5px 0pt; width: 100%"><a href="http://www.zemanta.com/" id="zemanta-pixie-a" title="Zemified by Zemanta"><img src="http://img.zemanta.com/pixie.png?x-id=5a03eaf3-f9e3-4590-a169-8250c21d58c3" id="zemanta-pixie-img" style="border: medium none ; float: right" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/03/24/saturated-absorption-spectroscopy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Second Coming</title>
		<link>http://beauhinks.com/2008/03/13/the-second-coming/</link>
		<comments>http://beauhinks.com/2008/03/13/the-second-coming/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 15:36:34 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://beauhinks.com/2008/03/13/the-second-coming/</guid>
		<description><![CDATA[Last semester I enrolled in a game design class using Microsoft&#8217;s XNA framework.
It was a long road, but in roughly three months my partners and I went from absolutely no engine to a complete and playable game which we presented in front of roughly a hundred people.

Is it fun?
We hope so! The crowd, Microsoft MVP&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Last semester I enrolled in a game design class using Microsoft&#8217;s XNA framework.</p>
<p>It was a long road, but in roughly three months my partners and I went from absolutely no engine to a complete and playable game which we presented in front of roughly a hundred people.</p>
<h3><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/secondcomingshot1.jpg" alt="ScreenShot1" /></h3>
<h3>Is it fun?</h3>
<p>We hope so! The crowd, Microsoft MVP&#8217;s and our professors seemed to enjoy it. Two players move through three levels, taking on various aliens and bosses until they get to the end of the level. The interesting dynamic is that one of the players is strictly &#8220;hand-to-hand&#8221; except for a &#8220;gravity gun&#8221; which the player may use to draw enemies towards themselves. This really becomes important when facing the bosses of the levels as one player has to quarantine and control the enemy, while the other shoots it into oblivion. The premise of all this madness is that an alien race seeded the Earth a few million years ago with life. Every so often they come back to &#8220;harvest&#8221; the organisms that have developed for energy. What do you think happened to the dinosaurs?</p>
<h3><img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/secondcomingshot2.jpg" alt="Umbarak!" align="right" /></h3>
<h3> What did you do?</h3>
<p>I worked primarily on base engine code. Physics, controls, level construction and cleanup, entity handling, etc. The beauty of my work was that a lot of the difficulties in game design were already taken care of in the <a href="http://creators.xna.com/">XNA</a> and <a href="http://www.google.co.uk/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.garagegames.com%2Fproducts%2Ftorque%2Fx%2F&amp;ei=Q0nZR4SGCJ7kwgGgjKy6CA&amp;usg=AFQjCNGzF3THFczGCXMJRQms7xeq9ijsLw&amp;sig2=ANRbDG8INTsrnAS5zxsjAg">TorqueX</a> frameworks we used. It was just a matter of implementing the respective frameworks on top of each other properly.  My favorite part was coding in some basic Newtonian mechanics. OK-More like Aristotle&#8217;s mechanics, but still fun. Here&#8217;s an excerpt of the code used to imply an impulse to the player when firing a weapon:</p>
<blockquote><p><code>Vector2 impulse = new Vector2();<br />
impulse.X = (float)Math.Sin((double)MathHelper.ToRadians(-_player.Rotation + 180.0f)) * -_projectileKickback;<br />
impulse.Y = (float)Math.Cos((double)MathHelper.ToRadians(_player.Rotation - 180.0f)) * -_projectileKickback;<br />
_player.Physics.ApplyImpulse(impulse);</code></p></blockquote>
<p>My other team members put a lot of effort into this project. One of them focused<br />
primarily on the user interface, artificial intelligence, and coding the weapons. The other did a fantastic job of creating all the sprites and sounds for our game. His work really added a whole dimension to the project by giving it a polished look and nice animations. Not only that, but his bosses looked menacing!</p>
<p>I also focused on the &#8220;Level Editor&#8221; which was coded in Delphi 2007. It helped us streamline designing the levels near the finalization process of the game. Not very elegant at all, as it simply generated a text file with entities which the game engine parsed. Also, using the editor, you can only specify rectangular bodies for defining the collision edges of a level.</p>
<h3>Reprise<img src="http://beauhinks.com/blog/wp-content/uploads/2008/03/secondcomingshot3.jpg" alt="Level Editor" align="right" /></h3>
<p>That&#8217;s it. If you want more information head over to <a href="http://thesecondcoming.googlecode.com" title="The Second Coming">The Second Coming</a> on <a href="http://code.google.com">GoogleCode</a>. There you can download the source and binaries of the level editor and game itself. There&#8217;s lots of work to be done to complete the game and squash some bugs. Overall it turned out to be a success. I hope this will be one article in a series about game development at the student level and the details of The Second Coming. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/03/13/the-second-coming/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
