Watch out LED Cube there's a new sheriff in town and his name is Laser Ball...
Truth be told it's actually a Rechargeable Remote Control and Programmable Laser Ball... whoa!
So what's a Laser Ball?
Well it's sort of like the Death Star... OK, maybe that's a bit over-dramatic... a Laser Ball is like a programmable disco ball... or a cat-toy for humans (that sounds about right)... or a personal laser light show... the most fun you've had throwing a tennis ball in years(yeah!)... a 21st-century ship in a bottle... the most sophisticated poi or juggling ball ever seen... maybe a first-generation lightsaber training droid?... or maybe it's all of them! Check out the video to see how it works and how to make one then tell me what you think.
I thought this project was a good idea for an Instructable for a number of reasons:
Step 1: Project Overview
Before getting starting on building a Laser Ball, let me begin with a brief explanation on the format of this Instructable. The first step here will list out scope of the project. The next step shares a little background on Lasers and their unique qualities (sort of an editorial piece). Then the main Instructable begins... Steps 3-8 describe each component in the Laser Ball with some useful information and complimentary links. Step 9 describes the assembly process which was shown in the video. Step 10 is a sort of "mini-instructable" on how to build a "5-min Laser Ball". Some useful details for taking laser pictures are in Step 11, and the process I went through to build this Instructable is described in Step 12. If you just want the details on how to build the laser ball jump to the Assembly step.
To start here's a breakdown of the specifications, steps, timeline, parts, cost, suppliers, tools, and wiring diagram for a full Rechargeable Remote Control and Programmable Laser Ball.
Laser Ball Specifications:
Update: As part of this overview I've also included two additional images showing the wiring diagram and schematic.
Step 2: From light bulbs to lasers...
Skip this section if you don't want to hear my dramatic soliloquy about lasers and lightbulbs
Lasers have captivated people's imaginations for years, in fact, 2010 marked the 50th anniversary of invention of the laser (way to go laser!). Since then, lasers have blossomed into a industry of both entertainment and science, and generated countless new innovations across the world. I'd only crossed paths with the occasion laser pointer before I started my engineering career (...and of course I unkowningly used them in things like DVD players, but that doesn't really count...). However, it wasn't long before I was able to understand why lasers represented something much more than just a replacement to a pointing-stick.
For me, it wasn't until I grasped the concept of etendue and semiconductor manufacturing that I could really appreciate, not only the potential of the laser, but why it will remain an everlasting tool for generations to come. So first let me briefly the concept of etendue.
Etendue is a funny little french word which translates to something like "extended" or "expansive." However it describes a very fundamental idea; something along the lines of how light spreads out from its source and illuminates over a volume, (...that's the wikipedia definition, anyway) but the the idea of etendue is much simpler to understand.
Let's imagine back around 1880, Edison tucked away in his lab testing filaments for his light bulb, each filament he tested glows hotly as electricity completes its circuit. The soft warm light being generated from his small filament is at the time a very profound way to generate light but if you think about it... it's quite crude... (warning: exaggeration ahead) it's equivalent to popping a balloon to create a breeze or using a stick of dynamite to dig a hole.. sure that's one way to do it but it makes a mess, light goes everywhere, you're covered in light and there's no way to clean it up! (...etendue is basically the optical equivalent to the second law of thermodynamics... you can't create more energy than you put into the system, so even if you add mirrors and lens the etendue can never be decreased... its invariant!)
So let's change the scenario, now we've got a laser and we can picture it buzzing out a little hole and shooting across space as a pencil thin beam of light. It's certainly very clean looking, but what did we change? Well we did a couple things, in simple terms: 1) we made all the light a single wavelength/color and 2) decreased the etendue of the light by many, many orders of magnitude,(...we're talking lots of zeroes here folks), the light has high optical power, emitted from a small source, and well defined in angle. We have rays of light playing together in harmony, synchronized and smooth, rather than a dissonant collection of rays blasting out notes of dissonant frequencies in all directions.
With a laser we've basically captured the genie the in bottle; a way to make light in a pure form, a perfectly smooth undulating wave of light whose collection of rays travel in one direction in perfect synchronization. This means a laser is more or less light distilled into its basic element and packaged to make it easily controlled and distributed; it's Henry Ford's assembly line mixed with the 1's and 0's in a microprocessor... so this is where the semiconductor manufacturing comes in.
Semiconductor manufacturing has created a world built on silicon. The particularly amazing aspect (and there are many) about semiconductor manufacturing processing is its unique ability to scale production and manufacturing. This is what differentiates the laser from the light bulb. The laser is the computer chip of the lighting world (with its little brother the LED). Lasers can be manufactured in ways that rival the best cellphone camera, microprocessor or accelerometer. Semiconductor manufacturing is a batch processing technique so individual lasers can be assembled quickly and inexpensively in much the same way millions of microchips are built each year. Vacuum tubes died with the advent of the transistor and so too shall the light bulb.
So this is why the laser (and we are already seeing it with LEDs) will emerge as the new standard in for illumination. Lasers to the future!
Step 3: Lasers
Show All 15 Items
Laser's aren't toys!... no wait... maybe they can be? As Ralphie's mom might say, "You'll shoot your eye out!" I think we all understand by now that lasers and retinas don't always play nice but that doesn't mean we still can't have fun with our Red Ryder BB gun.
The lasers used in the project are not the kind that will light matches, pop balloons, or cut 007 agents in half. They are low power and relatively harmless (check out the links at the bottom for more safety info). Lasers can be a lot of fun if you treat them with respect! Even with that said, read about laser safety, understand the risks, maybe lasers aren't for you but then again maybe with just a little more research and experience you'll see you can still have fun while being safe!
Common features and how to buy?
Laser Ball laser specifications (from Aixiz):
Check out these links for more information on lasers:
Step 4: Diffraction grating
Show All 7 Items
Diffraction gratings are a wonderful pieces of optical technology. They allow us to manipulate light based on its wave properties (rather than the particle or ray properties). The classical physics demonstration of diffraction goes something like this: send a beam of light at a dual-slit structure (two small holes) so that as the light passes through it diffracts and creates an interference pattern characterized by bright and dark regions, akin to the peaks and valleys of a wave. Diffraction is most pronounced when the object the light is striking has similar dimensions to the wavelength of the light, if we consider the wavelength of red light is around 650nm then the microscopic diffraction structure is tiny, we're talking sub-millimeter (micron) to get dramatic effects
What's a diffraction grating?:
So if you want to diffract light, you need a diffraction grating. Perhaps the easiest way to visualize a diffraction grating is to think of a picket fence, except many orders of magnitude smaller. It's a periodic structure (which just means its repeating along its length) and so if we shine light through the slits in this picket fence, the passing waves will interfere and add and subtract to create a unique projection pattern. By changing the period (frequency) of the posts in the fence then we can also change the intereference pattern as well. This is metric is often mentioned as the number of "line pairs/inch"
Where do you see diffraction?:
Diffraction is all around us, the most common place you've probably noticed it is on the surface of a CD or a hologram. The rainbow of colors is created by the diffracting surface composed of tiny ridges and troughs. Recently there's been an emergence of rainbow glasses that create a sort of "color explosion" when you look at light sources. Those are simply thin pieces of diffraction grating with small ridges that have been most likely embossed onto the plastic surface. You also might have seen "star" caps for laser pointers. These are also small pieces of diffraction grating that have been glued into a laser pointer cap.
Why is it in the Laser Ball?
Why have just one beam per laser when you can have many? It's a laser party so bring your friends! The diffraction grating will distribute the optical energy from the laser into different spatial frequencies so rather than just creating a beam directly on-axis, multiple beams are created at specific frequencies (i.e. angles) matched to the periodic structure of the grating.
Check out these links for more information on diffraction gratings
Step 5: Teensy
I think everyone agrees that Arduino has forever changed the landscape for DIY, makers, hackers, artists and engineers. It didn't take long after hearing about Arduino before I had one and was making LEDs blink and motors spin. But it took me awhile to realize there were other options out there, ones that were nearly identical to the Arduino (and in some cases better) but in much tinier packages... welcome to the world of the Teensy! (by PRJC)
What's a Teensy?
It's a small breakout board for an Atmel microprocessor, just like an Arduino... in fact they are so alike you can run a Teensy as a Teensyduino and use the Arduino IDE, making it easy to incorporate into any project. The biggest difference you'll notice between the two is the fact that the Teensy is way smaller!. The Teensy uses the 16Mhz Atmel 32u4 chip which has the nice feature of including a built-in USB port, which enables a very compact form-factor.
What will the Teensy do?
In the Laser Ball the Teensy will allow us to take the input signal from the IR remote through the IR reciever, decode the results, then sequence/animate the lasers. This is really a bonus feature (along with the IR remote), that really makes the laser ball an entertaining piece of technology.
Check out these links for more information on Teensy:
Step 6: Battery
Show All 9 Items
Battery technology comes in a lot of different varieties but the kinds that run your smartphones and ipods are the rechargeable lithium-ion variety. I'm no battery expert but for consumer-style electronics it seems this is the only way to go. Just be careful with the charging method because no one wants a flaming battery on their hands...
How to pick the battery?
Of course the Laser Ball could be driven with another style of battery but it's important to weigh out the characteristics and make a smart decision based on different trade-offs they offer. Let's think through the important factors in choosing a battery for the Laser Ball.
I chose to use the 3.7V 850mAh Polymer Li-ion Battery from Sparkfun so lets see why...
Keep it simple and buy a basic Lithium-ion charger. There are lots available in the open-source community. They are simple circuits that can regulate the charging conditions for the lithium-ion batteries and provide a nice simple USB interface. Try this one from Sparkfun: LiPo Charger Basic
Check out these links for more information on battery technology and lithium-ion batteries:
Step 7: IR remote control
Frankly I don't know much about Infrared (IR) remote control protocol... there's a long history going back to our old friend Tesla and his work in radio technology... but before the Laser Ball I'd never built a remote control system. So what did I do?... I turned to the web and the open-source community to see what people had been sharing... and there's lots!
And what did I learn? There are plenty of other remote interfaces like blue-tooth or wifi but frankly I don't think IR can be beat for its simplicity, low cost, and ease of use. The IR remote control interface works simply by detecting sequences of light pulses produced by the IR LED and detected by the photo-sensitive receiver. Basically each button is represented by a string of 1's and 0's (either the LED is ON or OFF) and the string represents a code word that can be identified in software. Check out the resources at the bottom of this step for more resources and tutorials on IR remote control systems.
Why does a Laser Ball need a remote control?
Well I guess technically the Laser Ball doesn't need a remote, but it adds a nice bit of functionality to compliment the Teensy. A simple push button could serve the same purpose but I hesitated to go down that path because if it were mounted on the surface of the ball I'd think there'd be a fairly high risk of damage during games of Laser toss and accidental button pushes during Laser Ball juggling.
Choice of IR remote and IR receiver?
There's no right answer for this. Adafruit and Sparkfun both have options for IR remote control. The Adafruit remote looks like its intended for a car stereo system but that doesn't mean it can't find its way into any project. The IR receiver and remote are a great combination but have two main limitations: 1) The receiver needs to be in the line-of-sight of the remote (which is true of any IR remote control system) and 2) As I mentioned the remote is most likely intended for use in a car, so the output power of the LED is relatively weak and as such the system range is limited to short distances (a couple of feet in most cases).
Adafruit IR remote control specs:
Adafruit has some great tutorials on the fundamentals of IR remote controls. You could certainly develop your own software libraries to decode the signals coming from your remote... but we are living in an open-source world so why not get a head start by using the resources we have available. That's exactly what I did when I found Ken Shirrif's IR remote control library for the Arduino (link). It worked great "out of the box" and within a couple of minutes I was able to test out functionality on a simple breadboard circuit. I liked it so much I ended up incorporating it into the Laser Ball source code. Go team!
Check out these links for more information on IR remote control:
Step 8: Tennis ball
Show All 10 Items
Tennis balls are a great little piece of hackery. Imagine all the things you could use a tennis ball for? If I type "tennis ball" into Instructables I get over 5000 hits, which is pretty amazing for an unassuming fuzzy ball. Tennis balls aren't just any old rubber ball ... they have standards. The "official" tennis balls have guidelines on diameter (65.41-68.58 mm) and weight (56.0-59.4 g) and undergo "bounce" tests (a 53in bounce from a 100in drop ain't bad!).
Why not a bigger ball?
Hey I got an idea!... pick a bigger ball and you can fit more lasers in it! Imagine a Laser Basketball... or a football... whoa!... let's save those for a future build. The choice to use the mild-mannered tennis ball was not my first choice, I admit. I built several early versions with a dollar-store foam ball, but then it hit me... I want a ball with standards! The tennis ball is so universal that I thought I would be a good metric to gauge not only this Laser Ball but any future generations that it spawned., plus the tennis ball has the right kind of "feel," just ask any juggler or Poi practitioner. And on top of that I like to think of the tennis ball as the "bottle" to my laser "ship"... full steam ahead!
How does everything fit in there?
What goes on in the Laser Ball stays in the Laser Ball... I made a quick and dirty Google sketchup model of the Laser Ball and frankly there's not a lot "free space" in there! Honestly, looking at that picture how not sure how it all fits in there... but it does!
Check out these links for more information on the tennis ball... wait, it's just a a tennis ball... what else is there to know? Find out!
Step 9: Assembly
Show All 28 Items
The assembly process is very straightforward and succinctly demonstrated in the video. The following steps basically walk-through the process shown in the video. I've also included some helpful hints at the bottom of this section which highlight some of the challenging areas.
Step 10: 5-min Laser Ball
Show All 18 Items
Maybe you've got a laser pointer and tennis ball but not all the other goodies, well don't fret, you can still have yourself a Laser ball in a matter of minutes. This is a min-Instructable on how to build a basic Laser Ball from a laser pointer, some AAA batteries, a bit of wire, copper tape, electrical tape, and of course a tennis ball.
Step 11: Photographing lasers
Show All 15 Items
Laser Ball? Check. Point-n-shoot camera? Check. So now what? How do you capture the laser-awesomeness? There are basically two ways I know to photograph laser beams: 1) Use a fog machine or 2) Use a long-exposure setting on your camera and a piece of white paper/card. I think most people have seen long-exposure light painting, which can work just the same with lasers. But the difference with lasers is the question: how do you capture the razor-thin beam of light and not just the flare from the source?
Fog machines are fun...:
You don't need an expensive fog machine to capture a laser beam with a short exposure. The fog machine I used came from grocery store of all places... in the Halloween isle! The fog will create microscopic particles that cause the laser beam to scatter in all directions, some of which find their way into your camera. With fog you can keep the exposure short which is great for capturing video but you'll want to dim the lights in order to pull the beam out of the ambient light background.
Long exposure with a piece of paper:
The idea here is to position a scattering/reflecting surface (a simple piece of white paper works great) in front of the beam and uniformly move it down the length of the beam during a long exposure shot. If we think about it in a discrete-sense, we are imaging little slices of the beam as the card reflects the laser spot. By moving the reflector and keeping the laser beam in a fixed position we assure that the reflector will be blurred (almost ghost-like) and the laser beam will dominate the scene.
It's pretty simple: turn up the exposure to several seconds (this is often labeled as -2 to +2 in terms of f-stops on point-n-shoots) and lower the ISO setting to avoid grainy images. Normally you'd turn up the ISO setting in a dark environment to capture more light but this will create unwanted graininess in the dark regions of your images.
Step 12: Behind the scenes, making of...
So at this point you might be thinking, "wow that Laser Ball is cool but so is this instructable, I wonder what it took to put this together?" So just in case you were wondering what the Instructable process was like, here's a bunch of one-liners in regards to the build and Instructable process.
Check out my blog at www.leonelabs.com
I also just want to thank the open-source, DIY, maker community. Without you guys this wouldn't have been possible.
And a special thanks to Instructables for hosting such an awesome website and service.