Introduction: Skype Robot

Hello everyone

This is my first instructable in which i am going to show you how to make skype robot We can control this robot from any corner of the world

Step 1: Requirements

Step 2:

->Using pvc pipes make some structure according to you and attach motors and wheels to it

->This is the model that i have made use this as reference, instead of using pvc pipes, motors and wheels you can also use any chassis with motors and wheels (http://www.amazon.in/Robomart-Wheel-Robotic-Platform-Drive/dp/B00RL9NNDY/ref=pd_rhf_dp_p_img_10?ie=UTF8&refRID=1813K5KFBREMBQVGEGJT)

Step 3: Code

-> Using arduino compiler upload the following code into arduino

// Skype robot code
// written by vineethvarma.inventions // visit www.vineethvarma.com

void setup()

{

pinMode(2,INPUT); // connect dtmf module pins d1,d2,d3,d4 to 2,3,4,5 pins in arduino

pinMode(3,INPUT);

pinMode(4,INPUT);

pinMode(5,INPUT);

pinMode(7,OUTPUT);// connect 7,8 pins to motor1 in motor driver

pinMode(8,OUTPUT);

pinMode(9,OUTPUT); // connect 9,10 pins to motor2 in motor driver

pinMode(10,OUTPUT); }

void loop()

{

int d1,d2,d3,d4;

d1=digitalRead(2);

d2=digitalRead(3);

d3=digitalRead(4);

d4=digitalRead(5);

if(d1==0&&d2==0&&d3==1&&d4==0) // if 2 is pressed robo moves forward

{

digitalWrite(7,1);

digitalWrite(8,0);

digitalWrite(9,1);

digitalWrite(10,0);

}

else if(d1==0&&d2==1&&d3==0&&d4==0) // if 4 is pressed robo turns left

{

digitalWrite(7,1);

digitalWrite(8,0);

digitalWrite(9,0);

digitalWrite(10,1);

}

else if(d1==0&&d2==1&&d3==1&&d4==0) // if 6 is pressed robo turns right

{

digitalWrite(7,0);

digitalWrite(8,1);

digitalWrite(9,1);

digitalWrite(10,0);

}

else if(d1==1&&d2==0&&d3==0&&d4==0) // if 8 is pressed robo moves backward

{

digitalWrite(7,0);

digitalWrite(8,1);

digitalWrite(9,0);

digitalWrite(10,1);

}

else if(d1==0&&d2==1&&d3==0&&d4==1) // if 5 is pressed robo stops

{ digitalWrite(7,0);

digitalWrite(8,0);

digitalWrite(9,0);

digitalWrite(10,0);

}

}

Step 4: ​Connections

-> As shown in the diagram connect the motor1, motor3 in parallel and motor2, motor4 in parallel

-> Again connect common terminals of motor1, motor3 to the M1 on motor driver //similarly, motor2, motor4 to M2.

-> Connections are shown in diagram connect according to it

->Connect audio jack to the cellphone and set autocall lift in mobile.

Step 5: Finally,

->Now the robot is ready to run

->Make a call from PC using skype and open dailpad in it.

->Control the robo using number

2 = forward

8 = backward

4 = turn left

6 = turn right

5 = stop

Comments

author
jsrashif.rashif (author)2015-10-12

can you explain how you connected smart phone to it

author

I connected smartphone to dtmf module with the help of audio jack

author
Roshan the innovator (author)2015-06-08

coooool.......!