Tuesday 3 July 2012

A virtual mouse with IR sensor array

This is an attempt to make an extreme low cost virtual mouse. The user can perform mouse actions by hand gestures. The work is done as part of my B.Tech projects. Here we followed the common way of tracking motion with multiple simple proximity sensors and the ideas from the existing gestural pointing device for gesture recognition.

The device has a sensor array composed of Infrared LEDs (IR133-A) and Photo-transistors (PT333-3C) interfaced with an Arduino board. When each LEDs are illuminated, the reflected infrared radiations are measured using these photo-transistors which gives voltage levels indicating spatial orientation of finger tips. These voltage levels are used for finding approximate distance from a sensor to finger tip in front of it. So an array of distances is calculated each time. We have a USB Driver running on PC that queries the device, 50 times in a second, fetching these informations. A simple  pattern recognition algorithm detects current mouse gestures. The movement of hand is estimated analyzing consecutively fetched distance arrays.
Two consecutively fetched distance arrays indicating a hand movement

2 comments:

  1. Dude simple pattern Recognition Algorithm?
    Pls share that too,
    Its my curiosity

    ReplyDelete
  2. "Curiosity killed the cat......."

    ReplyDelete