Overview

The paper describes the robustness of MEMS-based Gesture Controlled Robot is a kind of robot that can be by hand gestures rather than an ordinary old switch or keypad. In Future, there is a chance of making robots that can interact with humans in a natural manner. Hence our target interest is in hand motion-based gesture interfaces. An innovative Formula for gesture recognition is developed for identifying the distinct action signs made through hand movement. A MEMS Sensor was used to carry out. Noticing the results of experimentation proves that our gesture formula is very competent and it also enhances the natural way of intelligence and also assembled in a simple hardware circuit.

Components required

S.NCOMPONENTSDESCRIPTIONQUANTITY
1ArduinoArduino1Arduino Uno
2MagMagnetic Field Sensor ADXL335 3-Axis Accelerometer Module1ADXL335
3Robot Robot Robot Smart Car Board 
4L298N Motor Driver1  L298n Motor Driver
5connection wiresJumper Wires40Jumper Wires

Block diagram

ADXL335 Accelerometer Module

Introduction

An accelerometer is an electromechanical device that will measure acceleration forces. It shows acceleration, only due to the cause of gravity i.e. g force. It measures acceleration in g unit

On the earth, 1g means an acceleration of 9.8 m/s2 is present. On the moon, it is 1/6th of earth and on mars, it is 1/3rd of earth.

The accelerometer can be used for tilt-sensing applications as well as dynamic acceleration resulting from motion, shock, or vibration.

ADXL335 module

–  The ADXL335 gives a complete 3-axis acceleration measurement.

–  This module measures acceleration within the range ±3 g in the x, y and z-axis.

–  The output signals of this module are analog voltages that are proportional to the acceleration.

–  It contains a polysilicon surface-micro machined sensor and signals conditioning circuitry.

Working Mechanism

  • –  As we can see from the above figure, the basic structure of the accelerometer consists of fixed plates and moving plates (mass).
  • –  Acceleration deflects the moving mass and unbalances the differential capacitor which results in a sensor output voltage amplitude which is proportional to the acceleration.
  • –  Phase-sensitive demodulation techniques are then used to determine the magnitude and direction of the acceleration.

Angle of Rotation

Now let’s find a complete angle of rotation (0° to 360°) around the X, Y, and Z axis, which we can also call as,

  • Roll – Angle of rotation along the X axis
  • Pitch – Angle of rotation along the Y axis
  • Yaw – Angle of rotation along the Z axis

All of them are shown in below conceptual diagram.

Final Code

void setup()

{

  while(1)
  
{

int x = analogRead(A0);
 
 int y = analogRead(A1);
  
Serial.println(x);
  
Serial.println(y);
 
 Serial.println(" ");

  if(y<305)

  {
 
   Serial.println("b");
   
 digitalWrite(2,HIGH);

    digitalWrite(3,LOW);

    digitalWrite(4,HIGH);

    digitalWrite(5,LOW);

    delay(500);

  }
 
 else if(y>400)
  
{

    Serial.println("f");
   
 digitalWrite(2,LOW);

    digitalWrite(3,HIGH);
  
  digitalWrite(4,LOW);

    digitalWrite(5,HIGH);

    delay(500);

  }
  
else if(x<305)
  
{
    
Serial.println("l");

    digitalWrite(2,LOW);
 
   digitalWrite(3,HIGH);

    digitalWrite(4,HIGH);

    digitalWrite(5,LOW);

    delay(500);

  }
  
else if(x>400)
  
{

    Serial.println("r");

    digitalWrite(2,HIGH);

    digitalWrite(3,LOW);
 
   digitalWrite(4,LOW);

    digitalWrite(5,HIGH);

    delay(500);

  }

  else
  
{
  
  digitalWrite(2,LOW);
   
 digitalWrite(3,LOW);
 
   digitalWrite(4,LOW);

    digitalWrite(5,LOW);
  
}
  
delay(1000);

}
 
}

By Devilal

Leave a Reply

Your email address will not be published. Required fields are marked *