[Idea] Air Mouse




Posted in TechnologyComputers

Introduction: [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.

Step 1: The 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.



    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Microcontroller Contest

      Microcontroller Contest

    We have a be nice policy.
    Please be positive and constructive.




    You can also try using the webcam with image analyzer outputting to a touchpad driver.


    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

    you should hook this up to an arduino

    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...

    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.

    Great idea!

    Wait until Nintendo's Wii comes out - someone's bound to hack it into a mouse.

    1 reply

    My arm would grow tired after a good session of web browsing or CS:S :( Nifty idea but not too practical IMHO.

    2 replies

    You could use your foot :P

    Eye tracking would be the best, but that would cost sooo much money it isn't funny :P

    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.

    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.


    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

    1 reply

    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...

    They have things for head tracking for looking around in simulators, I assume it could also work with a hand..

    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...