Grapper Arduino Robot

Published

Introduction: Grapper Arduino Robot

About: GUYS FOLLOW US AT OUR FB PAGE ..DO LIKE ND SHARE ..OUR YOUTUBE CHANNEL IS S_R TRONICS...WATCH..TRY..INNOVATE..TASTE THE SUCCESS..THANK U..

hello guys...

this is our grapper robo..this robo can pick a small weight object to one place to another place..

its actually works using bluetooth technology communication thats controlled by your any android smartphone app

this app is created by MIT app inventor....

Step 1: Components

Step 2: Circuit Diagram

here is the simple circuit diagram........

bluetooth module

vcc is coonect to +5v

gnd is connect to gnd

rx is connect to tx

tx is connect to rx

servo pin is connect to 9pin of arduino

motordriver l293d have 16pin...

1,8,9,16pin of l293d is connected to +5v

4,5,10 and 11 pin of l293d is connected to gnd

so.. 2pin of l293d is connect to 5pin of arduino

7pin of arduino is connect to 6pin of arduino

9pin of arduino is connect to 7pin of arduino

15pin of arduino is connect to 8pin of arduino

motor1 is connected to 3 and 6pin of l293d

motor2 is connected to 10 and 14 pin of l293d that it....then connect to power supply....

Step 3: Uploading the Code

plz remember that...before uploading code..plz remove to wires tx and rx pin of connection between arduino and bluetooth module..then upload your code...

#include<Servo.h>

#include<Softwareserial.h>

SoftwareSerial BT(10, 11); //TX, RX respetively String readdata;

int servoPin1=9; Servo servo1; int angle=180; void setup() { BT.begin(9600); Serial.begin(9600);

servo1.attach(servoPin1); // Defines Pin 11 for Servo servo1.write(angle); pinMode(5,OUTPUT);

pinMode(6,OUTPUT);

pinMode(7,OUTPUT);

pinMode(8,OUTPUT); pinMode(servoPin1,OUTPUT); } void loop() { while (BT.available()){ //Check if there is an available byte to read delay(10); //Delay added to make thing stable char c = BT.read(); //Conduct a serial read readdata += c; //build the string- "forward", "reverse", "left" and "right" } if (readdata.length() > 0) { Serial.println(readdata);

if(readdata == "Forward") { digitalWrite(5, HIGH); digitalWrite(6, LOW); digitalWrite(7,HIGH); digitalWrite(8,LOW); delay(100); } else if(readdata == "Backward") { digitalWrite(5, LOW); digitalWrite(6, HIGH); digitalWrite(7, LOW); digitalWrite(8,HIGH); delay(100); } else if (readdata == "Left") { digitalWrite (5,HIGH); digitalWrite (6,LOW); digitalWrite (7,LOW); digitalWrite (8,HIGH); delay (100); } else if (readdata == "Right") { digitalWrite (5,LOW); digitalWrite (6,HIGH); digitalWrite (7,HIGH); digitalWrite (8,LOW); delay (100); } else if (readdata == "Stop") { digitalWrite (5,LOW); digitalWrite (6,LOW); digitalWrite (7,LOW); digitalWrite (8,LOW); delay (100); } else if (readdata == "Grap") { servo1.write(90); } else if (readdata == "Drop") { servo1.write(175); } readdata=""; }

}

Step 4: App Connection to Bluetooth

you have to make communication between robo amd smartphone...

just installed the app given below...

and open the app....connect your bluetooth and paired then password by 1234 or 0000

then its will be connected to robo's bluetooth module..

Step 5: How It Works???

HC 05 works on serial communication.here the android app is designed sending serial data to the Bluetooth module when certain button is pressed. The Bluetooth module at other end receive the data and send to ardunio through the TX pin of Bluetooth module(RX pin of arduino).

if(readdata == "Forward")
{ digitalWrite(5, HIGH); digitalWrite(6, LOW); digitalWrite(7,HIGH); digitalWrite(8,LOW); delay(100); }

then robo moves forward..

else if(readdata == "Backward")
{ digitalWrite(5, LOW); digitalWrite(6, HIGH); digitalWrite(7, LOW); digitalWrite(8,HIGH); delay(100); }

this time robo moves backward...

same.....

by changing code robot moves left and right..

and grap a any object and drop it by servo..

Step 6: Result

how to make this project step by step??..

plz visit this link on you tube...and plz subscribe our channel...

https://www.youtube.com/channel/UCcSpCN3nV34zZsdaiVhPTKA/videos?view_as=subscriber

Share

    Recommendations

    • Casting Contest

      Casting Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Make it Move Contest

      Make it Move Contest
    user

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

    Tips

    Questions

    Comments