Monthly Archive for January, 2010

Optical Trapping and the Momentum of Light

Recently, there have been a few posts on LaserPointerForums with regards to a curious little experiment.  A laser is focused as close to the aperture as possible and is pointed straight up at the ceiling.  Then, a piece of very soft black plastic or felt marker tip is burned.  With some luck, a small particle will burn off, and then seem to float in mid-air.  In fact, it looks something like this:

The marker is pointing roughly to the particle in question.  It is not smoke and this fact can be verified because you can actually move the laser around gently and the particle will follow it!  I made a brief write-up in one post on why this works, but I decided to play around a bit and get some better quality pictures and a few videos.

Here’s the essence of why this phenomenon occurs.  A principle called wave-particle duality states that light (but not only light) can be represented as both a wave and a particle; that is, it can have both wavelike and particlelike characteristics.  When you observe Airy disks and other diffraction patterns, you are observing wavelike phenomena; the light behaves just as if you were to take a tank of water and perform the same experiments.  However, light can also behave like a particle–the term for a particle of light being a photon.  Particles have an energy and momentum associated with them and it was shown that photons do indeed have this property.  For more information on wave-particle duality, I recommend the HyperPhysics slides on the subject.

Because photons have an associated energy and momentum, they can impart a force onto other objects.  This is exactly what is occurring in the picture above!  The particle is experiencing a set of force vectors from the laser light which cause it to find an equilibrium position very close to the waist of the beam.  Here is an interesting explanation of this phenomenon, known as optical trapping.  To borrow a diagram from Wikipedia’s excellent optical tweezers article:

When a particle moves out of its equilibrium position, a restoring force will push it back just above the waist.

To illustrate further, I’ve taken a video (720p :D ) and a few pictures:

Edit: It seems as though my video has made it to Reddit and LiveLeak:

http://www.reddit.com/r/science/comments/auh5b/optical_trapping/

http://www.liveleak.com/view?i=995_1264499775

Black Squirrel

A black squirrel lives somewhere in our yard and stops by the bird feeder in the mornings for a meal.  Wikipedia has a nice article on these curious creatures.  This was also a good way to test the 18x optical zoom of my camera.  Unfortunately, by the time I was able to make the necessary adjustments to the camera to improve the contrast, he ran off.

tmux – A Powerful, Intuitive Alternative to screen

Almost everyone who uses the command line extensively knows about GNU screen.  It is a clever utility that allows you to manage your workflow in many ways.  When you start a screen session, you will be presented with a virtual terminal where you can do your work.  You can launch multiple terminals in a single session and quickly switch between them and even copy and paste between them as well.

I have used screen for a while, but it’s a little too intensive for my needs.  Its layout is not very sane by default, but it can be configured extensively.  So, when I heard about tmux, an alternative to screen popularly used in OpenBSD systems, and its reputation for being a more elegant solution.

One unfortunate bug with tmux is its failure to render transparent backgrounds in 256-color environments.  Apparently this issue is due to the inability to “erase” backgrounds.  Fortunately, the latest CVS revision fixes this problem, so I’ve been able to switch entirely from screen to tmux.

Here is my tmux config.  I haven’t worked on keybindings yet (I’d like to make them more vim-like).  Here are some screenshots from my laptop:

This is my current tmux config.  It’s pretty much where I want it.  My terminal colors are in this blog post.  A screenshot:


SparkFun Free Day — Suddenly, Success!

Last Thursday, the (in)famous SparkFun held a rather strange event: “Free Day“.  Their goal was to give away $100,000 worth of free items (at $100 max per household) in order to celebrate the move to bigger site hosting.  What a cute idea!  I mean, all you need to do is be one of the first (roughly) 1000 customers and you only have to pay shipping!

I more or less expected the following to happen: thousands of users would try putting their order through and the whole thing would be over in a matter of minutes.  I imagined that I’d be too slow to get to order something, but I decided to try anyways.  Sure, there would be some site slowdown, but I didn’t expect everything to CRASH AND BURN.

Sadly, the site did crash and burn, several times, in fact.  Most of the time, I couldn’t even open an SSL connection.  After about an hour of trying I managed to get to the last page where there was a big button that said “Submit your Order for Free Day” but when I pressed it, I lost the SSL connection or got a blank page.  So, after another 44 minutes of trying, all $100k was given away and I ended up with nothing.  Apparently, the rumor that I had heard about SparkFun moving to a server cluster (which would have been able to expand to serve the load as needed) was entirely wrong.  They were trying to do this on like three servers.

At any rate, I was a little sad that I didn’t get anything, but I never expected to in the first place.

Well, by now, you’ve probably figured out what happened, so you could probably scroll down to the pictures now.  I saw my name on my dorm’s package list and I assumed that my flashlight from DealExtreme had arrived, but when the worker picked up a huge box from the floor, I was a little confused.

Okay, now time for pictures.  I ordered a digital soldering station.

Cree XP-G LED Testing

I bought a package of seven CREE XP-G LEDs from Cutter Electronics on a single board.  At around 2400 lumens total, these LEDs can throw a ton of light.

The LEDs are driven with a buck driver, which is powered by a trimmable 24V PSU that I had lying around.  I purchased a heatsink for the board, but the screwholes don’t line up, so I’ll have to drill some new ones.  I also bought some integrating optics to help smooth out the light output.

At any rate, I was very impressed with the results.  With a little mechanical engineering to dissipate the heat efficiently, this LED assembly will be the perfect projector replacement bulb.  The light output is simply stunning; it lit up my whole room very nicely.