3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

[Idea] Air Mouse

[Idea] Air Mouse
A simple design (idea) to allow you to move the mouse pointer with hand gestures. This design used a LED and 9 photocells to watch shadow movements cast by your hand, and then convert that to mouse pointer movements on your computer.
 
Remove these adsRemove these ads by Signing Up
 

Step 1The idea

The idea for the "Air Mouse" was to be able to control your computer simply my moving your hand trough the air. Each photocell is arranged in a 3x3 matrix to detect the shadow cast by your hand so the microcontroller can determine in witch direction to move the mouse pointer. A LED raised above the device will help create a sharp contrast between the shadow of your hand and every ware else. The advantage of this design is it doesn't matter what hand you use, you could even use your foot if you really wanted.

If a shadow is detected over the central and bottom center photocell then the mouse will be stationary. A shadow over every cell in the middle vertical column indicates a up movement. Just the bottom center is a down movement. Right center and right bottom is right, all the right hand row is up/right, just bottom right corner is right/down, and all this mirrored for left movement.

It's a fairly simple design, and the device itself wouldn't be hard to create. The challenge would be in the programming, and even that shouldn't be too overly difficult. If you got really creative you could very the speed of the pointer by watching how much shadow is over a particular photocell. If you used an IR led and a photocell capable of detecting IR light you could make a design that won't light up the room and create glare, while not being to influenced by bright lighting.
« Previous StepDownload PDFView All StepsNext Step »
19 comments
Feb 19, 2011. 3:41 AMjam BD says:
You can also try using the webcam with image analyzer outputting to a touchpad driver.
Aug 14, 2008. 12:13 AMMJTH says:
Logitech Have An Air Mouse, That works in the air or on a desk. Check it out its pretty sweet. But I cant imagine the accuracy in air would be too good.

Click Here For The Mouse

Jun 27, 2008. 1:32 PMmikemmcmeans says:
you should hook this up to an arduino
Mar 31, 2008. 1:48 AMRetroPlayer says:
Since optical mice are essentially a low resolution camera with super close focus, why not just use one of those?
I just did a not-so-scientific experiment with mine by putting a spare lens I had under the sensor and propping it up off the desk. When I move my hand under it, it can *sorta* track it. A better lens would be better, I think.

Oh and the movements were reversed (fixed with proper optics?) Hmm...
Jan 30, 2008. 9:34 AMjackever says:
Great idea, but Some commercial presentation controls already use other technologies to do this, perhaps similar to Wii controllers. Also my Intel camera came with software to do similar control for interactive games. I am not sure but I believe it also had direct mouse like control too.
Nov 25, 2007. 6:38 AMSB057 says:
Great idea!
May 13, 2006. 12:45 AMJafafa Hots says:
Wait until Nintendo's Wii comes out - someone's bound to hack it into a mouse.
May 6, 2007. 2:53 PMJames (pseudo-geek) says:
well, its out now. go search for hacks
May 11, 2006. 5:46 PMmikesty says:
My arm would grow tired after a good session of web browsing or CS:S :( Nifty idea but not too practical IMHO.
Dec 7, 2006. 7:34 PMzachninme says:
Eye tracking would be the best, but that would cost sooo much money it isn't funny :P
Sep 20, 2006. 7:40 PMzachninme says:
Somewhere (maybe Make:) there was something on using a webcam and two LED's in ping-pong balls (to diffuse the light) to use as a "controller" for Google Earth.
Jul 30, 2006. 9:49 PMDr. No says:
Use the instructions and software from http://sci-spot.com/Electronic/headmouse.htm to make the headmouse thing, except mount the IR LED on a glove and the camera on the monitor. Tear apart a wireless mouse and hook the buttons up to contacts the fingers of the glove, and then strap the circuit board and batteries to your forearm. You'd get better range, plus the ability to click on things.
May 12, 2006. 2:45 AMandy says:
Why not instead use a cheap webcam? Create a program to run in the background and track the movements of a led at a certain frequency (lessening the impact of interference from other light sources) and use something like a small (marble sized) opaque sphere around said led, allowing for three dimensional tracking for use as the clicker (as it gets smaller the program knows it is further away and vice versa, to click just prod towards the screen). It'd be an idea to have a button on the light to turn it off so that your arm doesn’t get tired as quickly, though. Could be good for games
Jun 2, 2006. 3:45 PMMrCakes14 says:
If you really wanna go nuts, mount a led (maybe ir), make yourself a tracking system, and mount the led on a pair of glasses (or just frames or something, you get the idea). That way it tracks the movement of your head...good excersise! It's not terribly practical, I know, but it's still pretty cool...
May 12, 2006. 11:37 PMnab says:
If you are interested in using LEDs as sensors you should check out this post on hackaday.com that has 3 very good links about this topic. There is also a very neat video.

link: http://www.hackaday.com/entry/1234000873073550/
May 12, 2006. 11:36 PMnab says:
If you are interested in using LEDs as sensors you should check out this post on hackaday.com that has 3 very good links about this topic. There is also a very neat video.

link: http://www.hackaday.com/entry/1234000873073550/
May 12, 2006. 10:28 PMCrash2108 says:
They have things for head tracking for looking around in simulators, I assume it could also work with a hand..
May 11, 2006. 9:26 PMprank says:
So, something that's along these lines (although a lot more work) is to have a set of xyz gyros on your hand to get the acceleration, and then integrate the acceleration twice to get hand position. Just a counter-idea...

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
6
Followers
4
Author:Hungry_Myst